Home
last modified time | relevance | path

Searched refs:asize (Results 1 – 25 of 48) sorted by relevance

12

/external/libwebsockets/lib/core-net/
Dlws-dsh.c85 obj->asize = buf_len - sizeof(*obj); in lws_dsh_create()
89 dsh->locally_free = obj->asize; in lws_dsh_create()
108 obj->asize, s->required); in search_best_free()
110 if (obj->asize >= s->required && in search_best_free()
111 (!s->best || obj->asize < s->best->asize)) { in search_best_free()
249 size_t asize = sizeof(lws_dsh_obj_t) + lws_dsh_align(size1 + size2); in _lws_dsh_alloc_tail() local
260 s.required = asize; in _lws_dsh_alloc_tail()
288 if (s.best->asize < asize + (2 * sizeof(*s.best))) { in _lws_dsh_alloc_tail()
315 assert(s.dsh->locally_free >= s.best->asize); in _lws_dsh_alloc_tail()
316 s.dsh->locally_free -= s.best->asize; in _lws_dsh_alloc_tail()
[all …]
/external/curl/tests/libtest/
Dlib1537.c32 int asize; in test() local
43 asize = (int)sizeof(a); in test()
44 ptr = curl_easy_escape(NULL, (char *)a, asize); in test()
49 ptr = curl_escape((char *)a, asize); in test()
Dlib558.c32 int asize; in test() local
44 asize = (int)sizeof(a); in test()
45 ptr = curl_easy_escape(NULL, (char *)a, asize); in test()
Dlib543.c36 int asize; in test() local
48 asize = (int)sizeof(a); in test()
50 s = curl_easy_escape(easy, (const char *)a, asize); in test()
Dlib509.c76 int asize; in test() local
100 asize = (int)sizeof(a); in test()
101 str = curl_easy_escape(curl, (char *)a, asize); /* uses realloc() */ in test()
/external/elfutils/backends/
Ds390_retval.c98 uint8_t asize; in s390_return_value_location() local
99 if (dwarf_diecu (typedie, &cudie, &asize, NULL) == NULL) in s390_return_value_location()
107 size = asize; in s390_return_value_location()
127 return size <= asize ? nloc_intreg : nloc_intregpair; in s390_return_value_location()
Dsparc_retval.c105 uint8_t asize; in sparc_return_value_location() local
108 && dwarf_diecu (typedie, &cudie, &asize, NULL) != NULL) in sparc_return_value_location()
109 size = asize; in sparc_return_value_location()
/external/lua/src/
Dltable.c288 unsigned int asize) { in findindex() argument
292 if (i - 1u < asize) /* is 'key' inside array part? */ in findindex()
300 return (i + 1) + asize; in findindex()
306 unsigned int asize = luaH_realasize(t); in luaH_next() local
307 unsigned int i = findindex(L, t, s2v(key), asize); /* find original key */ in luaH_next()
308 for (; i < asize; i++) { /* try first array part */ in luaH_next()
315 for (i -= asize; cast_int(i) < sizenode(t); i++) { /* hash part */ in luaH_next()
390 unsigned int asize = limitasasize(t); /* real array size */ in numusearray() local
395 if (lim > asize) { in numusearray()
396 lim = asize; /* adjust upper limit */ in numusearray()
[all …]
/external/ltp/testcases/kernel/syscalls/mlock2/
Dmlock201.c92 size_t bsize, asize, act_vmlcks, act_pgs; in verify_mlock2() local
105 SAFE_FILE_LINES_SCANF("/proc/self/status", "VmLck: %ld", &asize); in verify_mlock2()
115 act_vmlcks = (asize - bsize) * 1024 / pgsz; in verify_mlock2()
/external/freetype/src/cache/
Dftcsbits.c106 FT_ULong *asize ) in ftc_snode_load() argument
184 if ( asize ) in ftc_snode_load()
185 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height; in ftc_snode_load()
200 if ( asize ) in ftc_snode_load()
201 *asize = 0; in ftc_snode_load()
Dftcmanag.c36 FT_Size *asize ) in ftc_scaler_lookup_size() argument
68 *asize = size; in ftc_scaler_lookup_size()
180 FT_Size *asize ) in FTC_Manager_LookupSize() argument
186 if ( !asize || !scaler ) in FTC_Manager_LookupSize()
189 *asize = NULL; in FTC_Manager_LookupSize()
204 *asize = FTC_SIZE_NODE( mrunode )->size; in FTC_Manager_LookupSize()
/external/freetype/src/truetype/
Dttpload.c198 FT_UInt *asize ) in tt_face_get_location() argument
244 *asize = 0; in tt_face_get_location()
267 *asize = 0; in tt_face_get_location()
281 *asize = (FT_UInt)( pos2 - pos1 ); in tt_face_get_location()
283 *asize = (FT_UInt)( face->glyf_len - pos1 ); in tt_face_get_location()
Dttpload.h36 FT_UInt *asize );
/external/freetype/src/type1/
Dt1parse.c71 FT_ULong *asize ) in read_pfb_tag() argument
79 *asize = 0; in read_pfb_tag()
86 *asize = size; in read_pfb_tag()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBasicTimeZone.java316 int asize = times.length - idx; in getTimeZoneRules() local
317 if (asize > 0) { in getTimeZoneRules()
318 long[] newtimes = new long[asize]; in getTimeZoneRules()
319 System.arraycopy(times, idx, newtimes, 0, asize); in getTimeZoneRules()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBasicTimeZone.java325 int asize = times.length - idx; in getTimeZoneRules() local
326 if (asize > 0) { in getTimeZoneRules()
327 long[] newtimes = new long[asize]; in getTimeZoneRules()
328 System.arraycopy(times, idx, newtimes, 0, asize); in getTimeZoneRules()
/external/icu/icu4c/source/i18n/
Dbasictz.cpp445 int32_t asize = startTimes - idx; in getTimeZoneRulesAfter() local
446 if (asize > 0) { in getTimeZoneRulesAfter()
447 newTimes = (UDate*)uprv_malloc(sizeof(UDate) * asize); in getTimeZoneRulesAfter()
452 for (int32_t newidx = 0; newidx < asize; newidx++) { in getTimeZoneRulesAfter()
462 tar->getRawOffset(), tar->getDSTSavings(), newTimes, asize, timeType); in getTimeZoneRulesAfter()
/external/bcc/src/cc/usdt/
Dusdt_args.cc391 optional<int> asize; in parse_1() local
392 ssize_t m = parse_number(pos, &asize); in parse_1()
393 if (arg_[m] == '@' && asize) { in parse_1()
394 dest->arg_size_ = asize; in parse_1()
/external/selinux/libsemanage/src/
Dsemanageswig_python.i56 unsigned int asize, in semanage_array2plist() argument
67 for (i = 0; i < asize; i++) { in semanage_array2plist()
91 for (i = 0; i < asize; i++) in semanage_array2plist()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c3460 size_t asize = 0; in sys_alloc() local
3466 asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3469 asize += (page_align((size_t)base) - (size_t)base); in sys_alloc()
3471 if (asize < HALF_MAX_SIZE_T && in sys_alloc()
3472 (br = (char*)(CALL_MORECORE(asize))) == base) { in sys_alloc()
3474 tsize = asize; in sys_alloc()
3480 asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3482 if (asize < HALF_MAX_SIZE_T && in sys_alloc()
3483 (br = (char*)(CALL_MORECORE(asize))) == ss->base+ss->size) { in sys_alloc()
3485 tsize = asize; in sys_alloc()
[all …]
/external/libffi/src/
Ddlmalloc.c3460 size_t asize = 0; in sys_alloc() local
3466 asize = granularity_align(nb + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3469 asize += (page_align((size_t)base) - (size_t)base); in sys_alloc()
3471 if (asize < HALF_MAX_SIZE_T && in sys_alloc()
3472 (br = (char*)(CALL_MORECORE(asize))) == base) { in sys_alloc()
3474 tsize = asize; in sys_alloc()
3480 asize = granularity_align(nb - m->topsize + TOP_FOOT_SIZE + SIZE_T_ONE); in sys_alloc()
3482 if (asize < HALF_MAX_SIZE_T && in sys_alloc()
3483 (br = (char*)(CALL_MORECORE(asize))) == ss->base+ss->size) { in sys_alloc()
3485 tsize = asize; in sys_alloc()
[all …]
/external/OpenCL-CTS/test_common/gles/
Dhelpers.cpp338 GLint rsize, gsize, bsize, asize; in CreateGLRenderbufferRaw() local
342 glGetRenderbufferParameterivEXT(GL_RENDERBUFFER_EXT, GL_RENDERBUFFER_ALPHA_SIZE_EXT,&asize); in CreateGLRenderbufferRaw()
346 rsize, gsize, bsize, asize ); in CreateGLRenderbufferRaw()
459 GLint rsize, gsize, bsize, asize; in CreateGLRenderbuffer() local
463 glGetRenderbufferParameterivEXT(GL_RENDERBUFFER_EXT, GL_RENDERBUFFER_ALPHA_SIZE_EXT,&asize); in CreateGLRenderbuffer()
467 rsize, gsize, bsize, asize ); in CreateGLRenderbuffer()
/external/perfetto/src/profiling/memory/
Dbookkeeping.h212 uint64_t asize, in Allocation()
215 : sample_size(size), alloc_size(asize), sequence_number(seq) { in Allocation()
/external/python/cpython2/Objects/
Dlongobject.c2701 Py_ssize_t asize = ABS(Py_SIZE(a)); in k_mul() local
2723 if (asize > bsize) { in k_mul()
2728 i = asize; in k_mul()
2729 asize = bsize; in k_mul()
2735 if (asize <= i) { in k_mul()
2736 if (asize == 0) in k_mul()
2748 if (2 * asize <= bsize) in k_mul()
2781 ret = _PyLong_New(asize + bsize); in k_mul()
2922 const Py_ssize_t asize = ABS(Py_SIZE(a)); in k_lopsided_mul() local
2928 assert(asize > KARATSUBA_CUTOFF); in k_lopsided_mul()
[all …]
/external/freetype/include/freetype/
Dftcache.h506 FT_Size *asize );

12