/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | avltree.c | 135 tree_node_t *n1 = (tree_node_t *)p1; 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 71 n1 = sfvalue(in1); 76 n=(n1<n2?n1:n2); 77 if((comp=memcmp(cp1,cp2,n-1))==0 && (comp=n1-n2)==0) 91 n1 = sfvalue(in1); 109 if((mode&C_FILE1) && sfwrite(out,cp1,n1) < 0) 112 n1 = sfvalue(in1); 120 n1 = n2; 138 if(sfwrite(out,cp1,n1) < [all...] |
H A D | cmp.c | 159 int n1 = 0; local 167 if (count > 0 && !(count -= n1)) 190 n1 = c1;
|
H A D | join.c | 644 register int n1; local 655 n1 = jp->file[0].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 [all...] |
/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; 104 return sqliteStrNICmp((const char*)pKey1,(const char*)pKey2,n1); 118 static int binCompare(const void *pKey1, int n1, const void *pKey2, int n2){ argument 119 if( n1!=n2 ) return n2-n1; [all...] |
H A D | insert.c | 806 int j, n1, n2; local 809 n1 = strlen(zErrMsg); 810 for(j=0; j<pIdx->nColumn && n1<sizeof(zErrMsg)-30; j++){ 814 strcpy(&zErrMsg[n1], ", "); 815 n1 += 2; 817 if( n1+n2>sizeof(zErrMsg)-30 ){ 818 strcpy(&zErrMsg[n1], "..."); 819 n1 += 3; 822 strcpy(&zErrMsg[n1], zCol); 823 n1 [all...] |
H A D | test3.c | 885 int n1, n2; local 894 sqliteBtreeKeySize(pCur, &n1); 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 175 n1 = 0; 179 s[i] = t2[(t3[(t1[(str[i]+n1)&MASK]+n2)&MASK]-n2)&MASK]-n1; 181 n1++; 182 if (n1 == ROTORSIZE) { 183 n1 = 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)); 57 len1 = n1->length; 67 p = n1; 68 n1 = n2; 73 if (memcmp (n1->data, n2->data, len1)) { 75 (int) n1->length, n1->data, (int) n2->length, n2->data)); 85 p1 = n1 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) 201 long n1; 213 if (n1) 214 bufp = trstrcpy(bufp, tritoa(n1, 1), ':');
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 291 static long n1; local 737 n1 = s - mac->formals; 740 formargs[n] += n1; 741 formvals[n] += n1; 826 n1 = s - mac->formals; 828 formargs[n] += n1; 872 n1 = 0; 909 *p++ = (n1 || var.type == TOK_TOKCAT) ? 'C' : 'A'; 1026 n1++; 1031 if (n1) n [all...] |
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SLPFindAttrs.c | 440 static int compare_tags(const void *n1, const void *n2) { argument 442 ((struct attr_node *)n1)->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) 523 for (int i = 0; i < n1->an_count; i++) { 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 | 584 const char *n1 = di1->dif_name; local 590 if (n1 == NULL) 591 n1 = ""; 596 if ((n1 = strrchr(n1, '/')) == NULL) 598 n1 += (n1[1] != 'c') ? 2 : 1; 599 cl = strlen(n1); 600 if ((sscanf(n1, "c%ut%ud%us%u%n", &c1, &t1, &d1, &s1, &l) != 4 && 601 sscanf(n1, " [all...] |
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 93 u_int32_t n1, rttl; local 215 n1 = ntohl(ina.s_addr); 217 PUTLONG(n1, cp); 341 n1 = ntohl(ina.s_addr); 343 PUTLONG(n1, cp);
|
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_subr.c | 74 * "Name 'n1' is a $result than name 'n2'" 78 nis_name n1, 84 if ((n1 == NULL) || (n2 == NULL)) 87 l1 = strlen(n1); 94 if (l1 != 0 && n1[l1 - 1] == '.') { 105 } else /* (l1 < l2); swap l1/l2 and n1/n2 */ { 108 ntmp = n1; n1 = n2; n2 = ntmp; 120 n1 += l1 - l2; 121 if (n1[ 77 nis_dir_cmp( nis_name n1, nis_name n2) argument [all...] |
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | quotearg.c | 734 /* FIXME: technically, the type of n1 should be `unsigned int', 739 size_t n1 = n0 + 1; local 742 if (xalloc_oversized (n1, sizeof *sv)) 745 slotvec = sv = xrealloc (preallocated ? NULL : sv, n1 * sizeof *sv); 748 memset (sv + nslots, 0, (n1 - nslots) * sizeof *sv); 749 nslots = n1;
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_ident.c | 55 char n1[DT_TYPE_NAMELEN]; local 91 dt_node_type_name(&isp->dis_args[i], n1, 92 sizeof (n1)), 319 char n1[DT_TYPE_NAMELEN]; local 332 dt_type_name(ap->dn_ctfp, ap->dn_type, n1, sizeof (n1))); 344 dtrace_desc2str(yypcb->pcb_pdesc, n1, sizeof (n1))); 350 n1, sizeof (n1)), id [all...] |
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 387 nd_merge_strarray(nd_hdl_t *nhdl, char **arr1, uint_t n1, char **arr2, argument 393 tmparr = alloca((n1 + n2) * sizeof (char *)); 394 bzero(tmparr, (n1 + n2) * sizeof (char *)); 396 while (++uniq < n1)
|
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | util.c | 746 int i, n1, n2; local 750 n1 = pt_delta_str_helper(s1, s1_vals, entries); 751 if (n1 == 0) 754 if (n1 != n2 || n1 != entries)
|
/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 207 *n1 = 0; 217 *n1 = 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)) 208 l1 = strlen(n1); 212 if (l1 != 0 && n1[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 699 e1 = n1;
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 89 libdiskmgt_inuse_cache_compare(const void *n1, const void *n2) argument 91 const dev_sym_t *ds1 = n1;
|
/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 2304 (void) strlcpy(name, n1, sizeof (name)); 2314 idmap_trace_get_int(nvlist_t *entry, char *n1, char *n2, int64_t *ret) argument 2319 (void) strlcpy(name, n1, sizeof (name));
|