Home
last modified time | relevance | path

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

1234

/system/chre/util/tests/
Dpriority_queue_test.cc103 EXPECT_DEATH(q.top(), ""); in TEST()
109 EXPECT_EQ(1, q.top()); in TEST()
112 EXPECT_EQ(3, q.top()); in TEST()
114 EXPECT_EQ(2, q.top()); in TEST()
116 EXPECT_EQ(1, q.top()); in TEST()
146 EXPECT_EQ(1, q.top()); in TEST()
151 EXPECT_EQ(3, q.top()); in TEST()
164 EXPECT_EQ(i, q.top()); in TEST()
180 EXPECT_EQ(0, q.top().getValue()); in TEST()
181 EXPECT_EQ(0, q.top().getIndex()); in TEST()
[all …]
/system/core/libunwindstack/
DDwarfOp.cpp1692 AddressType top = stack_[0]; in op_rot() local
1695 stack_[2] = top; in op_rot()
1711 AddressType top = StackPop(); in op_and() local
1712 stack_[0] &= top; in op_and()
1718 AddressType top = StackPop(); in op_div() local
1719 if (top == 0) { in op_div()
1723 SignedType signed_divisor = static_cast<SignedType>(top); in op_div()
1731 AddressType top = StackPop(); in op_minus() local
1732 stack_[0] -= top; in op_minus()
1738 AddressType top = StackPop(); in op_mod() local
[all …]
/system/sepolicy/tests/
Dcombine_maps.py35 def Combine(top, bottom): argument
36 bottom.types.update(top.types)
37 bottom.typeattributes.update(top.typeattributes)
39 for top_ta in top.typeattributesets:
40 top_type_set = top.typeattributesets[top_ta]
/system/core/logd/
DSerializedFlushToState.cpp116 auto top = min_heap_.top(); in PopNextUnreadLog() local
119 auto* entry = top.entry; in PopNextUnreadLog()
120 auto log_id = top.log_id; in PopNextUnreadLog()
126 return top; in PopNextUnreadLog()
145 auto& element = min_heap_.top(); in Prune()
DSerializedLogBuffer.cpp231 MinHeapElement top = state.PopNextUnreadLog(); in FlushTo() local
232 auto* entry = top.entry; in FlushTo()
233 auto log_id = top.log_id; in FlushTo()
/system/memory/libmemunreachable/
DPtracerThread.cpp55 mprotect(top(), page_size_, PROT_NONE); in Stack()
58 void* top() { in top() function in android::Stack
72 if (stack_->top() == nullptr) { in PtracerThread()
102 child_pid_ = clone(proxy, stack_->top(), CLONE_VM | CLONE_FS | CLONE_FILES /*|CLONE_UNTRACED*/, in Start()
/system/teeui/test/example_config/
DREADME65 …"native-test-flag": "--powerButtonTop=<distance from the top of the power button to the top of the…
68 … "--powerButtonBottom=<distance from the bottom of the power button to the top of the screen in mm…
71 …"native-test-flag": "--volUpButtonTop=<distance from the top of the UP volume button to the top of…
74 …-volUpButtonBottom=<distance from the bottom of the UP power button to the top of the screen in mm…
/system/chre/util/include/chre/util/
Dpriority_queue.h121 ElementType& top();
131 const ElementType& top() const;
Dpriority_queue_impl.h86 ElementType& PriorityQueue<ElementType, CompareFunction>::top() { in top() function
91 const ElementType& PriorityQueue<ElementType, CompareFunction>::top() const { in top() function
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp35 int top = array_length - 1; in Find() local
36 while (top >= bottom) { in Find()
37 int search = (top + bottom) / 2; in Find()
43 if (cmp > 0) top = search - 1; in Find()
/system/extras/simpleperf/
DCallChainJoiner.cpp76 CacheNode* top = chain.back(); in AddCallChain() local
77 while ((top = GetParent(top)) != nullptr) { in AddCallChain()
78 if (top->sp == chain.back()->sp) { in AddCallChain()
83 for (auto it = chain.rbegin(); it != chain.rend() && (*it)->sp == top->sp; ++it) { in AddCallChain()
84 if ((*it)->ip == top->ip) { in AddCallChain()
96 ips.push_back(top->ip); in AddCallChain()
97 sps.push_back(top->sp); in AddCallChain()
/system/core/libpixelflinger/
Dtrap.cpp222 if (t < GGLint(c->state.scissor.top)) { in aa_nice_pointx()
223 ystart += TRI_FROM_INT(c->state.scissor.top-t); in aa_nice_pointx()
224 t = GGLint(c->state.scissor.top); in aa_nice_pointx()
287 if (t < GGLint(c->state.scissor.top)) { in aa_pointx()
288 ystart += TRI_FROM_INT(c->state.scissor.top-t); in aa_pointx()
289 t = GGLint(c->state.scissor.top); in aa_pointx()
426 if (t < GGLint(c->state.scissor.top)) in recti()
427 t = GGLint(c->state.scissor.top); in recti()
545 const int32_t miny = max(bminy, c->state.scissor.top); in trianglex_small()
670 const GGLfixed* top = p1; in edge_setup() local
[all …]
Draster.cpp82 if (yd < GGLint(c->state.scissor.top)) { in ggl_copyPixels()
83 GGLint offset = GGLint(c->state.scissor.top) - yd; in ggl_copyPixels()
84 yd = GGLint(c->state.scissor.top); in ggl_copyPixels()
/system/tools/xsdc/
DOWNERS1 # Default code reviewers picked from top 3 or more developers.
/system/testing/gtest_extras/
DOWNERS1 # Default code reviewers picked from top 3 or more developers.
/system/media/
DOWNERS1 # Default code reviewers picked from top 3 or more developers.
/system/chre/core/
Dtimer_pool.cc63 (!mTimerRequests.empty() && mTimerRequests.top() > timerRequest); in setTimer()
194 (mTimerRequests.top().instanceId != kSystemInstanceId); in popTimerRequestLocked()
223 TimerRequest& currentTimerRequest = mTimerRequests.top(); in handleExpiredTimersAndScheduleNextLocked()
/system/core/shell_and_utilities/
DREADME.md43 schedtop sendevent setconsole setprop sleep smd start stop sync top
54 schedtop sendevent setconsole setprop sleep smd start stop sync top
67 sync top touch umount uptime vmstat watchprops wipe
79 stop swapoff swapon sync top touch umount uptime vmstat watchprops wipe
91 top touch umount uptime vmstat watchprops wipe
99 newfs\_msdos ps prlimit renice sendevent start stop top uptime watchprops
119 sendevent start stop top
154 sysctl tac tail tar taskset tee time timeout top touch tr true truncate
180 tail tar taskset tee time timeout top touch tr true truncate tty ulimit
210 tac tail tar taskset tee time timeout top touch tr traceroute traceroute6
[all …]
/system/tools/hidl/c2hal/test/
Dsimple.h54 int left, int top, int width, int height);
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp363 auto top = dir + kOverlayTopDir; in fs_mgr_overlayfs_setup_dir() local
369 if (!mkdir(top.c_str(), 0755)) { in fs_mgr_overlayfs_setup_dir()
373 PERROR << "mkdir " << top; in fs_mgr_overlayfs_setup_dir()
379 if (overlay) *overlay = std::move(top); in fs_mgr_overlayfs_setup_dir()
516 const auto top = overlay + kOverlayTopDir; in fs_mgr_overlayfs_teardown_one() local
518 if (!fs_mgr_access(top)) return fs_mgr_overlayfs_teardown_scratch(overlay, change); in fs_mgr_overlayfs_teardown_one()
522 const auto oldpath = top + (cleanup_all ? "" : ("/" + partition_name)); in fs_mgr_overlayfs_teardown_one()
524 : top + "/." + partition_name + ".teardown"; in fs_mgr_overlayfs_teardown_one()
547 if (!rmdir(top.c_str())) { in fs_mgr_overlayfs_teardown_one()
553 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(top.c_str()), closedir); in fs_mgr_overlayfs_teardown_one()
[all …]
/system/chre/external/flatbuffers/
DREADME.md4 changes described in the comment at the top of flatbuffers.h, and apply them to
/system/sepolicy/prebuilts/api/28.0/public/
Dsdcardd.te31 # Allow running on top of expanded storage
/system/sepolicy/prebuilts/api/27.0/public/
Dsdcardd.te31 # Allow running on top of expanded storage
/system/sepolicy/prebuilts/api/26.0/public/
Dsdcardd.te31 # Allow running on top of expanded storage
/system/sepolicy/prebuilts/api/29.0/public/
Dsdcardd.te32 # Allow running on top of expanded storage

1234