Home
last modified time | relevance | path

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

123

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py133 end, lit = Lexer.lex_string('`a`', 0)
134 self.assertEqual(end, 3)
137 end, lit = Lexer.lex_string('`a\nb`', 0)
138 self.assertEqual(end, 5)
141 end, lit = Lexer.lex_string('"a""b"', 3)
142 self.assertEqual(end, 6)
160 end, lit = Lexer.lex_string('"a"', 0)
161 self.assertEqual(end, 3)
164 end, lit = Lexer.lex_string('"n"', 0)
165 self.assertEqual(end, 3)
[all …]
/development/vndk/tools/header-checker/src/repr/symbol/
Dversion_script_parser_test.cpp52 EXPECT_NE(funcs.end(), funcs.find("foo1")); in TEST()
53 EXPECT_NE(funcs.end(), funcs.find("foo2")); in TEST()
54 EXPECT_EQ(funcs.end(), funcs.find("bar1")); in TEST()
55 EXPECT_EQ(funcs.end(), funcs.find("bar2")); in TEST()
58 EXPECT_NE(vars.end(), vars.find("bar1")); in TEST()
59 EXPECT_NE(vars.end(), vars.find("bar2")); in TEST()
60 EXPECT_EQ(vars.end(), vars.find("foo1")); in TEST()
61 EXPECT_EQ(vars.end(), vars.find("foo2")); in TEST()
91 EXPECT_NE(funcs.end(), funcs.find("foo2")); in TEST()
94 EXPECT_NE(vars.end(), vars.find("bar2")); in TEST()
[all …]
Dexported_symbol_set_test.cpp33 ASSERT_NE(funcs.end(), funcs.find("global")); in TEST()
37 ASSERT_NE(funcs.end(), funcs.find("weak")); in TEST()
50 ASSERT_NE(vars.end(), vars.find("global")); in TEST()
54 ASSERT_NE(vars.end(), vars.find("weak")); in TEST()
65 ASSERT_NE(globs.end(), globs.find("test1*")); in TEST()
75 ASSERT_NE(globs.end(), globs.find("test1*")); in TEST()
84 ASSERT_NE(names.end(), names.find("Test::test()")); in TEST()
Dexported_symbol_set.cpp65 if (funcs_.find(name) != funcs_.end()) { in HasSymbol()
69 if (vars_.find(name) != vars_.end()) { in HasSymbol()
85 demangled_cpp_symbols_.end()) { in HasSymbol()
/development/vndk/tools/header-checker/src/utils/
Dstring_utils.cpp35 std::string::size_type end = s.find_last_not_of(" \t\r\n"); in Trim() local
36 if (end == std::string::npos) { in Trim()
39 return s.substr(start, end - start + 1); in Trim()
64 std::string::size_type end = s.find_first_of(delim_chars, pos + 1); in Split() local
65 if (end == std::string::npos) { in Split()
70 res.push_back(s.substr(pos, end - pos)); in Split()
71 pos = end + 1; in Split()
95 std::transform(value.begin(), value.end(), value.begin(), std::tolower); in ParseBool()
Dconfig_file.h43 return map_.find(name) != map_.end(); in HasProperty()
48 if (it == map_.end()) { in GetProperty()
62 const_iterator end() const { in end() function
63 return map_.end(); in end()
91 return map_.find(section_name) != map_.end(); in HasSection()
96 assert(it != map_.end()); in GetSection()
107 if (it == map_.end()) { in HasProperty()
116 if (it == map_.end()) { in GetProperty()
126 const_iterator end() const { in end() function
127 return map_.end(); in end()
Dcommand_line_utils.cpp31 auto iter = std::find(categories.begin(), categories.end(), &category); in IsOptionInCategory()
32 return iter != categories.end(); in IsOptionInCategory()
Dheader_abi_util.h51 if (new_element == new_elements_map.end()) { in FindRemovedElements()
83 while (old_element != old_elements_map.end() && in FindCommonElements()
84 new_element != new_elements_map.end()) { in FindCommonElements()
Dcollect_exported_headers.cpp53 llvm::sys::fs::recursive_directory_iterator end; in CollectExportedHeaderSet() local
54 for ( ; walker != end; walker.increment(ec)) { in CollectExportedHeaderSet()
/development/scripts/gdb/
Ddalvik.gdb33 end
43 end
44 end
53 end
65 end
66 end
72 end
/development/vndk/tools/header-checker/src/dumper/
Dfixed_argv.h61 end = argv_.rend(); it != end; ++it) { in GetLastArg() local
86 argv_.insert(argv_.end(), args.begin(), args.end()); in PushForwardArgs()
/development/host/windows/usb/api/
Dadb_object_handle.cpp114 ATLASSERT((found != the_map.end()) && (this == found->second)); in CloseHandle()
116 if ((found != the_map.end()) && (this == found->second)) { in CloseHandle()
156 if (found != the_map.end()) { in Lookup()
/development/samples/Vault/src/com/example/android/vault/
DSecretKeyWrapper.java74 final Calendar end = new GregorianCalendar(); in generateKeyPair() local
75 end.add(Calendar.YEAR, 100); in generateKeyPair()
82 .setEndDate(end.getTime()) in generateKeyPair()
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py147 self.end = offset
170 while self.end < buf_len:
171 self.start = self.end
172 self.token, self.end, self.literal = self.lex(self.buf, self.start)
176 self.start = self.end
206 def decode_oct(buf, offset, start, end): argument
210 if end > len(buf):
213 codepoint = int(buf[start:end], 8)
222 def decode_hex(buf, offset, start, end): argument
226 if end > len(buf):
[all …]
/development/vndk/tools/header-checker/src/repr/
Dir_reader.cpp64 if (builtin_it != module_->builtin_types_.end()) { in MergeBuiltinType()
84 if (it == module_->odr_list_map_.end()) { in LookupUserDefinedType()
161 if (local_to_global_it != local_to_global_type_id_map->end()) { in MergeReferencingTypeInternal()
171 if (local_type_it != addend.module_->type_graph_.end()) { in MergeReferencingTypeInternal()
236 if (type_id_it != module_->type_graph_.end()) { in UpdateUDTypeAccounting()
281 if (it == addend.module_->type_graph_.end()) { in MergeEnumDependencies()
355 if (it == parent_map->end()) { in MergeReferencingTypeInternalAndUpdateParent()
390 if (type_id_it != module_->type_graph_.end()) { in MergeReferencingType()
467 if (type_it != local_to_global_type_id_map->end()) { in MergeType()
488 if (ret_type_it != addend.module_->type_graph_.end()) { in MergeCFunctionLikeDeps()
[all …]
/development/tools/apkcheck/src/com/android/apkcheck/
DTypeUtils.java118 int end = typeName.lastIndexOf("."); in packageNameOnly() local
119 if (end < 0) { in packageNameOnly()
123 return typeName.substring(0, end); in packageNameOnly()
/development/vndk/tools/definition-tool/tools/
Dremove_dt_needed.py86 end = offset
88 while _extract_buf_byte(buf, end) != 0:
89 end += 1
92 return buf[offset:end]
/development/scripts/
Dstack_core.py231 end = start + int(match.group(3))
233 offset_list.append([name, start, end])
234 return name, start, end
243 for file_name, start, end in offset_list:
244 if offset >= start and offset < end:
281 cur_name, start, end = self.ProcessCentralInfo(offset_list, central_info)
282 if not file_name and offset >= start and offset < end:
288 cur_name, start, end = self.ProcessCentralInfo(offset_list, central_info)
289 if not file_name and offset >= start and offset < end:
Dnative_heapdump_viewer.py104 def __init__(self, start, end, offset, name): argument
106 self.end = end
249 end = int(m.group('end'), 16)
253 mappings.append(GetMappingFromOffset(Mapping(start, end, offset, name), app_symboldir))
269 if mappings[mid].end <= addr:
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPrintCustomContent.java454 int end = -1; in print()
460 int oldEnd = end = start; in print()
461 while (i < writtenPageCount && (end - oldEnd) <= 1) { in print()
462 oldEnd = end; in print()
463 end = writtenPages.valueAt(i); in print()
466 PageRange pageRange = new PageRange(start, end); in print()
468 start = end = -1; in print()
/development/vndk/tools/definition-tool/tests/testdata/test_dex_file/
DHello.smali13 .end method
DExample.smali13 .end method
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java162 Calendar end = new GregorianCalendar(); in createKeys() local
163 end.add(Calendar.YEAR, 1); in createKeys()
192 .setEndDate(end.getTime()) in createKeys()
205 .setCertificateNotAfter(end.getTime()) in createKeys()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.basicmediadecoder/
DMainActivity.java77 mTimeAnimator.end(); in onPause()
170 mTimeAnimator.end(); in startPlayback()
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp668 const DWORD* end = g_expected_errors + ARRAYSIZE(g_expected_errors); in get_error_description() local
669 const DWORD* found = std::find(g_expected_errors, end, err); in get_error_description()
670 if (found != end) { in get_error_description()
680 const DWORD* end = g_expected_errors + ARRAYSIZE(g_expected_errors); in is_expected_error() local
681 return std::find(g_expected_errors, end, err) != end; in is_expected_error()
804 it != read_errors.end(); ++it) { in TestCloseRaceCondition()

123