/external/python/cpython2/Demo/md5test/ |
H A D | md5driver.py | 59 def MDString(str): function 95 MDString('') 96 MDString('a') 97 MDString('abc') 98 MDString('message digest') 99 MDString(makestr(ord('a'), ord('z'))) 100 MDString(makestr(ord('A'), ord('Z')) 103 MDString((makestr(ord('1'), ord('9')) + '0') * 8) 115 MDString(arg[2:])
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
H A D | MetadataTest.cpp | 29 // Test that construction of MDString with different value produces different 30 // MDString objects, even with the same string pointer and nulls in the string. 33 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); 35 MDString *s2 = MDString::get(Context, StringRef(&x[0], 3)); 40 // same MDString object, even with different pointers. 45 MDString *s1 = MDString::get(Context, StringRef(&x[0], 3)); 46 MDString *s [all...] |
/external/google-breakpad/src/tools/linux/md2core/ |
H A D | minidump_memory_range.h | 71 // Gets a STL string from a MDString at |sub_offset| bytes of this memory 76 const MDString* md_str = GetData<MDString>(sub_offset);
|
H A D | minidump_memory_range_unittest.cc | 227 MDString* md_str = reinterpret_cast<MDString*>(buffer); 236 sizeof(MDString) + (md_str->length + 1) * sizeof(uint16_t); 238 md_str = reinterpret_cast<MDString*>(buffer + str2_offset); 256 sizeof(buffer) - sizeof(MDString) + 1));
|
/external/llvm/lib/IR/ |
H A D | ProfileSummary.cpp | 32 Metadata *Ops[2] = {MDString::get(Context, Key), 41 Metadata *Ops[2] = {MDString::get(Context, Key), MDString::get(Context, Val)}; 61 Metadata *Ops[2] = {MDString::get(Context, "DetailedSummary"), 93 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); 107 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); 108 MDString *ValMD = dyn_cast<MDString>(M [all...] |
H A D | DebugInfoMetadata.cpp | 156 static bool isCanonical(const MDString *S) { 162 MDString *Header, 178 assert(isCanonical(Header) && "Expected canonical MDString"); 222 MDString *Name, StorageType Storage, 224 assert(isCanonical(Name) && "Expected canonical MDString"); 231 MDString *Name, uint64_t SizeInBits, 234 assert(isCanonical(Name) && "Expected canonical MDString"); 243 LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, 247 assert(isCanonical(Name) && "Expected canonical MDString"); 258 LLVMContext &Context, unsigned Tag, MDString *Nam [all...] |
H A D | LLVMContextImpl.h | 270 MDString *Header; 271 MDNodeKeyImpl(unsigned Tag, MDString *Header, ArrayRef<Metadata *> DwarfOps) 305 MDString *Name; 307 MDNodeKeyImpl(int64_t Value, MDString *Name) : Value(Value), Name(Name) {} 319 MDString *Name; 324 MDNodeKeyImpl(unsigned Tag, MDString *Name, uint64_t SizeInBits, 345 MDString *Name; 356 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line, 409 const MDString *Name, const DIDerivedType *RHS) { 426 MDString *Nam [all...] |
H A D | Module.cpp | 311 dyn_cast_or_null<MDString>(Flag->getOperand(1))) { 314 MDString *Key = cast<MDString>(Flag->getOperand(1)); 355 MDString::get(Context, Key), Val}; 371 isa<MDString>(Node->getOperand(1)) &&
|
/external/llvm/include/llvm/IR/ |
H A D | DebugInfoMetadata.h | 51 /// union beteen MDString (for ODR-uniqued types) and things like DIType. To 52 /// support CodeView work, it wasn't deleted outright when MDString-based type 153 if (auto *S = getOperandAs<MDString>(I)) 158 static MDString *getCanonicalMDString(LLVMContext &Context, StringRef S) { 161 return MDString::get(Context, S); 235 /// (possibly empty) null-separated \a MDString header that contains arbitrary 261 MDString *Header, ArrayRef<Metadata *> DwarfOps, 276 DEFINE_MDNODE_GET(GenericDINode, (unsigned Tag, MDString *Header, 285 MDString *getRawHeader() const { return getOperandAs<MDString>( [all...] |
H A D | MDBuilder.h | 30 class MDString; 39 MDString *createString(StringRef Str);
|
H A D | Metadata.h | 567 /// MDString is always unnamed. 568 class MDString : public Metadata { class in inherits:Metadata 569 friend class StringMapEntry<MDString>; 571 MDString(const MDString &) = delete; 572 MDString &operator=(MDString &&) = delete; 573 MDString &operator=(const MDString &) = delete; 575 StringMapEntry<MDString> *Entr 576 MDString() : Metadata(MDStringKind, Uniqued), Entry(nullptr) {} function in class:llvm::MDString [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
H A D | Metadata.h | 35 /// MDString - a single uniqued string. 37 /// MDString is always unnamed. 38 class MDString : public Value { class in namespace:llvm 39 MDString(const MDString &); // DO NOT IMPLEMENT 42 explicit MDString(LLVMContext &C, StringRef S); 45 static MDString *get(LLVMContext &Context, StringRef Str); 46 static MDString *get(LLVMContext &Context, const char *Str) { 65 static inline bool classof(const MDString *) { return true; }
|
/external/llvm/unittests/IR/ |
H A D | MDBuilderTest.cpp | 27 MDString *Str0 = MDHelper.createString(""); 28 MDString *Str1 = MDHelper.createString("string"); 78 EXPECT_TRUE(isa<MDString>(R0->getOperand(0))); 79 EXPECT_EQ(cast<MDString>(R0->getOperand(0))->getString(), "Root"); 95 EXPECT_TRUE(isa<MDString>(N0->getOperand(0))); 96 EXPECT_TRUE(isa<MDString>(N1->getOperand(0))); 97 EXPECT_TRUE(isa<MDString>(N2->getOperand(0))); 98 EXPECT_EQ(cast<MDString>(N0->getOperand(0))->getString(), "Node"); 99 EXPECT_EQ(cast<MDString>(N1->getOperand(0))->getString(), "edoN"); 100 EXPECT_EQ(cast<MDString>(N [all...] |
H A D | DebugTypeODRUniquingTest.cpp | 28 MDString &UUID = *MDString::get(Context, "string"); 53 MDString::get(Context, "name"), nullptr, 0, nullptr, 70 MDString &UUID = *MDString::get(Context, "Type"); 105 MDString &UUID = *MDString::get(Context, "UUID"); 128 #define DO_FOR_FIELD(X) auto *X = MDString::get(Context, #X);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | DIBuilder.cpp | 104 MDString::get(VMContext, Filename), 105 MDString::get(VMContext, Directory), 106 MDString::get(VMContext, Producer), 110 MDString::get(VMContext, Flags), 131 MDString::get(VMContext, Filename), 132 MDString::get(VMContext, Directory), 143 MDString::get(VMContext, Name), 157 MDString::get(VMContext, Name), 180 MDString::get(VMContext, Name), 199 MDString [all...] |
/external/google-breakpad/src/google_breakpad/common/ |
H A D | minidump_size.h | 55 class minidump_size<MDString> {
|
/external/clang/lib/CodeGen/ |
H A D | CGLoopInfo.cpp | 44 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.width"), 52 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.interleave.count"), 60 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"), 68 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.vectorize.enable"), 84 Metadata *Vals[] = {MDString::get(Ctx, Name)}; 89 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.distribute.enable"),
|
H A D | SanitizerMetadata.cpp | 42 GlobalName = llvm::MDString::get(VMContext, Name); 88 llvm::MDString::get(VMContext, PLoc.getFilename()),
|
/external/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 99 MDString *StringNode = dyn_cast<MDString>(ArgNode->getOperand(0)); 110 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); 116 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); 274 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageSizeArgMDType); 279 ArgMD[2] = ArgMD[3] = MDString::get(*Context, ImageFormatArgMDType);
|
/external/google-breakpad/src/client/ |
H A D | minidump_file_writer.h | 94 // Copy the contents of |str| to a MDString and write it to the file. 140 // because the underlying MDString is a UTF-16 based string. The wchar_t 141 // variant may need to create a MDString that has more characters than the 145 TypedMDRVA<MDString> *mdstring); 147 TypedMDRVA<MDString> *mdstring);
|
H A D | minidump_file_writer.cc | 100 TypedMDRVA<MDString> *mdstring) { 103 // Shortcut if wchar_t is the same size as MDString's buffer 133 TypedMDRVA<MDString> *mdstring) { 172 TypedMDRVA<MDString> mdstring(this);
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
H A D | metadata.hpp | 86 if (auto m_name = dyn_cast<::llvm::MDString>( 109 return ::llvm::cast<::llvm::MDString>(
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | Metadata.cpp | 29 // MDString implementation. 32 MDString::MDString(LLVMContext &C, StringRef S) function in class:MDString 35 MDString *MDString::get(LLVMContext &Context, StringRef Str) { 37 StringMapEntry<MDString *> &Entry = 39 MDString *&S = Entry.getValue(); 40 if (!S) S = new MDString(Context, Entry.getKey());
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | LowerExpectIntrinsic.cpp | 66 Vec.resize(n + 1); // +1 for MDString 68 Vec[0] = MDString::get(Context, "branch_weights"); 114 MDString::get(Context, "branch_weights"),
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | Metadata.h | 585 /// MDString is always unnamed. 586 class MDString : public Metadata { class in inherits:Metadata 587 friend class StringMapEntry<MDString>; 589 StringMapEntry<MDString> *Entry; 590 MDString() : Metadata(MDStringKind, Uniqued), Entry(nullptr) {} function in class:llvm::MDString 593 MDString(const MDString &) = delete; 594 MDString &operator=(MDString &&) = delete; 595 MDString [all...] |