Home
last modified time | relevance | path

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

12345678910>>...253

/external/sdv/vsomeip/third_party/boost/multi_index/include/boost/multi_index/detail/
Drnk_index_ops.hpp52 Pointer top=end_->parent(); in ranked_index_nth() local
53 if(top==Pointer(0)||n>=top->size)return end_; in ranked_index_nth()
56 size_type s=ranked_node_size(top->left()); in ranked_index_nth()
57 if(n==s)return top; in ranked_index_nth()
58 if(n<s)top=top->left(); in ranked_index_nth()
60 top=top->right(); in ranked_index_nth()
72 Pointer top=end_->parent(); in ranked_index_rank() local
73 if(top==Pointer(0))return 0; in ranked_index_rank()
74 if(x==end_)return top->size; in ranked_index_rank()
77 while(x!=top){ in ranked_index_rank()
[all …]
Dord_index_ops.hpp66 Node* top,Node* y,const KeyFromValue& key,const CompatibleKey& x, in ordered_index_find() argument
72 top,y,key,x,comp, in ordered_index_find()
83 Node* top,Node* y,const KeyFromValue& key, in ordered_index_find() argument
87 return ordered_index_find(top,y,key,x,comp,mpl::false_()); in ordered_index_find()
95 Node* top,Node* y,const KeyFromValue& key,const CompatibleKey& x, in ordered_index_find() argument
100 while (top){ in ordered_index_find()
101 if(!comp(key(top->value()),x)){ in ordered_index_find()
102 y=top; in ordered_index_find()
103 top=Node::from_impl(top->left()); in ordered_index_find()
105 else top=Node::from_impl(top->right()); in ordered_index_find()
[all …]
/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(( " (%td)", 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/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/webp/src/dsp/
Denc.c246 const uint8_t* WEBP_RESTRICT top, in VerticalPred() argument
249 if (top != NULL) { in VerticalPred()
250 for (j = 0; j < size; ++j) memcpy(dst + j * BPS, top, size); in VerticalPred()
271 const uint8_t* WEBP_RESTRICT top, int size) { in TrueMotion() argument
274 if (top != NULL) { in TrueMotion()
280 dst[x] = clip_table[top[x]]; in TrueMotion()
292 if (top != NULL) { in TrueMotion()
293 VerticalPred(dst, top, size); in TrueMotion()
302 const uint8_t* WEBP_RESTRICT top, in DCMode() argument
306 if (top != NULL) { in DCMode()
[all …]
/external/perfetto/ui/src/base/
Dgeom.ts95 readonly top: number; property
131 readonly top: number; property in Rect2D
149 top: Math.min(a.y, b.y),
167 top: y,
174 constructor({left, top, right, bottom}: Bounds2D) {
176 this.top = this.y = top;
180 this.height = bottom - top;
192 top: Math.max(this.top, bounds.top),
211 top: this.top - amount,
219 top: this.top - height,
[all …]
Dgeom_unittest.ts44 const rect = new Rect2D({left: 1, top: 2, right: 3, bottom: 4});
49 const rect = new Rect2D({left: 1, top: 2, right: 3, bottom: 8});
54 const a = new Rect2D({left: 1, top: 1, right: 4, bottom: 4});
55 const b = {left: 2, top: 2, right: 5, bottom: 5};
57 expect(result).toMatchObject({left: 2, top: 2, right: 4, bottom: 4});
63 const rect = new Rect2D({left: 1, top: 1, right: 3, bottom: 3});
65 expect(result).toMatchObject({left: 0, top: 0, right: 4, bottom: 4});
69 const rect = new Rect2D({left: 1, top: 1, right: 3, bottom: 3});
71 expect(result).toMatchObject({left: 0, top: -1, right: 4, bottom: 5});
75 const rect = new Rect2D({left: 2, top: 2, right: 5, bottom: 5});
[all …]
/external/accessibility-test-framework/src/main/java/com/google/android/apps/common/testing/accessibility/framework/replacements/
DRect.java37 private final int top; field in Rect
41 public Rect(int left, int top, int right, int bottom) { in Rect() argument
44 this.top = min(top, bottom); in Rect()
46 this.bottom = max(top, bottom); in Rect()
60 return top; in getTop()
80 return bottom - top; in getHeight()
91 && (this.top <= r.top) in contains()
98 return !isEmpty() && x >= left && x < right && y >= top && y < bottom; in contains()
103 return (left == right) || (top == bottom); in isEmpty()
116 return isEmpty() ? r : union(r.left, r.top, r.right, r.bottom); in union()
[all …]
/external/pdfium/core/fxcrt/
Dfx_coordinates.cpp45 static_assert(offsetof(FX_RECT, top) == offsetof(RECT, top),
53 static_assert(sizeof(FX_RECT::top) == sizeof(RECT::top),
82 h -= top; in Valid()
89 if (top > bottom) in Normalize()
90 std::swap(top, bottom); in Normalize()
98 top = std::max(top, src_n.top); in Intersect()
101 if (left > right || top > bottom) { in Intersect()
102 left = top = right = bottom = 0; in Intersect()
112 rect.left = height - top; in SwappedClipBox()
115 rect.left = top; in SwappedClipBox()
[all …]
Dfx_coordinates.h147 : left(l), top(t), right(r), bottom(b) {} in FX_RECT()
152 int Height() const { return bottom - top; } in Height()
153 bool IsEmpty() const { return right <= left || bottom <= top; } in IsEmpty()
165 top += dy; in Offset()
170 return left == src.left && right == src.right && top == src.top &&
175 return x >= left && x < right && y >= top && y < bottom; in Contains()
179 int32_t top = 0; member
189 : left(l), bottom(b), right(r), top(t) {} in CFX_FloatRect()
200 bool IsEmpty() const { return left >= right || bottom >= top; } in IsEmpty()
226 float Height() const { return top - bottom; } in Height()
[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.c52 const uint16x4_t top = vpaddl_u8(vldh_dup_u8(input)); in cfl_luma_subsampling_420_lbd_neon() local
53 const uint16x4_t sum = vpadal_u8(top, vldh_dup_u8(input + input_stride)); in cfl_luma_subsampling_420_lbd_neon()
56 const uint16x4_t top = vpaddl_u8(vld1_u8(input)); in cfl_luma_subsampling_420_lbd_neon() local
57 const uint16x4_t sum = vpadal_u8(top, vld1_u8(input + input_stride)); in cfl_luma_subsampling_420_lbd_neon()
60 const uint16x8_t top = vpaddlq_u8(vld1q_u8(input)); in cfl_luma_subsampling_420_lbd_neon() local
61 const uint16x8_t sum = vpadalq_u8(top, vld1q_u8(input + input_stride)); in cfl_luma_subsampling_420_lbd_neon()
64 const uint8x8x4_t top = vld4_u8(input); in cfl_luma_subsampling_420_lbd_neon() local
67 const uint16x8_t top_0 = vaddl_u8(top.val[0], top.val[1]); in cfl_luma_subsampling_420_lbd_neon()
71 const uint16x8_t top_1 = vaddl_u8(top.val[2], top.val[3]); in cfl_luma_subsampling_420_lbd_neon()
90 const uint16x4_t top = vpaddl_u8(vldh_dup_u8(input)); in cfl_luma_subsampling_422_lbd_neon() local
[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/apache-commons-io/src/test/java/org/apache/commons/io/
DAbstractFileUtilsDeleteDirectoryTest.java35 public File top; field in AbstractFileUtilsDeleteDirectoryTest
47 final File realOuter = new File(top, "realouter"); in testDeleteDirWithASymlinkDir()
56 final File randomDirectory = new File(top, "randomDir"); in testDeleteDirWithASymlinkDir()
69 assertEquals(1, top.list().length); in testDeleteDirWithASymlinkDir()
78 final File realOuter = new File(top, "realouter"); in testDeleteDirWithASymlinkDir2()
87 final File randomDirectory = new File(top, "randomDir"); in testDeleteDirWithASymlinkDir2()
100 assertEquals(1, top.list().length); in testDeleteDirWithASymlinkDir2()
108 final File realOuter = new File(top, "realouter"); in testDeleteDirWithSymlinkFile()
119 final File randomFile = new File(top, "randomfile"); in testDeleteDirWithSymlinkFile()
126 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/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/sdv/vsomeip/third_party/boost/exception/doc/
Dreno.css33 padding-top: 5pt;
35 margin-top: 0;
43 padding-top: 20pt;
45 margin-top: 0;
53 padding-top: 15pt;
55 margin-top: 0;
64 padding-top: 5pt;
66 margin-top: 0;
74 padding-top: 5pt;
76 margin-top: 0;
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/home/support/detail/lexer/parser/
Dparser.hpp73 lhs_token_ = token_stack_.top (); in parse()
106 node *lhs_node_ = tree_node_stack_.top (); in parse()
153 rhs_ = token_stack_.top (); in reduce()
159 lhs_ = token_stack_.top (); in reduce()
220 repeatn (rhs_._type == token::REPEATN, handle_.top (), in reduce()
234 BOOST_ASSERT(handle_.top ()._type == token::OREXP && in orexp()
244 BOOST_ASSERT(handle_.top ()._type == token::OR); in orexp()
246 BOOST_ASSERT(handle_.top ()._type == token::SEQUENCE); in orexp()
255 BOOST_ASSERT(handle_.top ()._type == token::SUB && in sub()
265 BOOST_ASSERT(handle_.top ()._type == token::EXPRESSION); in sub()
[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>>...253