HomeSort by relevance Sort by last modified time
    Searched refs:StringIndex (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /art/libdexfile/dex/
string_reference.h 34 StringReference(const DexFile* file, dex::StringIndex index)
37 dex::StringIndex StringIndex() const {
38 return dex::StringIndex(index);
42 return dex_file->GetStringData(dex_file->GetStringId(StringIndex()));
dex_file_types.h 73 class StringIndex : public DexIndex<uint32_t> {
75 StringIndex() {}
76 explicit constexpr StringIndex(uint32_t index) : DexIndex<decltype(index_)>(index) {}
77 static constexpr StringIndex Invalid() {
78 return StringIndex(std::numeric_limits<decltype(index_)>::max());
81 std::ostream& operator<<(std::ostream& os, const StringIndex& index);
104 template<> struct hash<art::dex::StringIndex> {
105 size_t operator()(const art::dex::StringIndex& index) const {
string_reference_test.cc 38 ASSERT_STREQ("String1", dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(0))));
39 StringReference sr1(dex_file1.get(), dex::StringIndex(0));
45 ASSERT_STREQ("String2", dex_file2->GetStringData(dex_file2->GetStringId(dex::StringIndex(0))));
46 StringReference sr2(dex_file2.get(), dex::StringIndex(0));
85 dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(index))));
96 dex_file2->GetStringData(dex_file2->GetStringId(dex::StringIndex(index))));
102 StringReference sr1(dex_file1.get(), dex::StringIndex(index1));
103 StringReference sr2(dex_file2.get(), dex::StringIndex(index2));
dex_file_structs.h 61 dex::StringIndex descriptor_idx_; // index into string_ids
71 dex::StringIndex name_idx_; // index into string_ids_ array for field name
79 dex::StringIndex shorty_idx_; // index into string_ids array for shorty descriptor
92 dex::StringIndex name_idx_; // index into string_ids_ array for method name
115 dex::StringIndex source_file_idx_; // index into string_ids_ for source file name
test_dex_file_builder_test.cc 52 dex_file->GetStringData(dex_file->GetStringId(dex::StringIndex(i)))) << i;
dex_file-inl.h 59 inline const char* DexFile::StringDataAndUtf16LengthByIdx(dex::StringIndex idx,
69 inline const char* DexFile::StringDataByIdx(dex::StringIndex idx) const {
74 inline std::string_view DexFile::StringViewByIdx(dex::StringIndex idx) const {
170 inline bool DexFile::StringEquals(const DexFile* df1, dex::StringIndex sidx1,
171 const DexFile* df2, dex::StringIndex sidx2) {
362 return StringDataByIdx(dex::StringIndex(idx));
464 visitor(dex::StringIndex(DecodeUnsignedLeb128P1(debug_info)));
dex_file.cc 58 static_assert(sizeof(dex::StringIndex) == sizeof(uint32_t), "StringIndex size is wrong");
59 static_assert(std::is_trivially_copyable<dex::StringIndex>::value, "StringIndex not trivial");
244 const dex::StringIndex name_idx = GetIndexForStringId(name);
279 const dex::StringIndex name_idx = GetIndexForStringId(name);
314 const StringId& str_id = GetStringId(dex::StringIndex(mid));
348 const TypeId* DexFile::FindTypeId(dex::StringIndex string_idx) const {
676 std::ostream& operator<<(std::ostream& os, const StringIndex& index) {
677 os << "StringIndex[" << index.index_ << "]"
    [all...]
dex_file.h 240 const dex::StringId& GetStringId(dex::StringIndex idx) const {
245 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const {
248 return dex::StringIndex(&string_id - string_ids_);
262 const char* StringDataAndUtf16LengthByIdx(dex::StringIndex idx, uint32_t* utf16_length) const;
264 const char* StringDataByIdx(dex::StringIndex idx) const;
265 std::string_view StringViewByIdx(dex::StringIndex idx) const;
305 const dex::TypeId* FindTypeId(dex::StringIndex string_idx) const;
784 static inline bool StringEquals(const DexFile* df1, dex::StringIndex sidx1,
785 const DexFile* df2, dex::StringIndex sidx2);
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
ComponentName.c 252 UINTN StringIndex;
259 for (StringIndex = 0; StringIndex < 41; StringIndex++) {
260 ModelName[StringIndex] = IdeBlkIoDevicePtr->ModelName[StringIndex];
  /art/runtime/verifier/
verifier_deps.h 169 using FieldResolutionBase = std::tuple<uint32_t, uint16_t, dex::StringIndex>;
173 FieldResolution(uint32_t field_idx, uint16_t access_flags, dex::StringIndex declaring_class_idx)
179 dex::StringIndex GetDeclaringClassIndex() const { return std::get<2>(*this); }
182 using MethodResolutionBase = std::tuple<uint32_t, uint16_t, dex::StringIndex>;
188 dex::StringIndex declaring_class_idx)
194 dex::StringIndex GetDeclaringClassIndex() const { return std::get<2>(*this); }
197 using TypeAssignabilityBase = std::tuple<dex::StringIndex, dex::StringIndex>;
201 TypeAssignability(dex::StringIndex destination_idx, dex::StringIndex source_idx
    [all...]
verifier_deps.cc 109 dex::StringIndex VerifierDeps::GetClassDescriptorStringId(const DexFile& dex_file,
133 static dex::StringIndex TryGetClassDescriptorStringId(const DexFile& dex_file,
146 return dex::StringIndex::Invalid();
149 dex::StringIndex VerifierDeps::GetMethodDeclaringClassStringId(const DexFile& dex_file,
154 return dex::StringIndex(VerifierDeps::kUnresolvedMarker);
156 const dex::StringIndex string_id = TryGetClassDescriptorStringId(
168 dex::StringIndex VerifierDeps::GetFieldDeclaringClassStringId(const DexFile& dex_file,
173 return dex::StringIndex(VerifierDeps::kUnresolvedMarker);
175 const dex::StringIndex string_id = TryGetClassDescriptorStringId(
219 dex::StringIndex VerifierDeps::GetIdFromString(const DexFile& dex_file, const std::string& str)
    [all...]
  /device/linaro/bootloader/edk2/EmulatorPkg/Library/SmbiosLib/
SmbiosLib.c 176 UINTN StringIndex;
187 StringIndex = StringNumber;
188 return gSmbios->UpdateString (gSmbios, &SmbiosHandle, &StringIndex, String);
216 UINTN StringIndex;
234 StringIndex = StringNumber;
235 Status = gSmbios->UpdateString (gSmbios, &SmbiosHandle, &StringIndex, Ascii);
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/
StringDB.c 387 UINT32 StringIndex;
484 for (StringIndex = 0; StringIndex < mDBData.NumStringIdentifiersReferenced; StringIndex++) {
489 if (StringIndex == STRING_ID_LANGUAGE_NAME) {
495 StringIdentifier = StringDBFindStringIdentifierByIndex (StringIndex);
497 Error (NULL, 0, 0, "internal error", "invalid string index 0x%X", StringIndex);
558 StringIndex = 0;
560 for (StringIndex = 0; StringIndex < mDBData.NumStringIdentifiersReferenced; StringIndex++) {
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceELFSection.cpp 229 for (auto &StringIndex : StringToIndexMap) {
230 assert(StringIndex.second == UnknownIndex);
231 llvm::StringRef Cur = llvm::StringRef(StringIndex.first);
235 StringIndex.second = StringData.size() - Cur.size() - 1;
238 StringIndex.second = StringData.size();
  /external/llvm/tools/dsymutil/
MachODebugMapParser.cpp 73 void handleStabSymbolTableEntry(uint32_t StringIndex, uint8_t Type,
86 void dumpSymTabEntry(raw_ostream &OS, uint64_t Index, uint32_t StringIndex,
208 uint32_t StringIndex, uint8_t Type,
214 << format_hex_no_prefix(StringIndex, 8) << ' '
259 const char *Name = &MainBinaryStrings.data()[StringIndex];
338 void MachODebugMapParser::handleStabSymbolTableEntry(uint32_t StringIndex,
346 const char *Name = &MainBinaryStrings.data()[StringIndex];
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
UsbDesc.h 149 @param StringIndex The index of the string to retrieve.
158 IN UINT8 StringIndex,
  /device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/
PcdDataBaseSignatureGuid.h 70 UINT32 StringIndex; // Offset in String Table in units of UINT8.
  /art/runtime/entrypoints/quick/
quick_dexcache_entrypoints.cc 96 dex::StringIndex string_idx,
212 Runtime::Current()->GetClassLinker()->ResolveString(dex::StringIndex(string_idx), caller);
214 StoreStringInBss(caller_and_outer.outer_method, dex::StringIndex(string_idx), result);
  /external/swiftshader/third_party/LLVM/tools/macho-dump/
macho-dump.cpp 201 unsigned Index, uint32_t StringIndex,
205 outs() << " (('n_strx', " << StringIndex << ")\n";
210 outs() << " ('_string', '" << Obj.getStringAtIndex(StringIndex) << "')\n";
246 DumpSymbolTableEntryData(Obj, i, STE->StringIndex, STE->Type,
256 DumpSymbolTableEntryData(Obj, i, STE->StringIndex, STE->Type,
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
MachODebugMapParser.cpp 76 void handleStabSymbolTableEntry(uint32_t StringIndex, uint8_t Type,
89 void dumpSymTabEntry(raw_ostream &OS, uint64_t Index, uint32_t StringIndex,
226 uint32_t StringIndex, uint8_t Type,
233 << format_hex_no_prefix(StringIndex, 8)
281 const char *Name = &MainBinaryStrings.data()[StringIndex];
371 void MachODebugMapParser::handleStabSymbolTableEntry(uint32_t StringIndex,
379 const char *Name = &MainBinaryStrings.data()[StringIndex];
  /art/runtime/
transaction.h 125 void RecordResolveString(ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx)
257 ResolveStringLog(ObjPtr<mirror::DexCache> dex_cache, dex::StringIndex string_idx);
265 const dex::StringIndex string_idx_;
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/
Print.c 150 UINT16 StringIndex;
271 StringIndex = (UINT16) Index;
272 Status = Hii->GetGlyph (Hii, UnicodeWeight, &StringIndex, (UINT8 **) &Glyph, &GlyphWidth, &GlyphStatus);
  /external/llvm/include/llvm/Object/
Archive.h 149 uint32_t StringIndex; // Extra index to the string.
159 , StringIndex(stri) {}
  /external/swiftshader/third_party/LLVM/include/llvm/Object/
MachOFormat.h 268 uint32_t StringIndex;
275 uint32_t StringIndex;
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
Archive.h 187 uint32_t StringIndex; // Extra index to the string.
193 , StringIndex(stri) {}

Completed in 1881 milliseconds

1 2 3 4 5