Searched defs:siz (Results 1 - 25 of 26) sorted by relevance

12

/osnet-11/usr/src/lib/libast/common/path/
H A Dpathnative.c27 * 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 Dpathposix.c27 * 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 Dpathgetlink.c42 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/string/
H A Dstrlook.c31 * 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 Dstrpsearch.c41 * 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 Dstrsearch.c33 * 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 Dstropt.c32 * 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/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.c189 size_t siz = ulPartLen < bufp->buf_len ? local
193 bufp->buf = realloc(bufp->buf, siz);
199 bufp->buf_len = siz;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dpair.c221 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/libpp/common/
H A Dppsearch.c182 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/libresolv2/common/resolv/
H A Dres_query.c403 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 Dres_debug.c950 u_int8_t siz = 0x12; /*%< default = 1e2 cm = 1.00m */ local
1009 siz = precsize_aton(&cp);
1037 *bcp++ = siz;
/osnet-11/usr/src/lib/libeti/form/common/
H A Dchg_data.c183 int siz = nstr + 1 + pad; local
186 if (n >= siz) { /* check for fit on this line */
200 v = _data_beg(vbeg + Xmax(f) - siz, siz);
/osnet-11/usr/src/lib/libsum/common/
H A Dsumlib.c308 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/libresolv2/common/nameser/
H A Dns_print.c575 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/lib/libast/common/port/
H A Dlc.c266 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 Dastlicense.c92 #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/libcmd/common/
H A Dpr.c140 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)))
H A Dls.c912 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...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmime.c726 * 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 Dmagic.c282 * 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)
H A Doptget.c794 search(const void* tab, size_t num, size_t siz, char* s) argument
799 for (e = (p = (char*)tab) + num * siz; p < e; p += siz)
/osnet-11/usr/src/lib/libast/common/comp/
H A Dsetlocale.c103 native_locale(const char* locale, char* buf, size_t siz) argument
146 sfsprintf(buf, siz, "%s_%s.%s", lbuf, cbuf, lc->charset->ms);
148 sfsprintf(buf, siz, "%s_%s", lbuf, cbuf);
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregnexec.c144 #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/lib/libshell/common/sh/
H A Dname.c54 pathnative(const char* path, char* buf, size_t siz) argument
56 return uwin_path(path, buf, siz);

Completed in 459 milliseconds

12