Searched refs:nmemb (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/libXext/dist/src/
H A Dreallocarray.c35 xreallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A Dreallocarray.h33 extern _X_HIDDEN void *xreallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dreallocarray.c35 reallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A Dreplace.h38 reallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/libXmu/dist/src/
H A Dreallocarray.c35 Xmureallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A DXmuint.h36 extern _X_HIDDEN void *Xmureallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/libFS/dist/src/
H A Dreallocarray.c35 fsreallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A DFSlibos.h255 extern _X_HIDDEN void *fsreallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/libfontenc/dist/src/
H A Dreallocarray.c35 xreallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A Dreallocarray.h33 extern _X_HIDDEN void *xreallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/xorg-server/dist/os/
H A Dreallocarray.c35 reallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A Dutils.c1167 XNFcallocarray(size_t nmemb, size_t size) argument
1169 void *ret = calloc(nmemb, size);
1187 XNFreallocarray(void *ptr, size_t nmemb, size_t size) argument
1189 void *ret = reallocarray(ptr, nmemb, size);
/xsrc/external/mit/libX11/dist/src/
H A Dreallocarray.c35 xreallocarray(void *optr, size_t nmemb, size_t size) argument
37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
38 nmemb > 0 && SIZE_MAX / nmemb < size) {
42 return realloc(optr, size * nmemb);
H A Dreallocarray.h33 extern _X_HIDDEN void *xreallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Du_qsort.h35 void util_tls_qsort_r(void *base, size_t nmemb, size_t size,
55 util_qsort_r(void *base, size_t nmemb, size_t size, argument
68 qsort_r(base, nmemb, size, &data, util_qsort_adapter);
71 qsort_r(base, nmemb, size, compar, arg);
82 qsort_s(base, nmemb, size, util_qsort_adapter, &data);
85 qsort_s(base, nmemb, size, compar, arg);
89 util_tls_qsort_r(base, nmemb, size, compar, arg);
H A Du_qsort.cpp37 util_tls_qsort_r(void *base, size_t nmemb, size_t size, argument
43 return qsort(base, nmemb, size, qsort_r_compar);
/xsrc/external/mit/xcb-proto/dist/xcbgen/
H A Dexpr.py49 nmemb is the fixed size (value)of the expression, or None
54 self.nmemb = None
102 self.nmemb = int(elt.text, 0)
134 return self.nmemb != None
137 return self.nmemb
H A Dxtypes.py30 nmemb is 1 for non-list types, None for variable-sized lists, otherwise number of elts.
35 self.nmemb = None
118 if self.nmemb is None:
121 return self.size * self.nmemb
175 self.nmemb = 1
310 self.nmemb = self.expr.nmemb if self.expr.fixed_size() else None
373 num_elements = self.nmemb
382 % (self.nmemb,
383 (self.nmemb
[all...]
/xsrc/external/mit/freetype/dist/src/gxvalid/
H A Dgxvcommn.c66 FT_UInt nmemb,
73 for ( i = 0; i < nmemb; i++ )
76 for ( i = 0; i < nmemb; i++ )
78 buff[nmemb] = limit;
80 ft_qsort( buff, ( nmemb + 1 ), sizeof ( FT_UShort ),
83 if ( buff[nmemb] > limit )
86 for ( i = 0; i < nmemb; i++ )
91 for ( j = 0; j < nmemb; j++ )
95 if ( j == nmemb )
131 FT_UInt nmemb,
63 gxv_set_length_by_ushort_offset(FT_UShort * offset,FT_UShort ** length,FT_UShort * buff,FT_UInt nmemb,FT_UShort limit,GXV_Validator gxvalid) argument
128 gxv_set_length_by_ulong_offset(FT_ULong * offset,FT_ULong ** length,FT_ULong * buff,FT_UInt nmemb,FT_ULong limit,GXV_Validator gxvalid) argument
[all...]
H A Dgxvcommn.h490 FT_UInt nmemb,
498 FT_UInt nmemb,
/xsrc/external/mit/xorg-server/dist/include/
H A Dos.h244 XNFcallocarray(size_t nmemb, size_t size);
258 XNFreallocarray(void *ptr, size_t nmemb, size_t size);
572 reallocarray(void *optr, size_t nmemb, size_t size);
/xsrc/external/mit/libxcb/dist/src/
H A Dc_client.py445 field.c_field_const_type = ('' if field.type.nmemb == 1 else 'const ') + field.c_field_type
447 field.c_subscript = '[%d]' % field.type.nmemb if (field.type.nmemb and field.type.nmemb > 1) else ''
448 field.c_pointer = ' ' if field.type.nmemb == 1 else '*'
500 if (field.type.nmemb is None and field.wire):
1077 if field.type.is_pad and field.type.nmemb > 1:
1079 for i in range(field.type.nmemb):
1082 # total padding = sizeof(pad0) * nmemb
1083 length += " * %d" % field.type.nmemb
[all...]
/xsrc/external/mit/iceauth/dist/
H A Dprocess.c275 reallocarray(void *optr, size_t nmemb, size_t size) argument
277 if ((nmemb > 0) && (SIZE_MAX / nmemb < size)) {
281 return realloc(optr, size * nmemb);
/xsrc/external/mit/xedit/dist/lisp/mp/
H A Dmp.c107 _mp_calloc(size_t nmemb, size_t size) argument
109 return (calloc(nmemb, size));
113 mp_calloc(size_t nmemb, size_t size) argument
115 void *pointer = (*__mp_calloc)(nmemb, size);
H A Dmp.h134 void *mp_calloc(size_t nmemb, size_t size);

Completed in 16 milliseconds

12