/external/libwebsockets/lib/core-net/ |
D | lws-dsh.c | 85 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/ |
D | lib1537.c | 32 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()
|
D | lib558.c | 32 int asize; in test() local 44 asize = (int)sizeof(a); in test() 45 ptr = curl_easy_escape(NULL, (char *)a, asize); in test()
|
D | lib543.c | 36 int asize; in test() local 48 asize = (int)sizeof(a); in test() 50 s = curl_easy_escape(easy, (const char *)a, asize); in test()
|
D | lib509.c | 76 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/ |
D | s390_retval.c | 98 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()
|
D | sparc_retval.c | 105 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/ |
D | ltable.c | 288 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/ |
D | mlock201.c | 92 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/ |
D | ftcsbits.c | 106 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()
|
D | ftcmanag.c | 36 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/ |
D | ttpload.c | 198 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()
|
D | ttpload.h | 36 FT_UInt *asize );
|
/external/freetype/src/type1/ |
D | t1parse.c | 71 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/ |
D | BasicTimeZone.java | 316 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/ |
D | BasicTimeZone.java | 325 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/ |
D | basictz.cpp | 445 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/ |
D | usdt_args.cc | 391 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/ |
D | semanageswig_python.i | 56 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/ |
D | dlmalloc.c | 3460 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/ |
D | dlmalloc.c | 3460 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/ |
D | helpers.cpp | 338 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/ |
D | bookkeeping.h | 212 uint64_t asize, in Allocation() 215 : sample_size(size), alloc_size(asize), sequence_number(seq) { in Allocation()
|
/external/python/cpython2/Objects/ |
D | longobject.c | 2701 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/ |
D | ftcache.h | 506 FT_Size *asize );
|