/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A 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 in MHD_pool_reallocate() [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A 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() 111 lwsl_debug("%s: obj %p, asize %zu (req %zu)\n", __func__, obj, in search_best_free() 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 < asiz in _lws_dsh_alloc_tail() [all...] |
/third_party/libcoap/include/coap3/ |
H A D | coap_mem.h | 140 #define coap_malloc_type(type, asize) \ 141 (((asize) <= memp_pools[MEMP_ ## type]->size) ? \ 146 #define coap_realloc_type(type, p, asize) \ 147 ((p) ? ((asize) <= memp_pools[MEMP_ ## type]->size) ? (p) : NULL : coap_malloc_type(type, asize))
|
/third_party/curl/tests/libtest/ |
H A D | lib1537.c | 34 int asize; in test() local 45 asize = (int)sizeof(a); in test() 46 ptr = curl_easy_escape(NULL, (char *)a, asize); in test() 51 ptr = curl_escape((char *)a, asize); in test()
|
H A D | lib558.c | 34 int asize; in test() local 46 asize = (int)sizeof(a); in test() 47 ptr = curl_easy_escape(NULL, (char *)a, asize); in test()
|
H A D | lib509.c | 78 int asize; in test() local 102 asize = (int)sizeof(a); in test() 103 str = curl_easy_escape(curl, (char *)a, asize); /* uses realloc() */ in test()
|
H A D | lib543.c | 48 int asize = (int)sizeof(a); in test() local 49 char *s = curl_easy_escape(easy, (const char *)a, asize); in test()
|
/third_party/elfutils/backends/ |
H A 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()
|
H A 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()
|
/third_party/musl/porting/linux/user/src/network/ |
H A D | res_msend.c | 32 const int *qlens, unsigned char *const *answers, int *alens, int asize, in __res_msend_rc() 35 return res_msend_rc_ext(0, nqueries, queries, qlens, answers, alens, asize, conf); in __res_msend_rc() 39 const int *qlens, unsigned char *const *answers, int *alens, int asize, in res_msend_rc_ext() 147 while ((rlen = recvfrom(fd, answers[next], asize, 0, in res_msend_rc_ext() 198 const int *qlens, unsigned char *const *answers, int *alens, int asize) in __res_msend() 202 return __res_msend_rc(nqueries, queries, qlens, answers, alens, asize, &conf); in __res_msend() 31 __res_msend_rc(int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize, const struct resolvconf *conf) __res_msend_rc() argument 38 res_msend_rc_ext(int netid, int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize, const struct resolvconf *conf) res_msend_rc_ext() argument 197 __res_msend(int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize) __res_msend() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | nsvdec.c | 531 uint16_t asize; in nsv_read_chunk() local 555 asize = avio_rl16(pb); in nsv_read_chunk() 558 av_log(s, AV_LOG_TRACE, "NSV CHUNK %d aux, %"PRIu32" bytes video, %d bytes audio\n", auxcount, vsize, asize); in nsv_read_chunk() 570 if (!vsize && !asize) { in nsv_read_chunk() 595 if (asize && st[NSV_ST_AUDIO]) { in nsv_read_chunk() 600 if (asize && st[NSV_ST_AUDIO]->codecpar->codec_tag == MKTAG('P', 'C', 'M', ' ')/* && fill_header*/) { in nsv_read_chunk() 609 asize-=4; in nsv_read_chunk() 626 if ((ret = av_get_packet(pb, pkt, asize)) < 0) in nsv_read_chunk() 718 int asize = AV_RL16(p->buf+i+22); in nsv_probe() local 719 int offset = i + 23 + asize in nsv_probe() [all...] |
H A D | brstm.c | 106 uint32_t size, asize, start = 0; in read_header() local 317 asize = b->block_count * st->codecpar->ch_layout.nb_channels * 4; in read_header() 318 if (size < asize) in read_header() 324 b->adpc = av_mallocz(asize); in read_header() 331 for (i = 0; i < asize; i += 2) { in read_header() 336 avio_read(s->pb, b->adpc, asize); in read_header() 338 avio_skip(s->pb, size - asize); in read_header()
|
/third_party/musl/src/network/ |
H A D | res_msend.c | 88 /* Internal contract for __res_msend[_rc]: asize must be >=512, nqueries 93 const int *qlens, unsigned char *const *answers, int *alens, int asize, in __res_msend_rc() 96 return res_msend_rc_ext(0, nqueries, queries, qlens, answers, alens, asize, conf); in __res_msend_rc() 100 const int *qlens, unsigned char *const *answers, int *alens, int asize, in res_msend_rc_ext() 255 .iov_len = asize } in res_msend_rc_ext() 376 { .iov_base = answers[i], .iov_len = asize } } in res_msend_rc_ext() 385 if (apos[i] < alen+2 && apos[i] < asize+2) in res_msend_rc_ext() 409 const int *qlens, unsigned char *const *answers, int *alens, int asize) in __res_msend() 413 return __res_msend_rc(nqueries, queries, qlens, answers, alens, asize, &conf); in __res_msend() 92 __res_msend_rc(int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize, const struct resolvconf *conf) __res_msend_rc() argument 99 res_msend_rc_ext(int netid, int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize, const struct resolvconf *conf) res_msend_rc_ext() argument 408 __res_msend(int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize) __res_msend() argument
|
/third_party/ltp/testcases/kernel/syscalls/mlock2/ |
H A 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/skia/third_party/externals/freetype/src/cache/ |
H A D | ftcsbits.c | 104 FT_ULong *asize ) in ftc_snode_load() 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()
|
H A D | ftcmanag.c | 36 FT_Size *asize ) in ftc_scaler_lookup_size() 68 *asize = size; in ftc_scaler_lookup_size() 180 FT_Size *asize ) in FT_EXPORT_DEF() 186 if ( !asize || !scaler ) in FT_EXPORT_DEF() 189 *asize = NULL; in FT_EXPORT_DEF() 204 *asize = FTC_SIZE_NODE( mrunode )->size; in FT_EXPORT_DEF()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttpload.c | 185 FT_UInt *asize ) in FT_LOCAL_DEF() 232 *asize = 0; in FT_LOCAL_DEF() 257 *asize = 0; in FT_LOCAL_DEF() 271 *asize = (FT_UInt)( pos2 - pos1 ); in FT_LOCAL_DEF() 273 *asize = (FT_UInt)( face->glyf_len - pos1 ); in FT_LOCAL_DEF()
|
/third_party/icu/icu4c/source/i18n/ |
H A 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/node/deps/icu-small/source/i18n/ |
H A 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/musl/libc-test/src/functionalext/supplement/network/ |
H A D | nameservercheck_client.c | 108 const int *qlens, unsigned char *const *answers, int *alens, int asize, in res_msend_rc_ext() 236 .iov_len = asize } in res_msend_rc_ext() 278 memset(answers[next], 0, asize); in res_msend_rc_ext() 350 { .iov_base = answers[i], .iov_len = asize } } in res_msend_rc_ext() 359 if (apos[i] < alen+2 && apos[i] < asize+2) in res_msend_rc_ext() 107 res_msend_rc_ext(int netid, int nqueries, const unsigned char *const *queries, const int *qlens, unsigned char *const *answers, int *alens, int asize, const struct resolvconf *conf, int newcheck) res_msend_rc_ext() argument
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1parse.c | 71 FT_ULong *asize ) in read_pfb_tag() 79 *asize = 0; in read_pfb_tag() 86 *asize = size; in read_pfb_tag()
|
/third_party/libevdev/libevdev/ |
H A D | libevdev-names.c | 41 lookup_name(const struct name_entry *array, size_t asize, in lookup_name() argument 46 entry = bsearch(lookup, array, asize, sizeof(*array), cmp_entry); in lookup_name()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BasicTimeZone.java | 325 int asize = times.length - idx; in getTimeZoneRules() 326 if (asize > 0) { in getTimeZoneRules() 327 long[] newtimes = new long[asize]; in getTimeZoneRules() 328 System.arraycopy(times, idx, newtimes, 0, asize); in getTimeZoneRules()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | BasicTimeZone.java | 314 int asize = times.length - idx; in getTimeZoneRules() 315 if (asize > 0) { in getTimeZoneRules() 316 long[] newtimes = new long[asize]; in getTimeZoneRules() 317 System.arraycopy(times, idx, newtimes, 0, asize); in getTimeZoneRules()
|