Searched refs:size_t (Results 1 - 25 of 598) sorted by relevance

1234567891011>>

/ast/src/lib/libast/stdio/
H A Dfread.c26 size_t
27 fread(void* p, size_t s, size_t n, Sfio_t* f)
31 STDIO_INT(f, "fread", ssize_t, (void*, size_t, size_t, Sfio_t*), (p, s, n, f))
H A Dfwrite.c26 size_t
27 fwrite(const void* p, size_t s, size_t n, Sfio_t* f)
31 STDIO_INT(f, "fwrite", ssize_t, (const void*, size_t, size_t, Sfio_t*), (p, s, n, f))
H A D_stdvbuf.c29 _stdsetvbuf(Sfio_t* f, char* buf, int type, size_t size)
H A Dfmemopen.c27 fmemopen(void* buf, size_t size, const char* mode)
29 STDIO_PTR(0, "fmemopen", Sfio_t*, (void*, size_t, const char*), (buf, size, mode))
H A Dgetline.c31 getline(char** sp, size_t* np, Sfio_t* f)
33 STDIO_INT(f, "getline", ssize_t, (char**, size_t*, Sfio_t*), (sp, np, f))
H A Dfdopen.c33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
/ast/src/cmd/dsslib/ip_t/
H A Ditl.h38 extern ssize_t itl1external(Cx_t*, Cxtype_t*, int, int, int, const char*, Cxformat_t**, Cxvalue_t*, char*, size_t, Cxdisc_t*);
39 extern ssize_t itl2external(Cx_t*, Cxtype_t*, int, int, int, const char*, Cxformat_t**, Cxvalue_t*, char*, size_t, Cxdisc_t*);
40 extern ssize_t itl4external(Cx_t*, Cxtype_t*, int, int, int, const char*, Cxformat_t**, Cxvalue_t*, char*, size_t, Cxdisc_t*);
42 extern ssize_t itl1internal(Cx_t*, Cxvalue_t*, int, int, int, const char*, size_t, Vmalloc_t*, Cxdisc_t*);
43 extern ssize_t itl2internal(Cx_t*, Cxvalue_t*, int, int, int, const char*, size_t, Vmalloc_t*, Cxdisc_t*);
44 extern ssize_t itl4internal(Cx_t*, Cxvalue_t*, int, int, int, const char*, size_t, Vmalloc_t*, Cxdisc_t*);
H A Divlib.h30 extern void* malloc _ARG_((size_t));
31 extern void* calloc _ARG_((size_t, size_t));
47 #define OFFSET(t,e) ((size_t)(&(((t*)0)->e)) )
/ast/src/lib/libast/path/
H A Dpathnative.c40 size_t
41 pathnative(const char* path, char* buf, size_t siz)
52 size_t
53 pathnative(const char* path, char* buf, size_t siz)
55 size_t n;
74 size_t
75 pathnative(const char* path, char* buf, size_t siz)
78 size_t n;
97 size_t
98 pathnative(const char* path, char* buf, size_t si
[all...]
H A Dpathposix.c40 size_t
41 pathposix(const char* path, char* buf, size_t siz)
52 size_t
53 pathposix(const char* path, char* buf, size_t siz)
55 size_t n;
74 size_t
75 pathposix(const char* path, char* buf, size_t siz)
78 size_t n;
97 size_t
98 pathposix(const char* path, char *buf, size_t si
[all...]
/ast/src/lib/libast/comp/
H A Dmemcpy.c36 extern void bcopy(void*, void*, size_t);
39 memcpy(void* s1, void* s2, size_t n)
48 memcpy(void* as1, const void* as2, register size_t n)
H A Dwc.c35 size_t
36 mbtowc(wchar_t* t, const char* s, size_t n)
46 size_t
47 mbrtowc(wchar_t* t, const char* s, size_t n, mbstate_t* q)
64 size_t
65 mbstowcs(wchar_t* t, const char* s, size_t n)
92 size_t
110 size_t
123 size_t
124 wcstombs(char* t, register const wchar_t* s, size_t
[all...]
/ast/src/lib/libast/include/
H A Dast.h257 extern ssize_t base64encode(const void*, size_t, void**, void*, size_t, void**);
258 extern ssize_t base64decode(const void*, size_t, void**, void*, size_t, void**);
262 extern char* conformance(const char*, size_t);
266 extern char* fmtbuf(size_t);
279 extern char* fmtnesq(const char*, const char*, size_t);
282 extern char* fmtquote(const char*, const char*, const char*, size_t, int);
289 extern void* memdup(const void*, size_t);
294 extern char* pathaccess_20100601(const char*, const char*, const char*, int, char*, size_t);
[all...]
H A Dregex.h137 typedef void* (*regcomp_t)(const regex_t*, const char*, size_t, regdisc_t*);
138 typedef int (*regexec_t)(const regex_t*, void*, const char*, size_t, const char*, size_t, char**, regdisc_t*);
139 typedef void* (*regresize_t)(void*, void*, size_t);
140 typedef int (*regrecord_t)(void*, const char*, size_t);
158 size_t re_len; /* re_buf length */
189 size_t re_nsub; /* number of subexpressions */
191 size_t re_npat; /* number of pattern chars used */
203 extern size_t regerror(int, const regex_t*, char*, size_t);
[all...]
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
49 size_t s_busy; /* total amount of busy space */
50 size_t s_free; /* total amount of free space */
51 size_t m_busy; /* largest busy piece */
52 size_t m_free; /* largest free piece */
54 size_t extent; /* total size of region */
65 size_t round; /* rounding requirement */
66 size_t size; /* actual size of discipline */
70 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t,in
[all...]
/ast/src/lib/libast/misc/
H A Dcmdlib.h33 size_t args; /* total args */ \
34 size_t commands; /* total commands */ \
/ast/src/lib/libcodex/
H A Dcodexid.c32 codexid(const void* head, size_t headsize, char* name, size_t namesize)
/ast/src/cmd/3d/
H A Dast.c109 extern void* calloc(size_t, size_t);
111 extern void* malloc(size_t);
112 extern void* realloc(void*, size_t);
115 extern void* _ast_calloc(size_t n, size_t m) { return calloc(n, m); }
117 extern void* _ast_malloc(size_t n) { return malloc(n); }
118 extern void* _ast_realloc(void* p, size_t n) { return realloc(p, n); }
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwhdr.h64 extern int vcwngfreq _ARG_((size_t*, Vcchar_t*, size_t));
65 extern double vcwngmatch _ARG_((int*,size_t*,size_t,Vcchar_t*,size_t,size_t,double));
66 extern Grint_t vcwngsig _ARG_((Vcchar_t*, size_t));
70 extern int vcwfsearch _ARG_((Vcwfile_t*, Vcchar_t*, size_t));
/ast/src/cmd/pzip/
H A Dpcmp.c47 static size_t
48 zip(unsigned char* f, size_t fsize, unsigned char* t, size_t tsize)
62 static size_t
63 dif(unsigned char* f, size_t fsize, unsigned char* t, size_t tsize, size_t cols)
67 size_t n;
68 size_t i;
109 size_t col
[all...]
/ast/src/lib/libast/string/
H A Dstrlcat.c52 extern size_t
53 strlcat(register char* s, register const char* t, register size_t n)
55 register size_t m;
H A Dstrncopy.c33 strncopy(register char* t, register const char* f, size_t n)
/ast/src/lib/libast/regex/
H A Dregalloc.c31 regalloc(void* handle, void*(*resize)(void*,void*,size_t), regflags_t flags)
/ast/src/lib/libast/tm/
H A Dtmfmt.c38 tmfmt(char* buf, size_t len, const char* format, time_t* clock)
/ast/src/lib/libast/vmalloc/
H A Dvmdcheap.c36 size_t csize, size_t nsize,
42 size_t csize; /* current size */
43 size_t nsize; /* new size */

Completed in 44 milliseconds

1234567891011>>