Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 4730) sorted by relevance

12345678910>>...190

/external/python/cpython3/Lib/idlelib/
Dzoomheight.py19 self.top = self.editwin.top
25 self.top.bell()
34 top = self.top
36 width, height, x, y = get_window_geometry(top)
38 if top.wm_state() != 'normal':
50 set_window_geometry(top, (width, maxheight, x, maxy))
57 top.wm_geometry('')
61 top = self.top
63 screen_dimensions = (top.winfo_screenwidth(),
64 top.winfo_screenheight())
[all …]
Dsearchbase.py48 self.top = None
53 if not self.top:
56 self.top.deiconify()
57 self.top.tkraise()
58 self.top.transient(text.winfo_toplevel())
65 self.top.grab_set()
69 if self.top:
70 self.top.grab_release()
71 self.top.transient('')
72 self.top.withdraw()
[all …]
/external/freetype/src/psaux/
Dt1decode.c475 decoder->top = decoder->stack; in t1_decoder_parse_charstrings()
509 FT_Long* top = decoder->top; in t1_decoder_parse_charstrings() local
520 FT_TRACE5(( " (%d)", decoder->top - decoder->stack )); in t1_decoder_parse_charstrings()
737 if ( top - decoder->stack >= T1_MAX_CHARSTRINGS_OPERANDS ) in t1_decoder_parse_charstrings()
750 *top++ = value; in t1_decoder_parse_charstrings()
751 decoder->top = top; in t1_decoder_parse_charstrings()
764 if ( top - decoder->stack < 2 ) in t1_decoder_parse_charstrings()
767 top -= 2; in t1_decoder_parse_charstrings()
769 subr_no = Fix2Int( top[1] ); in t1_decoder_parse_charstrings()
770 arg_cnt = Fix2Int( top[0] ); in t1_decoder_parse_charstrings()
[all …]
Dpsstack.c77 stack->top = stack->buffer; /* empty stack */ in cf2_stack_init()
102 return (CF2_UInt)( stack->top - stack->buffer ); in cf2_stack_count()
110 if ( stack->top == stack->buffer + stack->stackSize ) in cf2_stack_pushInt()
116 stack->top->u.i = val; in cf2_stack_pushInt()
117 stack->top->type = CF2_NumberInt; in cf2_stack_pushInt()
118 stack->top++; in cf2_stack_pushInt()
126 if ( stack->top == stack->buffer + stack->stackSize ) in cf2_stack_pushFixed()
132 stack->top->u.r = val; in cf2_stack_pushFixed()
133 stack->top->type = CF2_NumberFixed; in cf2_stack_pushFixed()
134 stack->top++; in cf2_stack_pushFixed()
[all …]
/external/catch2/docs/
DReadme.md1 <a id="top"></a>
4 To get the most out of Catch2, start with the [tutorial](tutorial.md#top).
8 * [Assertion macros](assertions.md#top)
9 * [Matchers](matchers.md#top)
10 * [Logging macros](logging.md#top)
11 * [Test cases and sections](test-cases-and-sections.md#top)
12 * [Test fixtures](test-fixtures.md#top)
13 * [Reporters](reporters.md#top)
14 * [Event Listeners](event-listeners.md#top)
15 * [Data Generators](generators.md#top)
[all …]
/external/webp/src/dsp/
Denc.c239 const uint8_t* top, int size) { in VerticalPred() argument
241 if (top != NULL) { in VerticalPred()
242 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred()
261 const uint8_t* top, int size) { in TrueMotion() argument
264 if (top != NULL) { in TrueMotion()
270 dst[x] = clip_table[top[x]]; in TrueMotion()
282 if (top != NULL) { in TrueMotion()
283 VerticalPred(dst, top, size); in TrueMotion()
291 const uint8_t* top, in DCMode() argument
295 if (top != NULL) { in DCMode()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DTopKSelectorTest.java60 TopKSelector<Integer> top = TopKSelector.least(0); in testZeroK() local
62 top.offer(i); in testZeroK()
64 assertThat(top.topK()).isEmpty(); in testZeroK()
68 TopKSelector<Integer> top = TopKSelector.least(10); in testNoElementsOffered() local
69 assertThat(top.topK()).isEmpty(); in testNoElementsOffered()
73 TopKSelector<Integer> top = TopKSelector.least(10); in testOfferedFewerThanK() local
74 top.offer(3); in testOfferedFewerThanK()
75 top.offer(5); in testOfferedFewerThanK()
76 top.offer(2); in testOfferedFewerThanK()
77 assertThat(top.topK()).containsExactly(2, 3, 5).inOrder(); in testOfferedFewerThanK()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DTopKSelectorTest.java60 TopKSelector<Integer> top = TopKSelector.least(0); in testZeroK() local
62 top.offer(i); in testZeroK()
64 assertThat(top.topK()).isEmpty(); in testZeroK()
68 TopKSelector<Integer> top = TopKSelector.least(10); in testNoElementsOffered() local
69 assertThat(top.topK()).isEmpty(); in testNoElementsOffered()
73 TopKSelector<Integer> top = TopKSelector.least(10); in testOfferedFewerThanK() local
74 top.offer(3); in testOfferedFewerThanK()
75 top.offer(5); in testOfferedFewerThanK()
76 top.offer(2); in testOfferedFewerThanK()
77 assertThat(top.topK()).containsExactly(2, 3, 5).inOrder(); in testOfferedFewerThanK()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/cmake/upb/json/
Dparser.c243 upb_jsonparser_frame *top; member
285 inner = p->top + 1; in start_jsonparser_frame()
393 bool ok = upb_handlers_getselector(p->top->f, type, &sel); in getsel_for_handlertype()
400 p, upb_handlers_getprimitivehandlertype(p->top->f)); in parser_getsel()
404 if ((p->top + 1) == p->limit) { in check_stack()
502 upb_fielddef_name(p->top->f)); in base64_push()
519 upb_sink_putstring(p->top->sink, sel, output, 3, NULL); in base64_push()
528 upb_fielddef_name(p->top->f)); in base64_push()
544 upb_sink_putstring(p->top->sink, sel, &output, 1, NULL); in base64_push()
561 upb_sink_putstring(p->top->sink, sel, output, 2, NULL); in base64_push()
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dtop_n_test.cc51 TopN<int, Cmp> top(limit, cmp); in TestIntTopNHelper() local
54 for (int e : shadow) top.push(e); in TestIntTopNHelper()
57 EXPECT_EQ(top_size, top.size()); in TestIntTopNHelper()
59 EXPECT_EQ(shadow[top_size - 1], top.peek_bottom()); in TestIntTopNHelper()
63 v = ConsumeRawPtr(top.ExtractUnsorted()); in TestIntTopNHelper()
66 v = ConsumeRawPtr(top.Extract()); in TestIntTopNHelper()
110 TopN<string> top(3); in TEST() local
111 EXPECT_TRUE(top.empty()); in TEST()
112 top.push("abracadabra"); in TEST()
113 top.push("waldemar"); in TEST()
[all …]
/external/webrtc/modules/desktop_capture/
Ddesktop_region.cc26 DesktopRegion::Row::Row(int32_t top, int32_t bottom) in Row() argument
27 : top(top), bottom(bottom) {} in Row()
66 it1->second->top != it2->second->top || in Equals()
95 int top = rect.top(); in AddRect() local
99 Rows::iterator row = rows_.upper_bound(top); in AddRect()
100 while (top < rect.bottom()) { in AddRect()
101 if (row == rows_.end() || top < row->second->top) { in AddRect()
105 if (row != rows_.end() && row->second->top < bottom) in AddRect()
106 bottom = row->second->top; in AddRect()
107 row = rows_.insert(row, Rows::value_type(bottom, new Row(top, bottom))); in AddRect()
[all …]
/external/libaom/libaom/av1/common/arm/
Dcfl_neon.c50 const uint16x4_t top = vpaddl_u8(vldh_dup_u8(input)); in cfl_luma_subsampling_420_lbd_neon() local
51 const uint16x4_t sum = vpadal_u8(top, vldh_dup_u8(input + input_stride)); in cfl_luma_subsampling_420_lbd_neon()
54 const uint16x4_t top = vpaddl_u8(vld1_u8(input)); in cfl_luma_subsampling_420_lbd_neon() local
55 const uint16x4_t sum = vpadal_u8(top, vld1_u8(input + input_stride)); in cfl_luma_subsampling_420_lbd_neon()
58 const uint16x8_t top = vpaddlq_u8(vld1q_u8(input)); in cfl_luma_subsampling_420_lbd_neon() local
59 const uint16x8_t sum = vpadalq_u8(top, vld1q_u8(input + input_stride)); in cfl_luma_subsampling_420_lbd_neon()
62 const uint8x8x4_t top = vld4_u8(input); in cfl_luma_subsampling_420_lbd_neon() local
65 const uint16x8_t top_0 = vaddl_u8(top.val[0], top.val[1]); in cfl_luma_subsampling_420_lbd_neon()
69 const uint16x8_t top_1 = vaddl_u8(top.val[2], top.val[3]); in cfl_luma_subsampling_420_lbd_neon()
88 const uint16x4_t top = vpaddl_u8(vldh_dup_u8(input)); in cfl_luma_subsampling_422_lbd_neon() local
[all …]
/external/python/cpython2/Lib/idlelib/
DSearchDialogBase.py45 self.top = None
50 if not self.top:
53 self.top.deiconify()
54 self.top.tkraise()
61 self.top.grab_set()
65 if self.top:
66 self.top.grab_release()
67 self.top.withdraw()
75 top = Toplevel(self.root)
76 top.bind("<Return>", self.default_command)
[all …]
/external/python/cpython2/Tools/webchecker/
Dwsgui.py92 def __init__(self, top): argument
93 self.top = top
94 top.columnconfigure(99, weight=1)
95 self.url_label = Label(top, text="URL:")
97 self.url_entry = Entry(top, width=60, exportselection=0)
102 self.dir_label = Label(top, text="Directory:")
104 self.dir_entry = Entry(top)
107 self.go_button = Button(top, text="Go", command=self.go)
109 self.cancel_button = Button(top, text="Cancel",
113 self.auto_button = Button(top, text="Paste+Go",
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DViewInnerTextTest.java27 LinearLayout top = new LinearLayout(context); in testInnerText() local
28 top.addView(textView("blah")); in testInnerText()
29 top.addView(new View(context)); in testInnerText()
30 top.addView(textView("a b c")); in testInnerText()
33 top.addView(innerLayout); in testInnerText()
41 top.addView(textView("mnop")); in testInnerText()
43 assertEquals("blah a b c d e f g h i jkl! mnop", shadowOf(top).innerText()); in testInnerText()
48 LinearLayout top = new LinearLayout(context); in shouldOnlyIncludeViewTextViewsText() local
49 top.addView(textView("blah", View.VISIBLE)); in shouldOnlyIncludeViewTextViewsText()
50 top.addView(textView("blarg", View.GONE)); in shouldOnlyIncludeViewTextViewsText()
[all …]
/external/pdfium/core/fxcrt/
Dfx_coordinates.h185 FX_RECT(int l, int t, int r, int b) : left(l), top(t), right(r), bottom(b) {} in FX_RECT()
188 int Height() const { return bottom - top; } in Height()
189 bool IsEmpty() const { return right <= left || bottom <= top; } in IsEmpty()
195 h -= top; in Valid()
206 top += dy; in Offset()
211 return left == src.left && right == src.right && top == src.top &&
216 return x >= left && x < right && y >= top && y < bottom; in Contains()
220 int32_t top = 0; member
230 : left(l), bottom(b), right(r), top(t) {} in CFX_FloatRect()
241 bool IsEmpty() const { return left >= right || bottom >= top; } in IsEmpty()
[all …]
Dfx_coordinates.cpp40 static_assert(offsetof(FX_RECT, top) == offsetof(RECT, top),
48 static_assert(sizeof(FX_RECT::top) == sizeof(RECT::top),
61 if (top > bottom) in Normalize()
62 std::swap(top, bottom); in Normalize()
70 top = std::max(top, src_n.top); in Intersect()
73 if (left > right || top > bottom) { in Intersect()
74 left = top = right = bottom = 0; in Intersect()
80 : left(rect.left), bottom(rect.top), right(rect.right), top(rect.bottom) {} in CFX_FloatRect()
103 if (bottom > top) in Normalize()
104 std::swap(top, bottom); in Normalize()
[all …]
/external/swiftshader/src/OpenGL/common/
DMatrixStack.cpp26 top = 0; in MatrixStack()
38 stack[top] = 1; in identity()
43 stack[top] = M; in load()
48 stack[top] = Matrix(M[0], M[4], M[8], M[12], in load()
56 stack[top] = Matrix((float)M[0], (float)M[4], (float)M[8], (float)M[12], in load()
64 stack[top] *= Matrix::translate(x, y, z); in translate()
90 stack[top] *= rotate; in rotate()
100 stack[top] *= Matrix::scale(x, y, z); in scale()
110 stack[top] *= Matrix(M[0], M[4], M[8], M[12], in multiply()
118 stack[top] *= Matrix((float)M[0], (float)M[4], (float)M[8], (float)M[12], in multiply()
[all …]
/external/lua/src/
Dlapi.c60 api_check(L, idx <= L->ci->top - (ci->func + 1), "unacceptable index"); in index2value()
61 if (o >= L->top) return &G(L)->nilvalue; in index2value()
65 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2value()
66 return s2v(L->top + idx); in index2value()
87 api_check(L, o < L->top, "unacceptable index"); in index2stack()
91 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index"); in index2stack()
93 return L->top + idx; in index2stack()
104 if (L->stack_last - L->top > n) /* stack large enough? */ in lua_checkstack()
107 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack()
113 if (res && ci->top < L->top + n) in lua_checkstack()
[all …]
/external/python/cpython2/Demo/tix/samples/
DDirTree.py43 top = Tix.Frame( w, relief=RAISED, bd=1)
49 top.dir = Tix.DirTree(top)
50 top.dir.hlist['width'] = 40
55 top.btn = Tix.Button(top, text = " >> ", pady = 0)
61 top.ent = Tix.LabelEntry(top, label="Installation Directory:",
69 top.ent.entry['textvariable'] = self.dlist_dir
70 top.btn['command'] = lambda dir=top.dir, ent=top.ent, self=self: \
73 top.ent.entry.bind('<Return>', lambda self=self: self.okcmd () )
75 top.pack( expand='yes', fill='both', side=TOP)
76 top.dir.pack( expand=1, fill=BOTH, padx=4, pady=4, side=LEFT)
[all …]
DDirList.py43 top = Tix.Frame( w, relief=RAISED, bd=1)
49 top.dir = Tix.DirList(top)
50 top.dir.hlist['width'] = 40
55 top.btn = Tix.Button(top, text = " >> ", pady = 0)
61 top.ent = Tix.LabelEntry(top, label="Installation Directory:",
70 top.ent.entry['font'] = font
74 top.ent.entry['textvariable'] = self.dlist_dir
75 top.btn['command'] = lambda dir=top.dir, ent=top.ent, self=self: \
79 top.ent.entry.bind('<Return>', lambda self=self: self.okcmd () )
81 top.pack( expand='yes', fill='both', side=TOP)
[all …]
/external/openssh/
Dbitmap.c34 size_t top; /* index of top word allocated */ member
49 ret->top = 0; in bitmap_new()
68 b->top = 0; in bitmap_zero()
74 if (b->top >= b->len) in bitmap_test_bit()
76 if (b->len == 0 || (n / BITMAP_BITS) > b->top) in bitmap_test_bit()
87 if (b->top >= b->len || n > BITMAP_MAX) in reserve()
109 if (offset > b->top) in bitmap_set_bit()
110 b->top = offset; in bitmap_set_bit()
119 if (b->top >= b->len) in retop()
121 while (b->top > 0 && b->d[b->top] == 0) in retop()
[all …]
/external/doclava/res/assets/templates/assets/
Dstyle.css17 margin-top: 3px;
22 margin-top: 0;
27 vertical-align: top;
29 padding-top: 2px;
34 border-top: 1px solid #d2d7d0;
49 vertical-align: top;
50 padding-top: 3px;
54 border-top: 1px solid #d2d7d0;
60 vertical-align: top;
61 padding-top: 3px;
[all …]
/external/python/cpython3/Lib/test/
Dtest_symtable.py54 top = symtable.symtable(TEST_CODE, "?", "exec") variable in SymtableTest
56 Mine = find_block(top, "Mine")
58 spam = find_block(top, "spam")
61 foo = find_block(top, "foo")
64 self.assertEqual(self.top.get_type(), "module")
71 self.assertFalse(self.top.is_optimized())
76 self.assertFalse(self.top.is_nested())
82 self.assertTrue(self.top.has_children())
87 self.assertEqual(self.top.get_lineno(), 0)
107 self.assertTrue(self.top.lookup("some_non_assigned_global_var").is_global())
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DFrame.java27 private int top; field in Frame
87 top = 0; in clearStack()
99 return top - 1; in getTopIndex()
118 if (top < 1) in peek()
121 return stack[top - 1]; in peek()
130 if (top < 1) in pop()
132 return stack[--top]; in pop()
141 stack[top++] = type; in push()
155 frame.top = top; in copy()
168 frame.top = top; in copyStack()
[all …]

12345678910>>...190