/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | avltree.c | 136 tree_node_t *n2 = (tree_node_t *)p2; local 139 if (n1->node_dev < n2->node_dev) { 141 } else if (n1->node_dev == n2->node_dev) { 143 if (n1->node_ino < n2->node_ino) { 145 } else if (n1->node_ino == n2->node_ino) {
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | comm.c | 69 register int n1, n2, n, comp; local 73 n2 = sfvalue(in2); 76 n=(n1<n2?n1:n2); 77 if((comp=memcmp(cp1,cp2,n-1))==0 && (comp=n1-n2)==0) 93 n2 = sfvalue(in2); 101 if(sfwrite(out,cp2,n2) < 0) 105 n2 = sfvalue(in2); 120 n1 = n2;
|
H A D | join.c | 645 register int n2; local 656 n2 = jp->file[1].fieldlen; 660 n = n1 < n2 ? n1 : n2; 662 if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n))) 663 cmp = n1 - n2; 667 if (!n && !(cmp = n1 < n2 ? -1 : (n1 > n2)) || n && !(cmp = (int)*cp1 - (int)*cp2) && !(cmp = jp->ignorecase ? strncasecmp((char*)cp1, (char*)cp2, n) : memcmp(cp1, cp2, n)) && !(cmp = n1 - n2)) [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | select_large_fdset.c | 377 int n2; local 379 n2 = *num * 2; 380 nta = n2 * sizeof (struct pollfd); 389 *num = n2;
|
/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | hash.c | 77 static int intCompare(const void *pKey1, int n1, const void *pKey2, int n2){ argument 78 return n2 - n1; 89 static int ptrCompare(const void *pKey1, int n1, const void *pKey2, int n2){ 102 static int strCompare(const void *pKey1, int n1, const void *pKey2, int n2){ argument 103 if( n1!=n2 ) return n2-n1; 118 static int binCompare(const void *pKey1, int n1, const void *pKey2, int n2){ argument 119 if( n1!=n2 ) return n2-n1;
|
H A D | insert.c | 806 int j, n1, n2; local 812 n2 = strlen(zCol); 817 if( n1+n2>sizeof(zErrMsg)-30 ){ 823 n1 += n2;
|
H A D | test3.c | 885 int n1, n2; local 895 sqliteBtreeDataSize(pCur, &n2); 896 sprintf(zBuf, "%d", n1+n2);
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_crypt.c | 169 int i, n1, n2; local 176 n2 = 0; 179 s[i] = t2[(t3[(t1[(str[i]+n1)&MASK]+n2)&MASK]-n2)&MASK]-n1; 184 n2++; 185 if (n2 == ROTORSIZE) n2 = 0;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | chk_trans.c | 50 const krb5_data *n1, const krb5_data *n2) { 55 (int) n1->length, n1->data, (int) n2->length, n2->data)); 58 len2 = n2->length; 68 n1 = n2; 69 n2 = p; 73 if (memcmp (n1->data, n2->data, len1)) { 75 (int) n1->length, n1->data, (int) n2->length, n2->data)); 86 p2 = n2 49 process_intermediates(krb5_error_code (fn)krb5_data *, void *), void *data, const krb5_data *n1, const krb5_data *n2) argument [all...] |
/osnet-11/usr/src/lib/libast/common/vmalloc/ |
H A D | vmtrace.c | 197 void _vmmessage(const char* s1, long n1, const char* s2, long n2) argument 199 void _vmmessage(s1, n1, s2, n2) 203 long n2; 219 if (n2) 220 bufp = trstrcpy(bufp, tritoa(n2, 0), ':');
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 292 static long n2; local 641 n2 = error_info.line; 1295 if (pp.macref) (*pp.macref)(sym, error_info.file, n2, mac ? error_info.line - n2 + 1 : REF_UNDEF, mac ? strsum(mac->value, (long)mac->arity) : 0L); 1408 n2 = error_info.line; 2193 n2 = error_info.line;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SLPFindAttrs.c | 440 static int compare_tags(const void *n1, const void *n2) { argument 443 ((struct attr_node *)n2)->tag);
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_name.c | 509 adr_name_cmp(const adr_name_t *n1, const adr_name_t *n2) argument 513 res = strcmp(n1->an_domain, n2->an_domain); 517 if (n1->an_count < n2->an_count) 519 if (n1->an_count > n2->an_count) 524 res = strcmp(n1->an_skeys[i], n2->an_skeys[i]); 527 res = strcmp(n1->an_svalues[i], n2->an_svalues[i]);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mh.c | 585 const char *n2 = di2->dif_name; local 592 if (n2 == NULL) 593 n2 = ""; 606 if ((n2 = strrchr(n2, '/')) == NULL) 608 n2 += (n2[1] != 'c') ? 2 : 1; 609 cl = strlen(n2); 610 if ((sscanf(n2, "c%ut%ud%us%u%n", &c2, &t2, &d2, &s2, &l) != 4 && 611 sscanf(n2, " [all...] |
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_subr.c | 74 * "Name 'n1' is a $result than name 'n2'" 79 nis_name n2) /* See if these are the same domain */ 84 if ((n1 == NULL) || (n2 == NULL)) 88 l2 = strlen(n2); 97 if (l2 != 0 && n2[l2 - 1] == '.') { 105 } else /* (l1 < l2); swap l1/l2 and n1/n2 */ { 108 ntmp = n1; n1 = n2; n2 = ntmp; 116 /* Special case for n2 == "." or "" */ 125 if (strncasecmp(n1, n2, l 77 nis_dir_cmp( nis_name n1, nis_name n2) argument [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_ident.c | 56 char n2[DT_TYPE_NAMELEN]; local 94 dt_node_type_name(args, n2, sizeof (n2))); 320 char n2[DT_TYPE_NAMELEN]; local 418 dt_node_type_name(xnp, n2, sizeof (n2)));
|
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 388 uint_t n2, char ***buf) 393 tmparr = alloca((n1 + n2) * sizeof (char *)); 394 bzero(tmparr, (n1 + n2) * sizeof (char *)); 399 for (int j = 0; j < n2; j++) 387 nd_merge_strarray(nd_hdl_t *nhdl, char **arr1, uint_t n1, char **arr2, uint_t n2, char ***buf) argument
|
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | util.c | 746 int i, n1, n2; local 753 n2 = pt_delta_str_helper(s2, s2_vals, entries); 754 if (n1 != n2 || n1 != entries)
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | vfprintf.c | 183 register int n, m, n2; /* handy integers (short term usage) */ local 273 n2 = 0; \ 277 n2 = 10 * n2 + to_digit(*cp); \ 288 nextarg = n2; \ 836 register int n, n2; /* handy integer (short term usage) */ local 862 n2 = 0; \ 866 n2 = 10 * n2 + to_digit(*cp); \ 872 nextarg = n2; \ [all...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | glob.c | 201 trim(register char* sp, register char* p1, int* n1, register char* p2, int* n2) argument 209 *n2 = 0; 222 *n2 = sp - dp - 1;
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getnetgrent.c | 193 * n1: See if n1 is n2 or an ancestor of it 194 * n2: (in string terms, n1 is a suffix of n2) 198 domcmp(const char *n1, const char *n2) argument 205 if ((n1 == NULL) || (n2 == NULL)) 209 l2 = strlen(n2); 215 if (l2 != 0 && n2[l2 - 1] == '.') { 225 if (l1 < l2 && n2[l2 - l1 - 1] != '.') { 228 if (strncasecmp(n1, &n2[l2 - l1], l1) == 0) {
|
H A D | ldap_common.c | 694 ces_key_compare(const void *n1, const void *n2) argument 700 e2 = n2;
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 89 libdiskmgt_inuse_cache_compare(const void *n1, const void *n2) argument 92 const dev_sym_t *ds2 = n2;
|
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 2299 idmap_trace_get_str(nvlist_t *entry, char *n1, char *n2, char **ret) argument 2305 if (n2 != NULL) 2306 (void) strlcat(name, n2, sizeof (name)); 2314 idmap_trace_get_int(nvlist_t *entry, char *n1, char *n2, int64_t *ret) argument 2320 if (n2 != NULL) 2321 (void) strlcat(name, n2, sizeof (name));
|
/osnet-11/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 175 dirlist_t *n1, *n2; local 182 n2 = n1->dl_next; 186 n1 = n2; 296 dirlist_t *n1, *n2; local 348 n2 = ctrl->activeList; 350 if (strcmp(n1->dl_dirname, n2->dl_dirname) != 0) { 355 n2->dl_dirname)); 360 n2 = n2->dl_next; 361 } while ((n1 != listhead) && (n2 ! [all...] |