/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Core.cpp | 56 initializeCore(*unwrap(R)); in LLVMInitializeCore() 87 unwrap(C)->setDiagnosticHandlerCallBack( in LLVMContextSetDiagnosticHandler() 95 unwrap(C)->getDiagnosticHandlerCallBack()); in LLVMContextGetDiagnosticHandler() 99 return unwrap(C)->getDiagnosticContext(); in LLVMContextGetDiagnosticContext() 106 unwrap(C)->setYieldCallback(YieldCallback, OpaqueHandle); in LLVMContextSetYieldCallback() 110 return unwrap(C)->shouldDiscardValueNames(); in LLVMContextShouldDiscardValueNames() 114 unwrap(C)->setDiscardValueNames(Discard); in LLVMContextSetDiscardValueNames() 118 delete unwrap(C); in LLVMContextDispose() 123 return unwrap(C)->getMDKindID(StringRef(Name, SLen)); in LLVMGetMDKindIDInContext() 143 auto &Ctx = *unwrap(C); in LLVMCreateEnumAttribute() [all …]
|
D | DebugInfo.cpp | 710 return (DIT *)(Ref ? unwrap<MDNode>(Ref) : nullptr); in unwrapDI() 731 return wrap(new DIBuilder(*unwrap(M), false)); in LLVMCreateDIBuilderDisallowUnresolved() 735 return wrap(new DIBuilder(*unwrap(M))); in LLVMCreateDIBuilder() 739 return getDebugMetadataVersionFromModule(*unwrap(M)); in LLVMGetModuleDebugMetadataVersion() 743 return StripDebugInfo(*unwrap(M)); in LLVMStripModuleDebugInfo() 747 delete unwrap(Builder); in LLVMDisposeDIBuilder() 751 unwrap(Builder)->finalize(); in LLVMDIBuilderFinalize() 763 return wrap(unwrap(Builder)->createCompileUnit( in LLVMDIBuilderCreateCompileUnit() 776 return wrap(unwrap(Builder)->createFile(StringRef(Filename, FilenameLen), in LLVMDIBuilderCreateFile() 786 return wrap(unwrap(Builder)->createModule( in LLVMDIBuilderCreateModule() [all …]
|
D | Comdat.cpp | 29 return wrap(unwrap(M)->getOrInsertComdat(Name)); in LLVMGetOrInsertComdat() 33 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMGetComdat() 38 GlobalObject *G = unwrap<GlobalObject>(V); in LLVMSetComdat() 39 G->setComdat(unwrap(C)); in LLVMSetComdat() 43 switch (unwrap(C)->getSelectionKind()) { in LLVMGetComdatSelectionKind() 59 Comdat *Cd = unwrap(C); in LLVMSetComdatSelectionKind()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
D | Target.cpp | 29 inline TargetLibraryInfoImpl *unwrap(LLVMTargetLibraryInfoRef P) { in unwrap() function 44 initializeTarget(*unwrap(R)); in LLVMInitializeTarget() 48 return wrap(&unwrap(M)->getDataLayout()); in LLVMGetModuleDataLayout() 52 unwrap(M)->setDataLayout(*unwrap(DL)); in LLVMSetModuleDataLayout() 60 delete unwrap(TD); in LLVMDisposeTargetData() 65 unwrap(PM)->add(new TargetLibraryInfoWrapperPass(*unwrap(TLI))); in LLVMAddTargetLibraryInfo() 69 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData() 74 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder() 78 return unwrap(TD)->getPointerSize(0); in LLVMPointerSize() 82 return unwrap(TD)->getPointerSize(AS); in LLVMPointerSizeForAS() [all …]
|
D | TargetMachineC.cpp | 34 static TargetMachine *unwrap(LLVMTargetMachineRef P) { in unwrap() function 37 static Target *unwrap(LLVMTargetRef P) { in unwrap() function 56 return wrap(unwrap(T)->getNext()); in LLVMGetNextTarget() 83 return unwrap(T)->getName(); in LLVMGetTargetName() 87 return unwrap(T)->getShortDescription(); in LLVMGetTargetDescription() 91 return unwrap(T)->hasJIT(); in LLVMTargetHasJIT() 95 return unwrap(T)->hasTargetMachine(); in LLVMTargetHasTargetMachine() 99 return unwrap(T)->hasMCAsmBackend(); in LLVMTargetHasAsmBackend() 131 Optional<CodeModel::Model> CM = unwrap(CodeModel, JIT); in LLVMCreateTargetMachine() 150 return wrap(unwrap(T)->createTargetMachine(Triple, CPU, Features, opt, RM, CM, in LLVMCreateTargetMachine() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Scalar.cpp | 118 unwrap(PM)->add(createLoopSimplifyCFGPass()); in LLVMAddLoopSimplifyCFGPass() 122 initializeScalarOpts(*unwrap(R)); in LLVMInitializeScalarOpts() 126 unwrap(PM)->add(createAggressiveDCEPass()); in LLVMAddAggressiveDCEPass() 130 unwrap(PM)->add(createDeadCodeEliminationPass()); in LLVMAddDCEPass() 134 unwrap(PM)->add(createBitTrackingDCEPass()); in LLVMAddBitTrackingDCEPass() 138 unwrap(PM)->add(createAlignmentFromAssumptionsPass()); in LLVMAddAlignmentFromAssumptionsPass() 142 unwrap(PM)->add(createCFGSimplificationPass(1, false, false, true)); in LLVMAddCFGSimplificationPass() 146 unwrap(PM)->add(createDeadStoreEliminationPass()); in LLVMAddDeadStoreEliminationPass() 150 unwrap(PM)->add(createScalarizerPass()); in LLVMAddScalarizerPass() 154 unwrap(PM)->add(createGVNPass()); in LLVMAddGVNPass() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Object.cpp | 23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() function 32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap() function 42 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { in unwrap() function 52 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { in unwrap() function 67 auto maybeContext = Context ? unwrap(Context) : nullptr; in LLVMCreateBinary() 69 createBinary(unwrap(MemBuf)->getMemBufferRef(), maybeContext)); in LLVMCreateBinary() 79 auto Buf = unwrap(BR)->getMemoryBufferRef(); in LLVMBinaryCopyMemoryBuffer() 86 delete unwrap(BR); in LLVMDisposeBinary() 132 return BinaryTypeMapper::mapBinaryTypeToLLVMBinaryType(unwrap(BR)->getType()); in LLVMBinaryGetType() 139 auto universal = cast<MachOUniversalBinary>(unwrap(BR)); in LLVMMachOUniversalBinaryCopyObjectForArch() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt() 56 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat() 70 return unwrap(GenValRef)->IntVal.getBitWidth(); in LLVMGenericValueIntWidth() 75 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt() 83 return unwrap(GenVal)->PointerVal; in LLVMGenericValueToPointer() 87 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat() 89 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat() 91 return unwrap(GenVal)->DoubleVal; in LLVMGenericValueToFloat() 98 delete unwrap(GenVal); in LLVMDisposeGenericValue() 107 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateExecutionEngineForModule() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | Remark.cpp | 33 return unwrap(String)->data(); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 37 return unwrap(String)->size(); in LLVMRemarkStringGetLen() 42 return wrap(&unwrap(DL)->SourceFilePath); in LLVMRemarkDebugLocGetSourceFilePath() 46 return unwrap(DL)->SourceLine; in LLVMRemarkDebugLocGetSourceLine() 51 return unwrap(DL)->SourceColumn; in LLVMRemarkDebugLocGetSourceColumn() 55 return wrap(&unwrap(Arg)->Key); in LLVMRemarkArgGetKey() 59 return wrap(&unwrap(Arg)->Val); in LLVMRemarkArgGetValue() 64 if (const Optional<RemarkLocation> &Loc = unwrap(Arg)->Loc) in LLVMRemarkArgGetDebugLoc() 70 delete unwrap(Remark); in LLVMRemarkEntryDispose() 75 return static_cast<LLVMRemarkType>(unwrap(Remark)->RemarkType); in LLVMRemarkEntryGetType() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | IPO.cpp | 66 initializeIPO(*unwrap(R)); in LLVMInitializeIPO() 70 unwrap(PM)->add(createArgumentPromotionPass()); in LLVMAddArgumentPromotionPass() 74 unwrap(PM)->add(createCalledValuePropagationPass()); in LLVMAddCalledValuePropagationPass() 78 unwrap(PM)->add(createConstantMergePass()); in LLVMAddConstantMergePass() 82 unwrap(PM)->add(createDeadArgEliminationPass()); in LLVMAddDeadArgEliminationPass() 86 unwrap(PM)->add(createPostOrderFunctionAttrsLegacyPass()); in LLVMAddFunctionAttrsPass() 90 unwrap(PM)->add(createFunctionInliningPass()); in LLVMAddFunctionInliningPass() 94 unwrap(PM)->add(llvm::createAlwaysInlinerLegacyPass()); in LLVMAddAlwaysInlinerPass() 98 unwrap(PM)->add(createGlobalDCEPass()); in LLVMAddGlobalDCEPass() 102 unwrap(PM)->add(createGlobalOptimizerPass()); in LLVMAddGlobalOptimizerPass() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindings.cpp | 16 TargetMachine *TM2(unwrap(TM)); in LLVMOrcCreateInstance() 30 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcGetErrorMsg() 36 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcGetMangledSymbol() 47 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcCreateLazyCompileCallback() 58 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcCreateIndirectStub() 65 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcSetIndirectStubPointer() 74 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcAddEagerlyCompiledIR() 75 std::unique_ptr<Module> M(unwrap(Mod)); in LLVMOrcAddEagerlyCompiledIR() 89 OrcCBindingsStack &J = *unwrap(JITStack); in LLVMOrcAddLazilyCompiledIR() 90 std::unique_ptr<Module> M(unwrap(Mod)); in LLVMOrcAddLazilyCompiledIR() [all …]
|
/third_party/flatbuffers/tests/rust_usage_test/tests/flexbuffers_tests/ |
D | rwyw.rs | 46 let r = Reader::get_root(builder.view()).unwrap().as_vector(); 47 xs.iter().enumerate().all(|(i, &x)| r.index(i).unwrap().get_bool().unwrap() == x) 56 let r = Reader::get_root(builder.view()).unwrap().as_vector(); 66 let r = Reader::get_root(builder.view()).unwrap().as_vector(); 76 let r = Reader::get_root(builder.view()).unwrap().as_vector(); 86 let r = Reader::get_root(builder.view()).unwrap().as_vector(); 96 let r = Reader::get_root(builder.view()).unwrap().as_map(); 108 let r = Reader::get_root(builder.view()).unwrap().as_map(); 120 let r = Reader::get_root(builder.view()).unwrap().as_vector(); 122 |(i, x)| r.idx(i).get_blob().unwrap().0.iter().eq(x.iter()) [all …]
|
/third_party/qrcodegen/rust/examples/ |
D | qrcodegen-demo.rs | 53 let qr: QrCode = QrCode::encode_text(text, errcorlvl).unwrap(); in do_basic_demo() 62 …de::encode_text("314159265358979323846264338327950288419716939937510", QrCodeEcc::Medium).unwrap(); in do_variety_demo() 66 …::encode_text("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", QrCodeEcc::High).unwrap(); in do_variety_demo() 70 let qr = QrCode::encode_text("こんにちwa、世界! αβγδ", QrCodeEcc::Quartile).unwrap(); in do_variety_demo() 81 "a White Rabbit with pink eyes ran close by her."), QrCodeEcc::High).unwrap(); in do_variety_demo() 91 let qr = QrCode::encode_text(&[silver0, silver1].concat(), QrCodeEcc::Low).unwrap(); in do_segment_demo() 98 let qr = QrCode::encode_segments(&segs, QrCodeEcc::Low).unwrap(); in do_segment_demo() 105 let qr = QrCode::encode_text(&[golden0, golden1, golden2].concat(), QrCodeEcc::Low).unwrap(); in do_segment_demo() 113 let qr = QrCode::encode_segments(&segs, QrCodeEcc::Low).unwrap(); in do_segment_demo() 118 let qr = QrCode::encode_text(madoka, QrCodeEcc::Low).unwrap(); in do_segment_demo() [all …]
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_nist_kw.data | 213 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 128 count 3 217 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 256 count 0 221 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 192 count 7 225 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 320 count 8 229 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 4096 count 0 233 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 128 count 1 237 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 256 count 1 241 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 192 count 3 245 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 320 count 1 249 NIST KW unwrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 4096 count 4 [all …]
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_helper.cpp | 48 llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); in ac_add_attr_dereferenceable() 54 llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); in ac_add_attr_alignment() 60 llvm::Argument *A = llvm::unwrap<llvm::Argument>(arg); in ac_is_sgpr_param() 81 llvm::unwrap(module)->setTargetTriple(TM->getTargetTriple().getTriple()); in ac_create_module() 82 llvm::unwrap(module)->setDataLayout(TM->createDataLayout()); in ac_create_module() 108 llvm::unwrap(builder)->setFastMathFlags(flags); in ac_create_builder() 118 auto *b = llvm::unwrap(ctx->builder); in ac_enable_signed_zeros() 132 auto *b = llvm::unwrap(ctx->builder); in ac_disable_signed_zeros() 249 p->passmgr.run(*llvm::unwrap(module)); in ac_compile_module_to_elf() 256 llvm::unwrap(passmgr)->add(llvm::createBarrierNoopPass()); in ac_llvm_add_barrier_noop_pass() [all …]
|
/third_party/boost/libs/units/test/ |
D | test_constants.cpp | 41 typename T::value_type unwrap(const boost::units::constant<T>&); 44 T unwrap(const T&); 46 …OOST_UNITS_CHECK_RESULT(arg1, op, arg2) check_same((arg1) op (arg2), unwrap(arg1) op unwrap(arg2)); 81 check_same(pow<2>(length_constant), pow<2>(unwrap(length_constant))); in test_pow() 82 check_same(root<2>(length_constant), root<2>(unwrap(length_constant))); in test_pow() 83 check_same(pow<5>(length_constant), pow<5>(unwrap(length_constant))); in test_pow() 84 check_same(root<5>(length_constant), root<5>(unwrap(length_constant))); in test_pow() 85 …check_same(pow<static_rational<2, 3> >(length_constant), pow<static_rational<2, 3> >(unwrap(length… in test_pow() 86 …check_same(root<static_rational<2, 3> >(length_constant), root<static_rational<2, 3> >(unwrap(leng… in test_pow()
|
/third_party/boost/boost/statechart/ |
D | processor_container.hpp | 52 struct unwrap struct 132 typedef typename detail::unwrap< Arg1 >::type arg1_type; in create_processor() 151 typedef typename detail::unwrap< Arg1 >::type arg1_type; in create_processor() 152 typedef typename detail::unwrap< Arg2 >::type arg2_type; in create_processor() 172 typedef typename detail::unwrap< Arg1 >::type arg1_type; in create_processor() 173 typedef typename detail::unwrap< Arg2 >::type arg2_type; in create_processor() 174 typedef typename detail::unwrap< Arg3 >::type arg3_type; in create_processor() 196 typedef typename detail::unwrap< Arg1 >::type arg1_type; in create_processor() 197 typedef typename detail::unwrap< Arg2 >::type arg2_type; in create_processor() 198 typedef typename detail::unwrap< Arg3 >::type arg3_type; in create_processor() [all …]
|
/third_party/flatbuffers/tests/rust_usage_test/outdir/ |
D | build.rs | 5 .unwrap() in main() 7 .unwrap() in main() 9 .unwrap() in main() 11 .unwrap() in main() 27 let out_dir = std::path::Path::new(&std::env::var("OUT_DIR").unwrap()).to_path_buf(); in main() 38 std::fs::rename(&genfile, out_dir.join("monster_generated.rs")).unwrap(); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitReader.cpp | 39 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext() 40 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext() 61 MemoryBufferRef Buf = unwrap(MemBuf)->getMemBufferRef(); in LLVMParseBitcodeInContext2() 62 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMParseBitcodeInContext2() 81 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMGetBitcodeModuleInContext() 82 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext() 108 LLVMContext &Ctx = *unwrap(ContextRef); in LLVMGetBitcodeModuleInContext2() 109 std::unique_ptr<MemoryBuffer> Owner(unwrap(MemBuf)); in LLVMGetBitcodeModuleInContext2()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | CBindingWrapping.h | 21 inline ty *unwrap(ref P) { \ 33 inline T *unwrap(ref P) { \ 34 return cast<T>(unwrap(P)); \ 41 inline T *unwrap(ref P) { \ 42 T *Q = (T*)unwrap(P); \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | CBindingWrapping.h | 20 inline ty *unwrap(ref P) { \ 32 inline T *unwrap(ref P) { \ 33 return cast<T>(unwrap(P)); \ 40 inline T *unwrap(ref P) { \ 41 T *Q = (T*)unwrap(P); \
|
/third_party/typescript/tests/baselines/reference/ |
D | returnTypeInferenceNotTooBroad.types | 24 declare function unwrap<T>(w: Wrapper<T>): T; 25 >unwrap : <T>(w: Wrapper<T>) => T 43 export const yun = unwrap(y); 45 >unwrap(y) : { kind: "a"; a: 3; } 46 >unwrap : <T>(w: Wrapper<T>) => T 50 export const yone = unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})); 52 >unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})) : { kind: "a"; a: 3; } 53 >unwrap : <T>(w: Wrapper<T>) => T
|
D | returnTypeInferenceNotTooBroad.symbols | 36 declare function unwrap<T>(w: Wrapper<T>): T; 37 >unwrap : Symbol(unwrap, Decl(returnTypeInferenceNotTooBroad.ts, 7, 68)) 53 export const yun = unwrap(y); 55 >unwrap : Symbol(unwrap, Decl(returnTypeInferenceNotTooBroad.ts, 7, 68)) 59 export const yone = unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})); 61 >unwrap : Symbol(unwrap, Decl(returnTypeInferenceNotTooBroad.ts, 7, 68))
|
D | returnTypeInferenceNotTooBroad.js | 10 declare function unwrap<T>(w: Wrapper<T>): T; 13 export const yun = unwrap(y); 15 export const yone = unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})); 23 exports.yun = unwrap(exports.y); 25 exports.yone = unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 } }));
|
/third_party/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 266 my_game::example::size_prefixed_root_as_monster(bytes).unwrap() in serialized_example_is_accessible_and_correct() 268 my_game::example::root_as_monster(bytes).unwrap() in serialized_example_is_accessible_and_correct() 275 let pos = m.pos().unwrap(); in serialized_example_is_accessible_and_correct() 288 let table2 = m.test().unwrap(); in serialized_example_is_accessible_and_correct() 294 let inv = m.inventory().unwrap(); in serialized_example_is_accessible_and_correct() 300 let test4 = m.test4().unwrap(); in serialized_example_is_accessible_and_correct() 306 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() 319 let m = my_game::example::root_as_monster(fbb.finished_data()).unwrap().unpack(); in test_object_api_reads_correctly() 325 let pos = m.pos.as_ref().unwrap(); in test_object_api_reads_correctly() 336 let monster2 = m.test.as_monster().unwrap(); in test_object_api_reads_correctly() [all …]
|