/third_party/libwebsockets/lib/core-net/ |
D | lws-dsh.c | 89 obj->asize = buf_len - sizeof(*obj); in lws_dsh_create() 93 dsh->locally_free = obj->asize; in lws_dsh_create() 112 obj->asize, s->required); in search_best_free() 114 if (obj->asize >= s->required && in search_best_free() 115 (!s->best || obj->asize < s->best->asize)) { in search_best_free() 153 size_t asize = sizeof(lws_dsh_obj_t) + lws_dsh_align(size1 + size2); in _lws_dsh_alloc_tail() local 164 s.required = asize; in _lws_dsh_alloc_tail() 182 if (s.best->asize < asize + (2 * sizeof(*s.best))) { in _lws_dsh_alloc_tail() 212 assert(s.dsh->locally_free >= s.best->asize); in _lws_dsh_alloc_tail() 213 s.dsh->locally_free -= s.best->asize; in _lws_dsh_alloc_tail() [all …]
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | memorypool.c | 169 size_t asize; in MHD_pool_allocate() local 171 asize = ROUND_TO_ALIGN (size); in MHD_pool_allocate() 172 if ( (0 == asize) && (0 != size) ) in MHD_pool_allocate() 174 if ((pool->pos + asize > pool->end) || (pool->pos + asize < pool->pos)) in MHD_pool_allocate() 178 ret = &pool->memory[pool->end - asize]; in MHD_pool_allocate() 179 pool->end -= asize; in MHD_pool_allocate() 184 pool->pos += asize; in MHD_pool_allocate() 214 size_t asize; in MHD_pool_reallocate() local 216 asize = ROUND_TO_ALIGN (new_size); in MHD_pool_reallocate() 217 if ( (0 == asize) && (0 != new_size) ) in MHD_pool_reallocate() [all …]
|
/third_party/iowow/src/utils/ |
D | iwxstr.c | 17 size_t asize; /**< Allocated buffer size */ member 30 xstr->asize = siz; in iwxstr_new2() 52 if (xstr->asize < nsize) { in iwxstr_cat() 53 while (xstr->asize < nsize) { in iwxstr_cat() 54 xstr->asize <<= 1; in iwxstr_cat() 55 if (xstr->asize < nsize) { in iwxstr_cat() 56 xstr->asize = nsize; in iwxstr_cat() 59 char *ptr = realloc(xstr->ptr, xstr->asize); in iwxstr_cat() 77 if (xstr->asize < nsize) { in iwxstr_unshift() 78 while (xstr->asize < nsize) { in iwxstr_unshift() [all …]
|
/third_party/boost/boost/mpi/collectives/ |
D | broadcast.hpp | 115 std::size_t asize = oa.size(); in broadcast_impl() local 116 broadcast(comm, asize, root); in broadcast_impl() 119 (const_cast<void*>(aptr), asize, in broadcast_impl() 124 std::size_t asize; in broadcast_impl() local 125 broadcast(comm, asize, root); in broadcast_impl() 126 ia.resize(asize); in broadcast_impl() 129 (aptr, asize, in broadcast_impl()
|
/third_party/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 | 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()
|
D | lib543.c | 46 int asize = (int)sizeof(a); in test() local 47 char *s = curl_easy_escape(easy, (const char *)a, asize); in test()
|
/third_party/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()
|
/third_party/ffmpeg/libavformat/ |
D | nsvdec.c | 537 uint16_t asize; in nsv_read_chunk() local 561 asize = avio_rl16(pb); in nsv_read_chunk() 564 …AV_LOG_TRACE, "NSV CHUNK %d aux, %"PRIu32" bytes video, %d bytes audio\n", auxcount, vsize, asize); in nsv_read_chunk() 576 if (!vsize && !asize) { in nsv_read_chunk() 601 if (asize && st[NSV_ST_AUDIO]) { in nsv_read_chunk() 606 …if (asize && st[NSV_ST_AUDIO]->codecpar->codec_tag == MKTAG('P', 'C', 'M', ' ')/* && fill_header*/… in nsv_read_chunk() 615 asize-=4; in nsv_read_chunk() 632 if ((ret = av_get_packet(pb, pkt, asize)) < 0) in nsv_read_chunk() 723 int asize = AV_RL16(p->buf+i+22); in nsv_probe() local 724 int offset = i + 23 + asize + vsize + 1; in nsv_probe()
|
D | brstm.c | 105 uint32_t size, asize, start = 0; in read_header() local 323 asize = b->block_count * st->codecpar->channels * 4; in read_header() 324 if (size < asize) { in read_header() 332 b->adpc = av_mallocz(asize); in read_header() 341 for (i = 0; i < asize; i += 2) { in read_header() 346 avio_read(s->pb, b->adpc, asize); in read_header() 348 avio_skip(s->pb, size - asize); in read_header()
|
/third_party/musl/src/network/ |
D | res_msend.c | 31 const int *qlens, unsigned char *const *answers, int *alens, int asize, in __res_msend_rc() argument 132 while ((rlen = recvfrom(fd, answers[next], asize, 0, in __res_msend_rc() 183 const int *qlens, unsigned char *const *answers, int *alens, int asize) in __res_msend() argument 187 return __res_msend_rc(nqueries, queries, qlens, answers, alens, asize, &conf); in __res_msend()
|
/third_party/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()
|
/third_party/flutter/skia/third_party/externals/freetype/src/cache/ |
D | ftcsbits.c | 107 FT_ULong *asize ) in ftc_snode_load() argument 185 if ( asize ) in ftc_snode_load() 186 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height; in ftc_snode_load() 201 if ( asize ) in ftc_snode_load() 202 *asize = 0; in ftc_snode_load()
|
D | ftcmanag.c | 37 FT_Size *asize ) in ftc_scaler_lookup_size() argument 69 *asize = size; in ftc_scaler_lookup_size() 181 FT_Size *asize ) in FTC_Manager_LookupSize() argument 187 if ( !asize || !scaler ) in FTC_Manager_LookupSize() 190 *asize = NULL; in FTC_Manager_LookupSize() 205 *asize = FTC_SIZE_NODE( mrunode )->size; in FTC_Manager_LookupSize()
|
/third_party/skia/third_party/externals/freetype/src/cache/ |
D | ftcsbits.c | 104 FT_ULong *asize ) in ftc_snode_load() argument 189 if ( asize ) in ftc_snode_load() 190 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height; in ftc_snode_load() 205 if ( asize ) in ftc_snode_load() 206 *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()
|
/third_party/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()
|
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/ |
D | ttpload.c | 199 FT_UInt *asize ) in tt_face_get_location() argument 245 *asize = 0; in tt_face_get_location() 268 *asize = 0; in tt_face_get_location() 282 *asize = (FT_UInt)( pos2 - pos1 ); in tt_face_get_location() 284 *asize = (FT_UInt)( face->glyf_len - pos1 ); in tt_face_get_location()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttpload.c | 185 FT_UInt *asize ) in tt_face_get_location() argument 232 *asize = 0; in tt_face_get_location() 257 *asize = 0; in tt_face_get_location() 271 *asize = (FT_UInt)( pos2 - pos1 ); in tt_face_get_location() 273 *asize = (FT_UInt)( face->glyf_len - pos1 ); in tt_face_get_location()
|
/third_party/flutter/skia/third_party/externals/icu/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()
|
/third_party/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()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | basictz.cpp | 455 int32_t asize = startTimes - idx; in getTimeZoneRulesAfter() local 456 if (asize > 0) { in getTimeZoneRulesAfter() 457 … LocalMemory<UDate> newTimes(static_cast<UDate *>(uprv_malloc(sizeof(UDate) * asize))); in getTimeZoneRulesAfter() 462 for (int32_t newidx = 0; newidx < asize; newidx++) { in getTimeZoneRulesAfter() 467 … name, tar->getRawOffset(), tar->getDSTSavings(), &newTimes[0], asize, timeType), status); in getTimeZoneRulesAfter()
|
/third_party/skia/third_party/externals/icu/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()
|