Home
last modified time | relevance | path

Searched refs:top (Results 76 - 100 of 2277) sorted by relevance

12345678910>>...92

/third_party/openssl/crypto/bn/
H A Dbn_rand.c23 static int bnrand(BNRAND_FLAG flag, BIGNUM *rnd, int bits, int top, int bottom, in bnrand() argument
31 if (top != BN_RAND_TOP_ANY || bottom != BN_RAND_BOTTOM_ANY) in bnrand()
36 if (bits < 0 || (bits == 1 && top > 0)) in bnrand()
49 /* make a random number and set the top and bottom bits */ in bnrand()
74 if (top >= 0) { in bnrand()
75 if (top) { in bnrand()
102 int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, in BN_rand_ex() argument
105 return bnrand(NORMAL, rnd, bits, top, bottom, strength, ctx); in BN_rand_ex()
108 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) in BN_rand() argument
110 return bnrand(NORMAL, rnd, bits, top, botto in BN_rand()
113 BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_bntest_rand() argument
119 BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, unsigned int strength, BN_CTX *ctx) BN_priv_rand_ex() argument
126 BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_priv_rand() argument
231 BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) BN_pseudo_rand() argument
[all...]
H A Dbn_mont.c42 int num = mont->N.top; in bn_mul_mont_fixed_top()
45 if (num > 1 && num <= BN_SOFT_LIMIT && a->top == num && b->top == num) { in bn_mul_mont_fixed_top()
50 r->top = num; in bn_mul_mont_fixed_top()
57 if ((a->top + b->top) > 2 * num) in bn_mul_mont_fixed_top()
96 nl = n->top; in bn_from_montgomery_word()
98 ret->top = 0; in bn_from_montgomery_word()
110 /* clear the top words of T */ in bn_from_montgomery_word()
111 for (rtop = r->top, in bn_from_montgomery_word()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_fillborders.c38 int left, right, top, bottom; member
43 int left, right, top, bottom; member
88 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in smear_borders8()
97 for (y = 0; y < s->borders[p].top; y++) { in smear_borders8()
99 ptr + s->borders[p].top * linesize, s->planewidth[p]); in smear_borders8()
118 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in smear_borders16()
129 for (y = 0; y < s->borders[p].top; y++) { in smear_borders16()
131 ptr + s->borders[p].top * linesize, s->planewidth[p] * 2); in smear_borders16()
150 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in mirror_borders8()
161 for (y = 0; y < s->borders[p].top; in mirror_borders8()
498 const int top = s->borders[p].top; margins_borders8() local
543 const int top = s->borders[p].top; margins_borders16() local
[all...]
/third_party/python/Lib/idlelib/
H A Ddynoption.py35 top = Toplevel(parent)
36 top.title("Test dynamic option menu")
38 top.geometry("200x100+%d+%d" % (x + 250, y + 175))
39 top.focus_set()
41 var = StringVar(top)
43 dyn = DynOptionMenu(top, var, "old1","old2","old3","old4",
49 button = Button(top, text="Change option set", command=update)
H A Dpercolator.py11 self.top = self.bottom = Delegator(text)
17 while self.top is not self.bottom:
18 self.removefilter(self.top)
19 self.top = None
28 self.top.insert(index, chars, tags)
32 self.top.delete(index1, index2)
38 filter.setdelegate(self.top)
39 self.top = filter
46 f = self.top
60 f = self.top
[all...]
H A Dstackviewer.py10 def StackBrowser(root, flist=None, tb=None, top=None):
12 if top is None:
13 top = tk.Toplevel(root)
14 sc = ScrolledCanvas(top, bg="white", highlightthickness=0)
129 top = tk.Toplevel(parent)
130 top.title("Test StackViewer")
132 top.geometry("+%d+%d" % (x + 50, y + 175))
133 flist = PyShellFileList(top)
143 StackBrowser(top, flist=flist, top
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv.c262 inst->top = inst->base + params->inst_const_size; in dmub_srv_calc_region_info()
264 data->base = dmub_align(inst->top, 256); in dmub_srv_calc_region_info()
265 data->top = data->base + params->bss_data_size; in dmub_srv_calc_region_info()
272 stack->base = dmub_align(data->top, 256); in dmub_srv_calc_region_info()
273 stack->top = stack->base + DMUB_STACK_SIZE + DMUB_CONTEXT_SIZE; in dmub_srv_calc_region_info()
275 bios->base = dmub_align(stack->top, 256); in dmub_srv_calc_region_info()
276 bios->top = bios->base + params->vbios_size; in dmub_srv_calc_region_info()
280 mail->top = mail->base + DMUB_MAILBOX_SIZE; in dmub_srv_calc_region_info()
281 previous_top = bios->top; in dmub_srv_calc_region_info()
283 mail->base = dmub_align(bios->top, 25 in dmub_srv_calc_region_info()
[all...]
/third_party/alsa-utils/topology/
H A Dpre-processor.c247 fprintf(stderr, "compound type expected at top level"); in pre_process_config()
309 /* create output top-level config node */ in init_pre_processor()
432 static int pre_process_includes(struct tplg_pre_processor *tplg_pp, snd_config_t *top);
479 /* create top-level config node */ in pre_process_include_conf()
482 SNDERR("failed to create top-level node for include conf %s\n", variable_name); in pre_process_include_conf()
562 static int pre_process_includes(struct tplg_pre_processor *tplg_pp, snd_config_t *top) in pre_process_includes() argument
572 ret = snd_config_search(top, "IncludeByKey", &includes); in pre_process_includes()
576 snd_config_get_id(top, &top_id); in pre_process_includes()
600 /* merge the included conf file with the top-level conf */ in pre_process_includes()
601 ret = snd_config_merge(top, ne in pre_process_includes()
614 pre_process_includes_all(struct tplg_pre_processor *tplg_pp, snd_config_t *top) pre_process_includes_all() argument
693 pre_process_create_items(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg, snd_config_t *top, int *object_count_offset) pre_process_create_items() argument
816 pre_process_array_item(struct tplg_pre_processor *tplg_pp, snd_config_t *top, snd_config_t *array) pre_process_array_item() argument
878 pre_process_array(struct tplg_pre_processor *tplg_pp, snd_config_t *top) pre_process_array() argument
895 pre_process_arrays(struct tplg_pre_processor *tplg_pp, snd_config_t *top) pre_process_arrays() argument
930 snd_config_t *top; pre_process() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_mont.c42 int num = mont->N.top; in bn_mul_mont_fixed_top()
45 if (num > 1 && num <= BN_SOFT_LIMIT && a->top == num && b->top == num) { in bn_mul_mont_fixed_top()
50 r->top = num; in bn_mul_mont_fixed_top()
57 if ((a->top + b->top) > 2 * num) in bn_mul_mont_fixed_top()
96 nl = n->top; in bn_from_montgomery_word()
98 ret->top = 0; in bn_from_montgomery_word()
110 /* clear the top words of T */ in bn_from_montgomery_word()
111 for (rtop = r->top, in bn_from_montgomery_word()
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpicture_rescale_enc.c38 // Adjust top-left corner to chroma sample position.
40 int* const left, int* const top) { in SnapTopLeftPosition()
43 *top &= ~1; in SnapTopLeftPosition()
47 // Adjust top-left corner and verify that the sub-rectangle is valid.
49 int* const left, int* const top, in AdjustAndCheckRectangle()
51 SnapTopLeftPosition(pic, left, top); in AdjustAndCheckRectangle()
52 if ((*left) < 0 || (*top) < 0) return 0; in AdjustAndCheckRectangle()
55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle()
94 int left, int top, int width, int height, in WebPPictureView()
99 if (!AdjustAndCheckRectangle(src, &left, &top, widt in WebPPictureView()
39 SnapTopLeftPosition(const WebPPicture* const pic, int* const left, int* const top) SnapTopLeftPosition() argument
48 AdjustAndCheckRectangle(const WebPPicture* const pic, int* const left, int* const top, int width, int height) AdjustAndCheckRectangle() argument
93 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) WebPPictureView() argument
126 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) WebPPictureCrop() argument
288 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) WebPPictureView() argument
300 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) WebPPictureCrop() argument
[all...]
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless.c110 uint32_t VP8LPredictor0_C(uint32_t left, const uint32_t* const top) { in VP8LPredictor0_C() argument
111 (void)top; in VP8LPredictor0_C()
115 uint32_t VP8LPredictor1_C(uint32_t left, const uint32_t* const top) { in VP8LPredictor1_C() argument
116 (void)top; in VP8LPredictor1_C()
119 uint32_t VP8LPredictor2_C(uint32_t left, const uint32_t* const top) { in VP8LPredictor2_C() argument
121 return top[0]; in VP8LPredictor2_C()
123 uint32_t VP8LPredictor3_C(uint32_t left, const uint32_t* const top) { in VP8LPredictor3_C() argument
125 return top[1]; in VP8LPredictor3_C()
127 uint32_t VP8LPredictor4_C(uint32_t left, const uint32_t* const top) { in VP8LPredictor4_C() argument
129 return top[ in VP8LPredictor4_C()
131 VP8LPredictor5_C(uint32_t left, const uint32_t* const top) VP8LPredictor5_C() argument
135 VP8LPredictor6_C(uint32_t left, const uint32_t* const top) VP8LPredictor6_C() argument
139 VP8LPredictor7_C(uint32_t left, const uint32_t* const top) VP8LPredictor7_C() argument
143 VP8LPredictor8_C(uint32_t left, const uint32_t* const top) VP8LPredictor8_C() argument
148 VP8LPredictor9_C(uint32_t left, const uint32_t* const top) VP8LPredictor9_C() argument
153 VP8LPredictor10_C(uint32_t left, const uint32_t* const top) VP8LPredictor10_C() argument
157 VP8LPredictor11_C(uint32_t left, const uint32_t* const top) VP8LPredictor11_C() argument
161 VP8LPredictor12_C(uint32_t left, const uint32_t* const top) VP8LPredictor12_C() argument
165 VP8LPredictor13_C(uint32_t left, const uint32_t* const top) VP8LPredictor13_C() argument
[all...]
/third_party/musl/src/math/
H A Dsqrt.c26 uint64_t ix, top, m; in sqrt() local
30 top = ix >> 52; in sqrt()
31 if (predict_false(top - 0x001 >= 0x7ff - 0x001)) { in sqrt()
41 top = ix >> 52; in sqrt()
42 top -= 52; in sqrt()
49 int even = top & 1; in sqrt()
52 top = (top + 0x3ff) >> 1; in sqrt()
146 s |= top << 52; in sqrt()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dsqrt.c26 uint64_t ix, top, m; in sqrt() local
30 top = ix >> 52; in sqrt()
31 if (predict_false(top - 0x001 >= 0x7ff - 0x001)) { in sqrt()
41 top = ix >> 52; in sqrt()
42 top -= 52; in sqrt()
49 int even = top & 1; in sqrt()
52 top = (top + 0x3ff) >> 1; in sqrt()
146 s |= top << 52; in sqrt()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DLRUCache.hpp42 int top; member in sw::LRUCache
98 top = 0; in LRUCache()
127 for(int i = top; i > top - fill; i--) in query()
135 if(i != top) in query()
159 top = (top + 1) & mask; in add()
162 *ref[top] = key; in add()
163 this->data[top] = data; in add()
/third_party/alsa-lib/test/lsb/
H A Dconfig.c61 snd_config_t *top; in test_top() local
64 if (ALSA_CHECK(snd_config_top(&top)) < 0) in test_top()
67 TEST_CHECK(snd_config_get_type(top) == SND_CONFIG_TYPE_COMPOUND); in test_top()
68 TEST_CHECK(snd_config_iterator_first(top) == snd_config_iterator_end(top)); in test_top()
69 TEST_CHECK(snd_config_get_id(top, &id) >= 0 && id == NULL); in test_top()
71 ALSA_CHECK(snd_config_delete(top)); in test_top()
165 snd_config_t *top, *c; in test_search() local
169 ALSA_CHECK(snd_config_top(&top)); in test_search()
170 ALSA_CHECK(snd_config_load(top, inpu in test_search()
198 snd_config_t *top, *c; test_searchv() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
H A Dbttv-risc.c267 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay()
383 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
404 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
459 if (NULL != btv->curr.top) btv->cap_ctl |= 0x02; in bttv_set_dma()
468 d2printk("%d: capctl=%x lirq=%d top=%08llx/%08llx even=%08llx/%08llx\n", in bttv_set_dma()
470 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
471 btv->curr.top ? (unsigned long long)btv->curr.top in bttv_set_dma()
588 struct btcx_riscmem *top; bttv_buffer_activate_vbi() local
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Ddumpstack.c66 unsigned long frame_size, top; in in_irq_stack() local
69 top = S390_lowcore.async_stack + frame_size; in in_irq_stack()
70 return in_stack(sp, info, STACK_TYPE_IRQ, top - THREAD_SIZE, top); in in_irq_stack()
75 unsigned long frame_size, top; in in_nodat_stack() local
78 top = S390_lowcore.nodat_stack + frame_size; in in_nodat_stack()
79 return in_stack(sp, info, STACK_TYPE_NODAT, top - THREAD_SIZE, top); in in_nodat_stack()
84 unsigned long frame_size, top; in in_restart_stack() local
87 top in in_restart_stack()
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_btf.c79 int i, top = 0; in btf_find_struct_member() local
95 top < BTF_ANON_STACK_MAX) { in btf_find_struct_member()
96 anon_stack[top].tid = tid; in btf_find_struct_member()
97 anon_stack[top++].offset = in btf_find_struct_member()
109 if (top > 0) { in btf_find_struct_member()
111 tid = anon_stack[--top].tid; in btf_find_struct_member()
112 cur_offset = anon_stack[top].offset; in btf_find_struct_member()
/third_party/node/deps/v8/src/heap/
H A Dlinear-allocation-area.h19 // start <= top <= limit
23 LinearAllocationArea(Address top, Address limit) in LinearAllocationArea() argument
24 : start_(top), top_(top), limit_(limit) { in LinearAllocationArea()
28 void Reset(Address top, Address limit) { in Reset() argument
29 start_ = top; in Reset()
30 top_ = top; in Reset()
84 V8_INLINE Address top() const { in top() function in v8::internal::final
108 // The start of the LAB. Initially coincides with `top_`. As top is moved
112 // The top o
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/
H A Dbttv-risc.c294 && crop->top == tvnorm->cropcap.defrect.top in bttv_calc_geo()
315 geo->vdelay = crop->top - tvnorm->cropcap.bounds.top + MIN_VDELAY; in bttv_calc_geo()
386 if (btv->curr.top || btv->curr.bottom) in bttv_set_capture_control()
433 d2printk("%d: capctl=%x lirq=%d top=%08llx/%08llx even=%08llx/%08llx\n", in bttv_set_dma()
435 btv->cvbi ? (unsigned long long)btv->cvbi->top.dma : 0, in bttv_set_dma()
436 btv->curr.top ? (unsigned long long)btv->curr.top->top in bttv_set_dma()
557 struct btcx_riscmem *top; bttv_buffer_activate_vbi() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcavs.c183 void ff_cavs_load_intra_pred_luma(AVSContext *h, uint8_t *top, in ff_cavs_load_intra_pred_luma() argument
193 memcpy(&top[1], &h->top_border_y[h->mbx * 16], 16); in ff_cavs_load_intra_pred_luma()
194 top[17] = top[16]; in ff_cavs_load_intra_pred_luma()
195 top[0] = top[1]; in ff_cavs_load_intra_pred_luma()
197 h->left_border_y[0] = top[0] = h->topleft_border_y; in ff_cavs_load_intra_pred_luma()
205 memcpy(&top[1], &h->top_border_y[h->mbx * 16 + 8], 8); in ff_cavs_load_intra_pred_luma()
207 memcpy(&top[9], &h->top_border_y[(h->mbx + 1) * 16], 8); in ff_cavs_load_intra_pred_luma()
209 memset(&top[ in ff_cavs_load_intra_pred_luma()
257 intra_pred_vert(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_vert() argument
265 intra_pred_horiz(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_horiz() argument
275 intra_pred_dc_128(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_dc_128() argument
283 intra_pred_plane(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_plane() argument
305 intra_pred_lp(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_lp() argument
313 intra_pred_down_left(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_down_left() argument
321 intra_pred_down_right(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_down_right() argument
334 intra_pred_lp_left(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_lp_left() argument
342 intra_pred_lp_top(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride) intra_pred_lp_top() argument
[all...]
/third_party/alsa-utils/topology/nhlt/intel/
H A Dintel-nhlt.c10 static int get_int_val(snd_config_t *input, long *int_val, snd_config_t *top) in get_int_val() argument
25 ret = snd_config_search(top, tplg_define, &n); in get_int_val()
32 static int get_string_val(snd_config_t *input, const char **string_val, snd_config_t *top) in get_string_val() argument
46 ret = snd_config_search(top, tplg_define, &n); in get_string_val()
70 snd_config_t *top, const char *class_name) in find_set_values()
81 ret = snd_config_search(top, class_name, &class_cfg); in find_set_values()
118 get_int_val(temp_val->data, temp_val->int_val, top); in find_set_values()
120 get_string_val(temp_val->data, temp_val->string_val, top); in find_set_values()
69 find_set_values(struct dai_values *values, int size, snd_config_t *dai_cfg, snd_config_t *top, const char *class_name) find_set_values() argument
/third_party/skia/tests/
H A DCanvasStateHelpers.cpp25 void complex_layers_draw(SkCanvas* canvas, float left, float top, in complex_layers_draw() argument
31 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); in complex_layers_draw()
38 float left, float top, float right, float bottom, int32_t spacer) { in complex_layers_draw_from_canvas_state()
43 complex_layers_draw(canvas.get(), left, top, right, bottom, spacer); in complex_layers_draw_from_canvas_state()
47 void complex_clips_draw(SkCanvas* canvas, int32_t left, int32_t top, in complex_clips_draw() argument
50 SkRect clipRect = SkRect::MakeLTRB(SkIntToScalar(left), SkIntToScalar(top), in complex_clips_draw()
61 int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, in complex_clips_draw_from_canvas_state()
75 complex_clips_draw(canvas.get(), left, top, right, bottom, clipOp, localRegion); in complex_clips_draw_from_canvas_state()
37 complex_layers_draw_from_canvas_state(SkCanvasState* state, float left, float top, float right, float bottom, int32_t spacer) complex_layers_draw_from_canvas_state() argument
60 complex_clips_draw_from_canvas_state(SkCanvasState* state, int32_t left, int32_t top, int32_t right, int32_t bottom, int32_t clipOp, int32_t regionRects, int32_t* rectCoords) complex_clips_draw_from_canvas_state() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
H A Dqxl_draw.c90 drawable->self_bitmap_area.top = 0; in make_drawable()
137 int left, right, top, bottom; in qxl_draw_dirty_fb() local
160 top = clips->y1; in qxl_draw_dirty_fb()
168 top = min_t(int, top, (int)clips_ptr->y1); in qxl_draw_dirty_fb()
173 height = bottom - top; in qxl_draw_dirty_fb()
192 drawable_rect.top = top; in qxl_draw_dirty_fb()
206 top, width, height, depth, stride); in qxl_draw_dirty_fb()
222 drawable->u.copy.src_area.top in qxl_draw_dirty_fb()
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_tooltip.py40 top = Toplevel(root)
41 testobj.addCleanup(top.destroy)
42 top.title("Test tooltip")
43 button = Button(top, text='ToolTip test button')
46 top.lift()
47 return top, button
52 self.top, self.button = _make_top_and_button(self)
56 top = Toplevel(root)
57 self.addCleanup(top.destroy)
59 button = Button(top, tex
[all...]

Completed in 19 milliseconds

12345678910>>...92