/third_party/nghttp2/tests/ |
H A D | nghttp2_pq_test.c | 59 string_entry *top; in test_nghttp2_pq() local 67 top = (string_entry *)nghttp2_pq_top(&pq); in test_nghttp2_pq() 68 CU_ASSERT(strcmp("foo", top->s) == 0); in test_nghttp2_pq() 70 top = (string_entry *)nghttp2_pq_top(&pq); in test_nghttp2_pq() 71 CU_ASSERT(strcmp("bar", top->s) == 0); in test_nghttp2_pq() 73 top = (string_entry *)nghttp2_pq_top(&pq); in test_nghttp2_pq() 74 CU_ASSERT(strcmp("bar", top->s) == 0); in test_nghttp2_pq() 78 top = (string_entry *)nghttp2_pq_top(&pq); in test_nghttp2_pq() 79 CU_ASSERT(strcmp("C", top->s) == 0); in test_nghttp2_pq() 80 string_entry_del(top); in test_nghttp2_pq() [all...] |
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | psstack.c | 75 stack->top = stack->buffer; /* empty stack */ in FT_LOCAL_DEF() 100 return (CF2_UInt)( stack->top - stack->buffer ); in FT_LOCAL_DEF() 108 if ( stack->top == stack->buffer + stack->stackSize ) in cf2_stack_pushInt() 114 stack->top->u.i = val; in cf2_stack_pushInt() 115 stack->top->type = CF2_NumberInt; in cf2_stack_pushInt() 116 stack->top++; in cf2_stack_pushInt() 124 if ( stack->top == stack->buffer + stack->stackSize ) in cf2_stack_pushFixed() 130 stack->top->u.r = val; in cf2_stack_pushFixed() 131 stack->top->type = CF2_NumberFixed; in cf2_stack_pushFixed() 132 stack->top in cf2_stack_pushFixed() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | pstack.c | 16 unsigned short top; member 37 return pstack->top == 0; in pstack__empty() 42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 50 --pstack->top; in pstack__remove() 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 70 if (pstack->top in pstack__pop() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pstack.c | 16 unsigned short top; member 37 return pstack->top == 0; in pstack__empty() 42 unsigned short i = pstack->top, last_index = pstack->top - 1; in pstack__remove() 50 --pstack->top; in pstack__remove() 59 if (pstack->top == pstack->max_nr_entries) { in pstack__push() 60 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); in pstack__push() 63 pstack->entries[pstack->top++] = key; in pstack__push() 70 if (pstack->top in pstack__pop() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | concurrent-allocator.cc | 88 optional_scope.emplace(MemoryChunk::FromAddress(lab_.top())); in FreeLinearAllocationArea() 98 optional_scope.emplace(MemoryChunk::FromAddress(lab_.top())); in MakeLinearAllocationAreaIterable() 104 Address top = lab_.top(); in MarkLinearAllocationAreaBlack() local 107 if (top != kNullAddress && top != limit) { in MarkLinearAllocationAreaBlack() 108 Page::FromAllocationAreaAddress(top)->CreateBlackAreaBackground(top, limit); in MarkLinearAllocationAreaBlack() 113 Address top = lab_.top(); in UnmarkLinearAllocationArea() local 140 Address top = result->first; EnsureLab() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_word.c | 44 for (i = a->top - 1; i >= 0; i--) { in BN_mod_word() 72 if (a->top == 0) in BN_div_word() 81 for (i = a->top - 1; i >= 0; i--) { in BN_div_word() 89 if ((a->top > 0) && (a->d[a->top - 1] == 0)) in BN_div_word() 90 a->top--; in BN_div_word() 92 if (!a->top) in BN_div_word() 120 for (i = 0; w != 0 && i < a->top; i++) { in BN_add_word() 124 if (w && i == a->top) { in BN_add_word() 125 if (bn_wexpand(a, a->top in BN_add_word() [all...] |
H A D | bn_exp.c | 144 if (a->top == 1 && !a->neg in BN_mod_exp() 243 wstart = bits - 1; /* The top bit of the window */ in BN_mod_exp_recp() 332 if (m->top <= BN_CONSTTIME_SIZE_LIMIT in BN_mod_exp_mont() 396 wstart = bits - 1; /* The top bit of the window */ in BN_mod_exp_mont() 400 j = m->top; /* borrow j */ in BN_mod_exp_mont() 404 /* 2^(top*BN_BITS2) - m */ in BN_mod_exp_mont() 408 r->top = j; in BN_mod_exp_mont() 469 j = mont->N.top; /* borrow j */ in BN_mod_exp_mont() 473 val[0]->top = j; in BN_mod_exp_mont() 496 if (wordpos >= 0 && wordpos < a->top) { in bn_get_bits() 515 MOD_EXP_CTIME_COPY_TO_PREBUF(const BIGNUM *b, int top, unsigned char *buf, int idx, int window) MOD_EXP_CTIME_COPY_TO_PREBUF() argument 533 MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx, int window) MOD_EXP_CTIME_COPY_FROM_PREBUF() argument 614 int top; BN_mod_exp_mont_consttime() local [all...] |
H A D | bn_lib.c | 157 int i = a->top - 1; in bn_num_bits_consttime() 180 int i = a->top - 1; in BN_num_bits() 287 assert(b->top <= words); in bn_expand_internal() 288 if (b->top > 0) in bn_expand_internal() 289 memcpy(a, b->d, sizeof(*a) * b->top); in bn_expand_internal() 342 bn_words = BN_get_flags(b, BN_FLG_CONSTTIME) ? b->dmax : b->top; in BN_copy() 349 if (b->top > 0) in BN_copy() 353 a->top = b->top; in BN_copy() 378 tmp_top = a->top; in BN_swap() [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_word.c | 44 for (i = a->top - 1; i >= 0; i--) { in BN_mod_word() 72 if (a->top == 0) in BN_div_word() 81 for (i = a->top - 1; i >= 0; i--) { in BN_div_word() 89 if ((a->top > 0) && (a->d[a->top - 1] == 0)) in BN_div_word() 90 a->top--; in BN_div_word() 92 if (!a->top) in BN_div_word() 120 for (i = 0; w != 0 && i < a->top; i++) { in BN_add_word() 124 if (w && i == a->top) { in BN_add_word() 125 if (bn_wexpand(a, a->top in BN_add_word() [all...] |
H A D | bn_exp.c | 144 if (a->top == 1 && !a->neg in BN_mod_exp() 243 wstart = bits - 1; /* The top bit of the window */ in BN_mod_exp_recp() 324 if (m->top <= BN_CONSTTIME_SIZE_LIMIT in BN_mod_exp_mont() 388 wstart = bits - 1; /* The top bit of the window */ in BN_mod_exp_mont() 392 j = m->top; /* borrow j */ in BN_mod_exp_mont() 396 /* 2^(top*BN_BITS2) - m */ in BN_mod_exp_mont() 400 r->top = j; in BN_mod_exp_mont() 461 j = mont->N.top; /* borrow j */ in BN_mod_exp_mont() 465 val[0]->top = j; in BN_mod_exp_mont() 488 if (wordpos >= 0 && wordpos < a->top) { in bn_get_bits() 507 MOD_EXP_CTIME_COPY_TO_PREBUF(const BIGNUM *b, int top, unsigned char *buf, int idx, int window) MOD_EXP_CTIME_COPY_TO_PREBUF() argument 525 MOD_EXP_CTIME_COPY_FROM_PREBUF(BIGNUM *b, int top, unsigned char *buf, int idx, int window) MOD_EXP_CTIME_COPY_FROM_PREBUF() argument 606 int top; BN_mod_exp_mont_consttime() local [all...] |
H A D | bn_lib.c | 157 int i = a->top - 1; in bn_num_bits_consttime() 180 int i = a->top - 1; in BN_num_bits() 287 assert(b->top <= words); in bn_expand_internal() 288 if (b->top > 0) in bn_expand_internal() 289 memcpy(a, b->d, sizeof(*a) * b->top); in bn_expand_internal() 342 bn_words = BN_get_flags(b, BN_FLG_CONSTTIME) ? b->dmax : b->top; in BN_copy() 349 if (b->top > 0) in BN_copy() 353 a->top = b->top; in BN_copy() 378 tmp_top = a->top; in BN_swap() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vp9dsp_template.c | 37 const pixel *top = (const pixel *) _top; in vert_4x4_c() local 38 pixel4 p4 = AV_RN4PA(top); in vert_4x4_c() 51 const pixel *top = (const pixel *) _top; in vert_8x8_c() local 52 pixel4 p4a = AV_RN4PA(top + 0); in vert_8x8_c() 53 pixel4 p4b = AV_RN4PA(top + 4); in vert_8x8_c() 68 const pixel *top = (const pixel *) _top; in vert_16x16_c() local 69 pixel4 p4a = AV_RN4PA(top + 0); in vert_16x16_c() 70 pixel4 p4b = AV_RN4PA(top + 4); in vert_16x16_c() 71 pixel4 p4c = AV_RN4PA(top + 8); in vert_16x16_c() 72 pixel4 p4d = AV_RN4PA(top in vert_16x16_c() 89 const pixel *top = (const pixel *) _top; vert_32x32_c() local 114 hor_4x4_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) hor_4x4_c() argument 127 hor_8x8_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) hor_8x8_c() argument 144 hor_16x16_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) hor_16x16_c() argument 163 hor_32x32_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) hor_32x32_c() argument 193 const pixel *top = (const pixel *) _top; tm_4x4_c() local 213 const pixel *top = (const pixel *) _top; tm_8x8_c() local 237 const pixel *top = (const pixel *) _top; tm_16x16_c() local 269 const pixel *top = (const pixel *) _top; tm_32x32_c() local 319 const pixel *top = (const pixel *) _top; dc_4x4_c() local 335 const pixel *top = (const pixel *) _top; dc_8x8_c() local 355 const pixel *top = (const pixel *) _top; dc_16x16_c() local 379 const pixel *top = (const pixel *) _top; dc_32x32_c() local 407 dc_left_4x4_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) dc_left_4x4_c() argument 421 dc_left_8x8_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) dc_left_8x8_c() argument 439 dc_left_16x16_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) dc_left_16x16_c() argument 460 dc_left_32x32_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) dc_left_32x32_c() argument 492 const pixel *top = (const pixel *) _top; dc_top_4x4_c() local 506 const pixel *top = (const pixel *) _top; dc_top_8x8_c() local 524 const pixel *top = (const pixel *) _top; dc_top_16x16_c() local 545 const pixel *top = (const pixel *) _top; dc_top_32x32_c() local 571 dc_128_4x4_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_128_4x4_c() argument 584 dc_128_8x8_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_128_8x8_c() argument 599 dc_128_16x16_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_128_16x16_c() argument 616 dc_128_32x32_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_128_32x32_c() argument 637 dc_127_4x4_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_127_4x4_c() argument 649 dc_127_8x8_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_127_8x8_c() argument 664 dc_127_16x16_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_127_16x16_c() argument 681 dc_127_32x32_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_127_32x32_c() argument 702 dc_129_4x4_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_129_4x4_c() argument 715 dc_129_8x8_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_129_8x8_c() argument 730 dc_129_16x16_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_129_16x16_c() argument 747 dc_129_32x32_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *left, const uint8_t *top) dc_129_32x32_c() argument 787 const pixel *top = (const pixel *) _top; diag_downleft_4x4_c() local 829 const pixel *top = (const pixel *) _top; diag_downright_4x4_c() local 875 const pixel *top = (const pixel *) _top; vert_right_4x4_c() local 932 const pixel *top = (const pixel *) _top; hor_down_4x4_c() local 983 const pixel *top = (const pixel *) _top; vert_left_4x4_c() local 1029 hor_up_4x4_c(uint8_t *_dst, ptrdiff_t stride, const uint8_t *_left, const uint8_t *top) hor_up_4x4_c() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 373 std::optional<T> top; member 382 top = padding; in SetEdges() 390 top = topValue; in SetEdges() 396 return (left == value.left) && (right == value.right) && (top == value.top) && (bottom == value.bottom); in operator ==() 414 top = value.top; in UpdateWithCheck() 432 if (value.top.has_value() && top != value.top) { in UpdateLocalizedPadding() 500 std::optional<float> top; global() member [all...] |
/third_party/cups-filters/filter/pdftopdf/ |
H A D | pptypes.cc | 78 std::swap(top,bottom); in rotate_move() 84 left=top; in rotate_move() 85 top=right; in rotate_move() 96 top=pheight-top; in rotate_move() 106 left=pheight-top; in rotate_move() 107 top=right; in rotate_move() 117 const float tmp2=top; in rotate_move() 118 top=pheight-bottom; in rotate_move() 122 const float tmp3=top; in rotate_move() [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | vp9dsp_loongarch.h | 92 const uint8_t *top); 94 const uint8_t *top); 96 const uint8_t *top); 98 const uint8_t *top); 100 const uint8_t *top); 102 const uint8_t *top); 104 const uint8_t *top); 106 const uint8_t *top); 108 const uint8_t *top); 110 const uint8_t *top); [all...] |
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_CROP.c | 165 "crop_orig = { .type=%i, .c={ .left=%i, .top=%i, .width=%i, .height=%i }}\n", in do_set_crop() 170 crop_orig.c.top, crop_orig.c.width, crop_orig.c.height); in do_set_crop() 179 ".bounds = { .left = %i, .top = %i, .width = %i, .height = %i }, " in do_set_crop() 180 ".defrect = { .left = %i, .top = %i, .width = %i, .height = %i }, " in do_set_crop() 183 cropcap.bounds.left, cropcap.bounds.top, cropcap.bounds.width, in do_set_crop() 184 cropcap.bounds.height, cropcap.defrect.left, cropcap.defrect.top, in do_set_crop() 194 "crop = { .type=%i, .c={ .left=%i, .top=%i, .width=%i, .height=%i }}\n", in do_set_crop() 198 crop.c.left, crop.c.top, crop.c.width, crop.c.height); in do_set_crop() 205 "crop_new = { .type=%i, .c={ .left=%i, .top=%i, .width=%i, .height=%i }}\n", in do_set_crop() 210 crop_new.c.top, crop_ne in do_set_crop() [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | enc_msa.c | 262 static WEBP_INLINE void VE4(uint8_t* dst, const uint8_t* top) { // vertical in VE4() argument 264 const uint64_t val_m = LD(top - 1); in VE4() 275 static WEBP_INLINE void HE4(uint8_t* dst, const uint8_t* top) { // horizontal in HE4() argument 276 const int X = top[-1]; in HE4() 277 const int I = top[-2]; in HE4() 278 const int J = top[-3]; in HE4() 279 const int K = top[-4]; in HE4() 280 const int L = top[-5]; in HE4() 287 static WEBP_INLINE void DC4(uint8_t* dst, const uint8_t* top) { in DC4() argument 290 for (i = 0; i < 4; ++i) dc += top[ in DC4() 296 RD4(uint8_t* dst, const uint8_t* top) RD4() argument 316 LD4(uint8_t* dst, const uint8_t* top) LD4() argument 336 VR4(uint8_t* dst, const uint8_t* top) VR4() argument 357 VL4(uint8_t* dst, const uint8_t* top) VL4() argument 378 HU4(uint8_t* dst, const uint8_t* top) HU4() argument 393 HD4(uint8_t* dst, const uint8_t* top) HD4() argument 414 TM4(uint8_t* dst, const uint8_t* top) TM4() argument 434 Intra4Preds_MSA(uint8_t* dst, const uint8_t* top) Intra4Preds_MSA() argument 454 VerticalPred16x16(uint8_t* dst, const uint8_t* top) VerticalPred16x16() argument 483 TrueMotion16x16(uint8_t* dst, const uint8_t* left, const uint8_t* top) TrueMotion16x16() argument 522 DCMode16x16(uint8_t* dst, const uint8_t* left, const uint8_t* top) DCMode16x16() argument 551 Intra16Preds_MSA(uint8_t* dst, const uint8_t* left, const uint8_t* top) Intra16Preds_MSA() argument 577 VerticalPred8x8(uint8_t* dst, const uint8_t* top) VerticalPred8x8() argument 609 TrueMotion8x8(uint8_t* dst, const uint8_t* left, const uint8_t* top) TrueMotion8x8() argument 649 DCMode8x8(uint8_t* dst, const uint8_t* left, const uint8_t* top) DCMode8x8() argument 673 IntraChromaPreds_MSA(uint8_t* dst, const uint8_t* left, const uint8_t* top) IntraChromaPreds_MSA() argument [all...] |
/third_party/libsnd/src/ALAC/ |
H A D | dp_enc.c | 83 int32_t top ; in pc_block() local 127 top = in [j - lim] ; in pc_block() local 130 b0 = top - pin [0] ; in pc_block() 131 b1 = top - pin [-1] ; in pc_block() 132 b2 = top - pin [-2] ; in pc_block() 133 b3 = top - pin [-3] ; in pc_block() 137 del = in [j] - top - sum1 ; in pc_block() 214 top = in [j - lim] ; in pc_block() local 217 b0 = top - (*pin--) ; in pc_block() 218 b1 = top in pc_block() 348 top = in [j - lim] ; pc_block() local [all...] |
H A D | dp_dec.c | 60 int32_t sum1, sg, sgn, top, dd ; in unpc_block() local 120 top = out [j - lim] ; in unpc_block() local 123 ib0 = top - pout [0] ; in unpc_block() 124 ib1 = top - pout [-1] ; in unpc_block() 125 ib2 = top - pout [-2] ; in unpc_block() 126 ib3 = top - pout [-3] ; in unpc_block() 133 del += top + sum1 ; in unpc_block() 208 top = out [j - lim] ; in unpc_block() local 211 b0 = top - (*pout--) ; in unpc_block() 212 b1 = top in unpc_block() [all...] |
/kernel/linux/linux-5.10/arch/x86/um/os-Linux/ |
H A D | task_size.c | 80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 114 printf("Locating the top of the address space ... "); in os_get_top_address() 120 if (page_ok(top)) in os_get_top_address() 124 test = bottom + (top - bottom) / 2; in os_get_top_address() 128 top = test; in os_get_top_address() 129 } while (top - bottom > 1); in os_get_top_address() 137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address() 138 printf("0x%lx\n", top); in os_get_top_address() [all...] |
/kernel/linux/linux-6.6/arch/x86/um/os-Linux/ |
H A D | task_size.c | 80 unsigned long top = 0xffffd000 >> UM_KERN_PAGE_SHIFT; in os_get_top_address() local 101 for (bottom = 0; bottom < top; bottom++) { in os_get_top_address() 107 if (bottom == top) { in os_get_top_address() 114 printf("Locating the top of the address space ... "); in os_get_top_address() 120 if (page_ok(top)) in os_get_top_address() 124 test = bottom + (top - bottom) / 2; in os_get_top_address() 128 top = test; in os_get_top_address() 129 } while (top - bottom > 1); in os_get_top_address() 137 top <<= UM_KERN_PAGE_SHIFT; in os_get_top_address() 138 printf("0x%lx\n", top); in os_get_top_address() [all...] |
/third_party/toybox/toys/other/ |
H A D | vmstat.c | 77 struct vmstat_proc top[2]; in vmstat_main() local 83 memset(top, 0, sizeof(top)); in vmstat_main() 89 uint64_t units, total_hz, *ptr = (uint64_t *)(top+idx), in vmstat_main() 90 *oldptr = (uint64_t *)(top+!idx); in vmstat_main() 110 get_vmstat_proc(top+idx); in vmstat_main() 111 top[idx].running--; // Don't include ourselves in vmstat_main() 112 top[idx].user += top[idx].nice; in vmstat_main() 113 top[id in vmstat_main() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | globalThisVarDeclaration.js | 15 top.a; 16 top.b; 30 top.a; 31 top.b; 46 top.a;
47 top.b;
58 top.a;
59 top.b;
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_btree.h | 96 * top frame record the leaf page/entry selected. 106 struct btframe *top; member 112 (btstack)->top = (btstack)->stack 115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) 120 (BTSTACK)->top->bn = BN;\ 121 (BTSTACK)->top->index = INDEX;\ 122 ++(BTSTACK)->top;\ 126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) 129 ( (btstack)->top [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_btree.h | 96 * top frame record the leaf page/entry selected. 106 struct btframe *top; member 112 (btstack)->top = (btstack)->stack 115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1])) 120 (BTSTACK)->top->bn = BN;\ 121 (BTSTACK)->top->index = INDEX;\ 122 ++(BTSTACK)->top;\ 126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top ) 129 ( (btstack)->top [all...] |