Home
last modified time | relevance | path

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

12345678910>>...164

/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.py49 self.top = None
54 if not self.top:
57 self.top.deiconify()
58 self.top.tkraise()
59 self.top.transient(text.winfo_toplevel())
66 self.top.grab_set()
70 if self.top:
71 self.top.grab_release()
72 self.top.transient('')
73 self.top.withdraw()
[all …]
/external/freetype/src/psaux/
Dt1decode.c478 decoder->top = decoder->stack; in t1_decoder_parse_charstrings()
512 FT_Long* top = decoder->top; in t1_decoder_parse_charstrings() local
523 FT_TRACE5(( " (%ld)", decoder->top - decoder->stack )); in t1_decoder_parse_charstrings()
740 if ( top - decoder->stack >= T1_MAX_CHARSTRINGS_OPERANDS ) in t1_decoder_parse_charstrings()
753 *top++ = value; in t1_decoder_parse_charstrings()
754 decoder->top = top; in t1_decoder_parse_charstrings()
767 if ( top - decoder->stack < 2 ) in t1_decoder_parse_charstrings()
770 top -= 2; in t1_decoder_parse_charstrings()
772 subr_no = Fix2Int( top[1] ); in t1_decoder_parse_charstrings()
773 arg_cnt = Fix2Int( top[0] ); in t1_decoder_parse_charstrings()
[all …]
Dpsstack.c75 stack->top = stack->buffer; /* empty stack */ in cf2_stack_init()
100 return (CF2_UInt)( stack->top - stack->buffer ); in cf2_stack_count()
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 …]
/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/guava-tests/test/com/google/common/collect/
DTopKSelectorTest.java62 TopKSelector<Integer> top = TopKSelector.least(0); in testZeroK() local
64 top.offer(i); in testZeroK()
66 assertThat(top.topK()).isEmpty(); in testZeroK()
70 TopKSelector<Integer> top = TopKSelector.least(10); in testNoElementsOffered() local
71 assertThat(top.topK()).isEmpty(); in testNoElementsOffered()
75 TopKSelector<Integer> top = TopKSelector.least(10); in testOfferedFewerThanK() local
76 top.offer(3); in testOfferedFewerThanK()
77 top.offer(5); in testOfferedFewerThanK()
78 top.offer(2); in testOfferedFewerThanK()
79 assertThat(top.topK()).containsExactly(2, 3, 5).inOrder(); in testOfferedFewerThanK()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DTopKSelectorTest.java62 TopKSelector<Integer> top = TopKSelector.least(0); in testZeroK() local
64 top.offer(i); in testZeroK()
66 assertThat(top.topK()).isEmpty(); in testZeroK()
70 TopKSelector<Integer> top = TopKSelector.least(10); in testNoElementsOffered() local
71 assertThat(top.topK()).isEmpty(); in testNoElementsOffered()
75 TopKSelector<Integer> top = TopKSelector.least(10); in testOfferedFewerThanK() local
76 top.offer(3); in testOfferedFewerThanK()
77 top.offer(5); in testOfferedFewerThanK()
78 top.offer(2); in testOfferedFewerThanK()
79 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/pdfium/core/fxcrt/
Dfx_coordinates.cpp48 static_assert(offsetof(FX_RECT, top) == offsetof(RECT, top),
56 static_assert(sizeof(FX_RECT::top) == sizeof(RECT::top),
85 h -= top; in Valid()
92 if (top > bottom) in Normalize()
93 std::swap(top, bottom); in Normalize()
101 top = std::max(top, src_n.top); in Intersect()
104 if (left > right || top > bottom) { in Intersect()
105 left = top = right = bottom = 0; in Intersect()
115 rect.left = height - top; in SwappedClipBox()
118 rect.left = top; in SwappedClipBox()
[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/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/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/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/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/robolectric/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/python/cpython3/kokoro/
Dkokoro_build.sh4 top=$(cd $(dirname $0)/../../../.. && pwd)
6 out=$top/out/python3
7 python_src=$top/external/python/cpython3
13 docker run -v$top:$top -eKOKORO_BUILD_ID -eSKIP_DOCKER \
64 (cd $top/external/libffi && ./autogen.sh)
65 rm -fr $top/out/libffi
66 mkdir -p $top/out/libffi/build
67 pushd $top/out/libffi/build
68 $top/external/libffi/configure \
70 --prefix=$top/out/libffi/install
[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/apache-commons-io/src/test/java/org/apache/commons/io/
DFileUtilsDeleteDirectoryBaseTest.java36 public File top; field in FileUtilsDeleteDirectoryBaseTest
48 final File realOuter = new File(top, "realouter"); in testDeleteDirWithASymlinkDir()
57 final File randomDirectory = new File(top, "randomDir"); in testDeleteDirWithASymlinkDir()
70 assertEquals(1, top.list().length); in testDeleteDirWithASymlinkDir()
79 final File realOuter = new File(top, "realouter"); in testDeleteDirWithASymlinkDir2()
88 final File randomDirectory = new File(top, "randomDir"); in testDeleteDirWithASymlinkDir2()
101 assertEquals(1, top.list().length); in testDeleteDirWithASymlinkDir2()
109 final File realOuter = new File(top, "realouter"); in testDeleteDirWithSymlinkFile()
120 final File randomFile = new File(top, "randomfile"); in testDeleteDirWithSymlinkFile()
127 assertEquals(2, top.list().length); in testDeleteDirWithSymlinkFile()
[all …]
DFileUtilsDirectoryContainsTest.java48 public File top; field in FileUtilsDirectoryContainsTest
53 directory1 = new File(top, "directory1"); in setUp()
54 directory2 = new File(top, "directory2"); in setUp()
63 file3 = new File(top, "file3"); in setUp()
66 file1ByRelativeDirectory2 = new File(top, "directory2/../directory1/file1"); in setUp()
67 file2ByRelativeDirectory1 = new File(top, "directory1/../directory2/file2"); in setUp()
85 assertTrue(FileUtils.directoryContains(top, directory1)); in testDirectoryContainsDirectory()
86 assertTrue(FileUtils.directoryContains(top, directory2)); in testDirectoryContainsDirectory()
87 assertTrue(FileUtils.directoryContains(top, directory3)); in testDirectoryContainsDirectory()
108 assertFalse(FileUtils.directoryContains(directory1, top)); in testDirectoryDoesNotContainsDirectory()
[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.assertGreater(self.top.get_id(), 0)
78 self.assertFalse(self.top.is_optimized())
83 self.assertFalse(self.top.is_nested())
89 self.assertTrue(self.top.has_children())
94 self.assertEqual(self.top.get_lineno(), 0)
[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 …]

12345678910>>...164