/third_party/elfutils/libcpu/ |
H A D | i386_data.h | 402 int needed; in FCT_MOD$R_M() local 404 needed = snprintf (buf, avail, "%%%s", dregs[byte]); in FCT_MOD$R_M() 406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte); in FCT_MOD$R_M() 407 if ((size_t) needed > avail) in FCT_MOD$R_M() 408 return needed - avail; in FCT_MOD$R_M() 409 *bufcntp += needed; in FCT_MOD$R_M() 431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m() local 433 if ((size_t) needed > avail) in FCT_Mod$R_m() 434 return needed - avail; in FCT_Mod$R_m() 435 *d->bufcntp += needed; in FCT_Mod$R_m() 473 int needed = snprintf (&d->bufp[*bufcntp], avail, "%s0x%" ABSPRIFMT, generic_abs() local 562 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%%s%" PRIx32, FCT_crdb() local 595 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32, FCT_disp8() local 626 int needed = snprintf (&d->bufp[*bufcntp], avail, "(%%%s%s)", FCT_ds_xx() local 675 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%es:(%%%sdi)", FCT_es_di() local 695 int needed; FCT_imm() local 734 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIxFAST8, word); FCT_imm$w() local 752 int needed; FCT_imm64$w() local 784 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, FCT_imms() local 787 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, FCT_imms() local 812 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, FCT_imm$s() local 815 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word); FCT_imm$s() local 826 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); FCT_imm$s() local 843 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); FCT_imm16() local 859 int needed; FCT_imms8() local 883 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, FCT_imm8() local 901 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx64, FCT_rel() local 905 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32, FCT_rel() local 924 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%mm%" PRIxFAST8, byte); FCT_mmxreg() local 1312 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%st(%" PRIx32 ")", FCT_freg() local 1346 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, absval); FCT_sel() local 1413 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, byte); FCT_xmmreg() local [all...] |
/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
H A D | ICUCurrencyMetaInfo.java | 79 int needed = collector.collects(); in collect() 81 needed |= Region; in collect() 84 needed |= Currency; in collect() 87 needed |= Date; in collect() 90 needed |= Tender; in collect() 93 if (needed != 0) { in collect() 97 collectRegion(collector, filter, needed, b); in collect() 101 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect() 110 int needed, ICUResourceBundle b) { in collectRegion() 113 if (needed in collectRegion() 109 collectRegion(Collector<T> collector, CurrencyFilter filter, int needed, ICUResourceBundle b) collectRegion() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUCurrencyMetaInfo.java | 81 int needed = collector.collects(); in collect() 83 needed |= Region; in collect() 86 needed |= Currency; in collect() 89 needed |= Date; in collect() 92 needed |= Tender; in collect() 95 if (needed != 0) { in collect() 99 collectRegion(collector, filter, needed, b); in collect() 103 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect() 112 int needed, ICUResourceBundle b) { in collectRegion() 115 if (needed in collectRegion() 111 collectRegion(Collector<T> collector, CurrencyFilter filter, int needed, ICUResourceBundle b) collectRegion() argument [all...] |
/third_party/icu/icu4c/source/tools/gencolusb/ |
H A D | extract_unsafe_backwards.cpp | 80 int32_t needed = pattern.length(); in main() local 90 const UnicodeString unsafeBackwardPattern(false, buf, needed); in main() 120 printf("static const int32_t collunsafe_len = %d;\n", needed); in main() 122 for(int i=0;i<needed;i++) { in main() 127 if(i != (needed-1)) { in main() 131 printf(" //%d\n};\n", (needed-1)); in main()
|
/third_party/skia/third_party/externals/icu/source/tools/gencolusb/ |
H A D | extract_unsafe_backwards.cpp | 80 int32_t needed = pattern.length(); in main() local 90 const UnicodeString unsafeBackwardPattern(FALSE, buf, needed); in main() 120 printf("static const int32_t collunsafe_len = %d;\n", needed); in main() 122 for(int i=0;i<needed;i++) { in main() 127 if(i != (needed-1)) { in main() 131 printf(" //%d\n};\n", (needed-1)); in main()
|
/third_party/musl/src/malloc/mallocng/ |
H A D | realloc.c | 32 size_t needed = (n + base + UNIT + IB + 4095) & -4096; in realloc() local 33 new = g->maplen*4096UL == needed ? g->mem : in realloc() 34 mremap(g->mem, g->maplen*4096UL, needed, MREMAP_MAYMOVE); in realloc() 37 g->maplen = needed/4096; in realloc() 39 end = g->mem->storage + (needed - UNIT) - IB; in realloc()
|
H A D | malloc.c | 204 // if needed, but only as a last resort. prefer using in try_avail() 301 size_t needed = size*cnt + UNIT; in alloc_group() local 302 needed += -needed & (pagesize-1); in alloc_group() 312 needed = req; in alloc_group() 316 p = mmap(0, needed, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in alloc_group() 322 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, needed, "native_heap:brk"); in alloc_group() 324 m->maplen = needed>>12; in alloc_group() 379 size_t needed = n + IB + UNIT; in malloc() local 380 void *p = mmap(0, needed, PROT_REA in malloc() [all...] |
/third_party/mesa3d/src/asahi/compiler/ |
H A D | agx_dce.c | 47 bool needed = false; in agx_dce() local 51 needed |= BITSET_TEST(seen, I->dest[d].value); in agx_dce() 53 needed = true; in agx_dce() 56 if (!needed) { in agx_dce()
|
/third_party/musl/porting/linux/user/src/malloc/mallocng/ |
H A D | malloc.c | 200 // if needed, but only as a last resort. prefer using in try_avail() 298 size_t needed = size*cnt + UNIT; in alloc_group() local 299 needed += -needed & (pagesize-1); in alloc_group() 309 needed = req; in alloc_group() 313 p = mmap(0, needed, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in alloc_group() 318 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, needed, "native_heap:brk"); in alloc_group() 319 m->maplen = needed>>12; in alloc_group() 374 size_t needed = n + IB + UNIT; in malloc() local 375 void *p = mmap(0, needed, PROT_REA in malloc() [all...] |
/third_party/benchmark/src/ |
H A D | re.h | 123 size_t needed = regerror(ec, &re_, nullptr, 0); in Init() local 124 char* errbuf = new char[needed]; in Init() 125 regerror(ec, &re_, errbuf, needed); in Init() 129 BM_CHECK_NE(needed, 0); in Init() 130 error->assign(errbuf, needed - 1); in Init()
|
/third_party/rust/crates/cxx/src/ |
H A D | sip.rs | 158 let mut needed = 0; in write() variables 161 needed = 8 - self.ntail; in write() 162 // SAFETY: `cmp::min(length, needed)` is guaranteed to not be over `length` in write() 163 self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << (8 * self.ntail); in write() 164 if length < needed { in write() 176 let len = length - needed; in write() 179 let mut i = needed; in write() 182 // `len`, and because `i` starts at `needed` where `len` is `length - needed`, in write() 193 // SAFETY: `i` is now `needed in write() [all...] |
/third_party/node/test/fixtures/ |
H A D | guess-hash-seed.js | 88 let needed = Math.floor(tester_set_buckets * 1.5) + 1; 98 for (let i = 0; needed > 0; i++) { 101 needed--; 102 if (needed == 0) {
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-subset.cc | 65 * that is no longer needed. A subset input describes the desired subset. The input is 134 bool needed = table->subset (c); in _try_subset() 138 return needed; in _try_subset() 149 return needed; in _try_subset() 185 bool needed = false; in _subset() local 189 needed = _try_subset (table, &buf, buf_size, &c); in _subset() 199 if (!needed) in _subset()
|
/third_party/ffmpeg/libavcodec/ |
H A D | tak_parser.c | 46 int needed = buf_size ? TAK_MAX_FRAME_HEADER_BYTES : 8; in tak_parse() local 62 while (buf_size || t->index + needed <= pc->index) { in tak_parse() 75 for (; t->index + needed <= pc->index; t->index++) { in tak_parse()
|
/third_party/node/lib/internal/ |
H A D | cli_table.js | 43 const needed = (columnWidths[i] - len) / 2; 44 // round(needed) + ceil(needed) will always add up to the amount 46 out += StringPrototypeRepeat(' ', needed) + cell + 47 StringPrototypeRepeat(' ', MathCeil(needed));
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_cs.h | 35 radeon_check_space(struct radeon_winsys *ws, struct radeon_cmdbuf *cs, unsigned needed) in radeon_check_space() argument 37 if (cs->max_dw - cs->cdw < needed) in radeon_check_space() 38 ws->cs_grow(cs, needed); in radeon_check_space() 39 return cs->cdw + needed; in radeon_check_space()
|
/third_party/python/Objects/ |
H A D | bytearrayobject.c | 517 Py_ssize_t needed; in bytearray_setslice() local 537 needed = 0; in bytearray_setslice() 546 needed = vbytes.len; in bytearray_setslice() 557 res = bytearray_setslice_linear(self, lo, hi, bytes, needed); in bytearray_setslice() 595 Py_ssize_t start, stop, step, slicelen, needed; in bytearray_ass_subscript() local 652 needed = 0; in bytearray_ass_subscript() 673 needed = Py_SIZE(values); in bytearray_ass_subscript() 680 return bytearray_setslice_linear(self, start, stop, bytes, needed); in bytearray_ass_subscript() 683 if (needed == 0) { in bytearray_ass_subscript() 728 if (needed ! in bytearray_ass_subscript() [all...] |
/third_party/icu/icu4c/source/samples/numfmt/ |
H A D | capi.c | 29 int32_t needed; in capi() local 62 in the US locale. The return value is the buffer size needed. in capi() 68 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status); in capi()
|
/third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
H A D | capi.c | 29 int32_t needed; in capi() local 62 in the US locale. The return value is the buffer size needed. in capi() 68 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status); in capi()
|
/third_party/rust/crates/cxx/gen/src/ |
H A D | ifndef.rs | 4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) { 14 if !needed {
|
/third_party/rust/crates/cxx/gen/cmd/src/gen/ |
H A D | ifndef.rs | 4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) { 14 if !needed {
|
/third_party/rust/crates/cxx/gen/build/src/gen/ |
H A D | ifndef.rs | 4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) { 14 if !needed {
|
/third_party/rust/crates/cxx/gen/lib/src/gen/ |
H A D | ifndef.rs | 4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) { 14 if !needed {
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_graphics_state.c | 216 BITSET_TEST(needed, MESA_VK_DYNAMIC_##STATE) 276 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_vi() 309 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_ia() 340 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_ts() 384 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_vp() 418 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_dr() 524 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_rs() 559 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_fsr() 652 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_ms() 694 const BITSET_WORD *needed, in vk_dynamic_graphics_state_init_ds() 275 vk_dynamic_graphics_state_init_vi(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_vertex_input_state *vi) vk_dynamic_graphics_state_init_vi() argument 308 vk_dynamic_graphics_state_init_ia(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_input_assembly_state *ia) vk_dynamic_graphics_state_init_ia() argument 339 vk_dynamic_graphics_state_init_ts(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_tessellation_state *ts) vk_dynamic_graphics_state_init_ts() argument 383 vk_dynamic_graphics_state_init_vp(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_viewport_state *vp) vk_dynamic_graphics_state_init_vp() argument 417 vk_dynamic_graphics_state_init_dr(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_discard_rectangles_state *dr) vk_dynamic_graphics_state_init_dr() argument 523 vk_dynamic_graphics_state_init_rs(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_rasterization_state *rs) vk_dynamic_graphics_state_init_rs() argument 557 vk_dynamic_graphics_state_init_fsr( struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_fragment_shading_rate_state *fsr) vk_dynamic_graphics_state_init_fsr() argument 651 vk_dynamic_graphics_state_init_ms(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_multisample_state *ms) vk_dynamic_graphics_state_init_ms() argument 693 vk_dynamic_graphics_state_init_ds(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_depth_stencil_state *ds) vk_dynamic_graphics_state_init_ds() argument 866 vk_dynamic_graphics_state_init_cb(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_color_blend_state *cb) vk_dynamic_graphics_state_init_cb() argument 969 vk_dynamic_graphics_state_init_rp(struct vk_dynamic_graphics_state *dst, const BITSET_WORD *needed, const struct vk_render_pass_state *rp) vk_dynamic_graphics_state_init_rp() argument [all...] |
/third_party/curl/lib/ |
H A D | rtsp.c | 68 * is needed 735 size_t needed; in rtsp_filter_rtp() local 737 needed = rtspc->rtp_len - rtp_len; in rtsp_filter_rtp() 738 if(needed <= blen) { in rtsp_filter_rtp() 739 if(Curl_dyn_addn(&rtspc->buf, buf, needed)) { in rtsp_filter_rtp() 743 *pconsumed += needed; in rtsp_filter_rtp() 744 buf += needed; in rtsp_filter_rtp() 745 blen -= needed; in rtsp_filter_rtp()
|