/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strsearch.c | 33 * size siz where the first member of each 40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) argument 43 register char* hi = lo + (num - 1) * siz; 49 mid = lo + (((hi - lo) / siz) / 2) * siz; 53 lo = mid + siz; 54 else hi = mid - siz;
|
H A D | strlook.c | 31 * return pointer to name in tab with element size siz 40 strlook(const void* tab, size_t siz, register const char* name) argument 46 for (; s = *((char**)t); t += siz)
|
H A D | strpsearch.c | 41 * size siz where the first member of each 53 strpsearch(const void* tab, size_t num, size_t siz, const char* name, char** next) argument 56 register char* hi = lo + (num - 1) * siz; 73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz); 99 while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1)))); 120 lo = mid + siz; 122 hi = mid - siz;
|
H A D | stropt.c | 32 * parse option expression in s using options in tab with element size siz 56 stropt(const char* as, const void* tab, int siz, int(*f)(void*, const void*, int, const char*), void* a) argument 91 for (p = (char**)tab; t = *p; p = (char**)((char*)p + siz))
|
/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathnative.c | 27 * convert path to native fs representation in <buf,siz> 29 * if return length >= siz then buf is indeterminate, but another call 30 * with siz=length+1 would work 41 pathnative(const char* path, char* buf, size_t siz) argument 43 return uwin_path(path, buf, siz); 53 pathnative(const char* path, char* buf, size_t siz) argument 57 if (!buf || siz < PATH_MAX) 62 if ((n = strlen(tmp)) < siz && buf) 75 pathnative(const char* path, char* buf, size_t siz) argument 80 if (!_fullpath(buf, path, siz)) 98 pathnative(const char* path, char* buf, size_t siz) argument 111 pathnative(const char* path, char* buf, size_t siz) argument [all...] |
H A D | pathposix.c | 27 * convert native path to posix fs representation in <buf,siz> 29 * if return length >= siz then buf is indeterminate, but another call 30 * with siz=length+1 would work 41 pathposix(const char* path, char* buf, size_t siz) argument 43 return uwin_unpath(path, buf, siz); 53 pathposix(const char* path, char* buf, size_t siz) argument 57 if (!buf || siz < PATH_MAX) 62 if ((n = strlen(tmp)) < siz && buf) 75 pathposix(const char* path, char* buf, size_t siz) argument 80 if (!_posixpath(buf, path, siz)) 98 pathposix(const char* path, char *buf, size_t siz) argument 113 pathposix(const char* path, char* buf, size_t siz) argument [all...] |
H A D | pathgetlink.c | 42 pathgetlink(const char* name, char* buf, int siz) argument 46 if ((n = readlink(name, buf, siz)) < 0) return(-1); 47 if (n >= siz)
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | readlink.c | 41 readlink(const char* path, char* buf, int siz) 46 if (siz > sizeof(FAKELINK_MAGIC)) 50 if (read(fd, buf, sizeof(FAKELINK_MAGIC)) == sizeof(FAKELINK_MAGIC) && !strcmp(buf, FAKELINK_MAGIC) && (n = read(fd, buf, siz)) > 0 && !buf[n - 1])
|
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfstrtmp.c | 48 sfstrtmp(register Sfio_t* f, int mode, void* buf, size_t siz) 57 f->_endw = f->_endr = f->_endb = f->_data + siz; 58 f->_size = siz;
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 189 size_t siz = ulPartLen < bufp->buf_len ? local 193 bufp->buf = realloc(bufp->buf, siz); 199 bufp->buf_len = siz;
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_print.c | 575 unsigned int siz; local 585 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ 586 if (siz > sizeof(base64_cert) * 3/4) { 591 len = b64_ntop(rdata, edata-rdata, base64_cert, siz); 872 unsigned int siz; local 876 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ 877 if (siz > sizeof(base64_dhcid) * 3/4) { 881 len = b64_ntop(rdata, edata-rdata, base64_dhcid, siz); 907 unsigned int siz; local 967 siz 999 unsigned int siz; local [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/ |
H A D | pair.c | 221 seepair(char *pag, register int n, register char *key, register int siz) argument 228 if (siz == off - ino[i] && 229 memEQ(key, pag + ino[i], siz))
|
/osnet-11/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 308 sumblock(Sum_t* p, const void* buf, size_t siz) argument 310 p->size += siz; 311 return (*p->method->block)(p, buf, siz);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | ls.c | 912 static unsigned short* siz; local 921 if (!(siz = newof(siz, unsigned short, sizsiz, 0))) 959 siz[k] = 0; 961 if (siz[k] < x[r]->namelen) 962 siz[k] = x[r]->namelen; 963 siz[k] += a + BETWEEN; 968 pr(lp, x[w], l < (k - 1) && w < (i - 1) ? siz[l] : 0); 1007 siz[k] = 0; 1009 if (siz[ [all...] |
H A D | pr.c | 140 size_t siz; member in struct:_pr_::__anon1498 556 if (n > pp->control.siz) 558 pp->control.siz = roundof(n, 1024); 559 if (!(pp->control.buf = newof(pp->control.buf, char, pp->control.siz, 0))) 606 if (n > pp->control.siz) 608 pp->control.siz = roundof(n, 1024); 609 if (!(pp->control.buf = newof(pp->control.buf, char, pp->control.siz, 0)))
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_query.c | 403 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { argument 430 strncpy(dst, cp1, siz - 1); 431 dst[siz - 1] = '\0';
|
H A D | res_debug.c | 950 u_int8_t siz = 0x12; /*%< default = 1e2 cm = 1.00m */ local 1009 siz = precsize_aton(&cp); 1037 *bcp++ = siz;
|
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | lc.c | 266 canonical(const Lc_language_t* lp, const Lc_territory_t* tp, const Lc_charset_t* cp, const Lc_attribute_list_t* ap, unsigned long flags, char* buf, size_t siz) argument 279 e = &buf[siz - 3]; 384 lccanon(Lc_t* lc, unsigned long flags, char* buf, size_t siz) argument 400 return sfsprintf(buf, siz, "%s_%s", lang, ctry); 402 return sfsprintf(buf, siz, "%s_%s.%s", lang, ctry, code); 404 return sfsprintf(buf, siz, "%s_%s.%s,%s", lang, ctry, code, lc->charset->ms); 411 return canonical(lc->language, lc->territory, lc->charset, lc->attributes, flags, buf, siz);
|
H A D | astlicense.c | 92 #define USE(b) ((b)->siz=(b)->nxt-(b)->buf,(b)->nxt=(b)->buf,(b)->siz) 105 int siz; member in struct:Buffer_s
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | mime.c | 726 * parse mime headers in strsearch(tab,num,siz) from s 731 mimehead(Mime_t* mp, void* tab, size_t num, size_t siz, register char* s) argument 744 if ((p = strsearch(tab, num, siz, (Strcmp_f)mimecmp, s, &e)) && *e == ':') 753 (p = strsearch(tab, num, siz, (Strcmp_f)mimecmp, pp.name.data, &e)) &&
|
H A D | magic.c | 282 * return pointer to data at offset off and size siz 286 getdata(register Magic_t* mp, register long off, register int siz) argument 292 if (off + siz <= mp->fbsz) 294 if (off < mp->xoff || off + siz > mp->xoff + mp->xbsz) 296 if (off + siz > mp->fbmx) 309 if (off + siz > mp->xoff + mp->xbsz)
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppsearch.c | 182 unsigned long siz; local 273 siz = strtol(s + VDB_SIZE, NiL, 10); 276 if (!(s = sfreserve(sp, siz + 1, 0))) 278 s[siz] = 0;
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | reglib.h | 307 int siz; /* element size */ member in struct:Vector_s
|
H A D | regnexec.c | 144 #define vector(t,v,i) (((i)<(v)->max)?(t*)((v)->vec+(i)*(v)->siz):(t*)vecseek(&(v),i)) 147 vecopen(int inc, int siz) argument 156 if (!(v = (Vector_t*)stkseek(sp, sizeof(Vector_t) + inc * siz))) 164 v->siz = siz; 177 if (!(v = (Vector_t*)stkseek(v->stk, sizeof(Vector_t) + v->max * v->siz))) 182 return v->vec + index * v->siz;
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | util.c | 1267 ** siz -- size of buf. 1280 sfgets(buf, siz, fp, timeout, during) 1282 int siz; 1291 SM_REQUIRE(siz > 0); 1310 p = sm_io_fgets(fp, io_timeout, buf, siz);
|