Home
last modified time | relevance | path

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

/tools/dexter/slicer/export/slicer/
Dintrusive_list.h85 Iterator InsertBefore(T* pos, T* p) { in InsertBefore() argument
89 assert(pos != nullptr); in InsertBefore()
90 p->prev = pos->prev; in InsertBefore()
91 if (pos == begin_) { in InsertBefore()
92 assert(pos->prev == nullptr); in InsertBefore()
95 assert(pos->prev != nullptr); in InsertBefore()
98 p->next = pos; in InsertBefore()
99 pos->prev = p; in InsertBefore()
103 Iterator InsertAfter(T* pos, T* p) { in InsertAfter() argument
107 assert(pos != nullptr); in InsertAfter()
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLevelUtility.java45 int pos = shellOutput.indexOf(STREAM_MUSIC); in extractDeviceHeadsetLevelFromAdbShell() local
46 if (pos != -1) { in extractDeviceHeadsetLevelFromAdbShell()
47 pos = shellOutput.indexOf(HEADSET, pos); in extractDeviceHeadsetLevelFromAdbShell()
48 if (pos != -1) { in extractDeviceHeadsetLevelFromAdbShell()
49 final int start = pos + HEADSET.length(); in extractDeviceHeadsetLevelFromAdbShell()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/
DSparseArray.kt296 val pos = mSize in append() constant
297 if (pos >= mKeys.size) { in append()
298 val n = idealIntArraySize(pos + 1) in append()
310 mKeys[pos] = key in append()
311 mValues[pos] = value in append()
312 mSize = pos + 1 in append()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DStringSearch.kt32 fun isPrefix(str: CharSequence, pos: Int): Boolean { in isPrefix()
33 return (0 until (str.length - pos)).none { str[it] != str[pos + it] } in isPrefix()
36 fun longestCommonSuffix(word: CharSequence, pos: Int): Int { in longestCommonSuffix()
38 while (word[pos - i] == word[word.length - 1 - i] && i < pos) { in longestCommonSuffix()
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Drelay_board.py43 for pos in self.get_relay_position_list():
44 self.relays[pos] = Relay(self, pos)
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dvecmath.cpp116 float pos = 0; in Inverse() local
122 pos += temp; in Inverse()
127 pos += temp; in Inverse()
132 pos += temp; in Inverse()
137 pos += temp; in Inverse()
142 pos += temp; in Inverse()
147 pos += temp; in Inverse()
150 det_1 = pos + neg; in Inverse()
/tools/tradefederation/core/src/com/android/tradefed/util/
DPropertyChanger.java56 int pos = line.indexOf('='); in changeProperties() local
57 if (pos != -1) { in changeProperties()
58 String name = line.substring(0, pos); in changeProperties()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DPropertyChangerTest.java103 int pos = line.indexOf('='); in verifyProperties() local
104 String name = line.substring(0, pos); in verifyProperties()
105 String value = line.substring(pos + 1); in verifyProperties()
/tools/test/connectivity/acts/framework/acts/controllers/android_lib/tel/
Dtel_utils.py170 def get_bool(pos): argument
172 return response_hex[pos] == '01'
174 def get_int32(pos): argument
178 '<i', bytearray.fromhex(''.join(response_hex[pos:pos + 4])))[0]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DUiAutomatorRunner.java149 int pos = className.lastIndexOf('.'); in setClassName() local
151 if (pos == -1) { in setClassName()
154 mPackageName = className.substring(0, pos); in setClassName()
DGTest.java225 int pos = fullPath.lastIndexOf('/'); in getFileName() local
226 if (pos == -1) { in getFileName()
229 String fileName = fullPath.substring(pos + 1); in getFileName()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java103 int pos = fullPath.lastIndexOf('/'); in getFileName() local
104 if (pos == -1) { in getFileName()
107 String fileName = fullPath.substring(pos + 1); in getFileName()
/tools/repohooks/tools/
Dcpplint.py2075 def CloseExpression(clean_lines, linenum, pos): argument
2099 if (line[pos] not in '({[<') or Match(r'<[<=]', line[pos:]):
2103 (end_pos, stack) = FindEndOfExpressionInLine(line, pos, [])
2196 def ReverseCloseExpression(clean_lines, linenum, pos): argument
2214 if line[pos] not in ')}]>':
2218 (start_pos, stack) = FindStartOfExpressionInLine(line, pos, [])
2965 def InTemplateArgumentList(self, clean_lines, linenum, pos): argument
2978 match = Match(r'^[^{};=\[\]\.<>]*(.)', line[pos:])
2981 pos = 0
2984 pos += len(match.group(0))
[all …]
Dcheckpatch.pl2535 my $pos = 0;
2548 for ($pos = 0; $pos < $len; $pos++) {
2549 my $string = substr($line, $pos);
2551 $pos += length($1) - 1;
2552 } elsif (substr($line, $pos, 1) eq '(') {
2553 $last_openparen = $pos;
3831 my $pos = pos_last_openparen($rest);
3832 if ($pos >= 0) {
3837 "\t" x ($pos / $tabsize) .
3838 " " x ($pos % $tabsize);
[all …]
/tools/netsim/ui/ts/
Ddevice-observer.ts54 set position(pos: {x: number; y: number; z: number}) {
55 this.device.position = pos;
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_test_utils.py3741 def get_bool(pos): argument
3743 return response_hex[pos] == '01'
3745 def get_int32(pos): argument
3749 '<i', bytearray.fromhex(''.join(response_hex[pos:pos + 4])))[0]
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_rotate.txt198 --provider-pos Position / priority at which to install this provider in
Dhelp_sign.txt274 --provider-pos Position / priority at which to install this provider in
/tools/dexter/testdata/expected/
Dmedium.asm163564 .local v0, "pos", int
163618 .local v0, "pos", int
165301 .params "pos"
Dmedium.wrap_invoke77193 .local v1, "pos", int
78050 .local v1, "pos", int
163598 .local v0, "pos", int
163652 .local v0, "pos", int
165335 .params "pos"
Dmedium.rewrite77193 .local v1, "pos", int
78050 .local v1, "pos", int
163598 .local v0, "pos", int
163652 .local v0, "pos", int
165335 .params "pos"
Dmedium.compact_cfg92762 .local v1, "pos", int
93845 .local v1, "pos", int
196079 .local v0, "pos", int
196145 .local v0, "pos", int
198168 .params "pos"
Dmedium.exit_hook81342 .local v1, "pos", int
82269 .local v1, "pos", int
171338 .local v0, "pos", int
171394 .local v0, "pos", int
173149 .params "pos"
Dmedium.entry_hook79379 .local v1, "pos", int
80257 .local v1, "pos", int
167671 .local v0, "pos", int
167726 .local v0, "pos", int
169458 .params "pos"
Dmedium.scratch_regs90650 .local v7, "pos", int
91654 .local v8, "pos", int
189653 .local v7, "pos", int
189716 .local v7, "pos", int
191670 .params "pos"