Home
last modified time | relevance | path

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

1234

/external/llvm/lib/VMCore/
DCore.cpp46 initializeCore(*unwrap(R)); in LLVMInitializeCore()
67 delete unwrap(C); in LLVMContextDispose()
72 return unwrap(C)->getMDKindID(StringRef(Name, SLen)); in LLVMGetMDKindIDInContext()
88 return wrap(new Module(ModuleID, *unwrap(C))); in LLVMModuleCreateWithNameInContext()
92 delete unwrap(M); in LLVMDisposeModule()
97 return unwrap(M)->getDataLayout().c_str(); in LLVMGetDataLayout()
101 unwrap(M)->setDataLayout(Triple); in LLVMSetDataLayout()
106 return unwrap(M)->getTargetTriple().c_str(); in LLVMGetTarget()
110 unwrap(M)->setTargetTriple(Triple); in LLVMSetTarget()
114 unwrap(M)->dump(); in LLVMDumpModule()
[all …]
/external/llvm/lib/Target/
DTarget.cpp31 initializeTarget(*unwrap(R)); in LLVMInitializeTarget()
39 unwrap(PM)->add(new TargetData(*unwrap(TD))); in LLVMAddTargetData()
43 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData()
48 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian; in LLVMByteOrder()
52 return unwrap(TD)->getPointerSize(); in LLVMPointerSize()
56 return wrap(unwrap(TD)->getIntPtrType(getGlobalContext())); in LLVMIntPtrType()
60 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits()
64 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType()
68 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType()
72 return unwrap(TD)->getABITypeAlignment(unwrap(Ty)); in LLVMABIAlignmentOfType()
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalar.cpp71 initializeScalarOpts(*unwrap(R)); in LLVMInitializeScalarOpts()
75 unwrap(PM)->add(createAggressiveDCEPass()); in LLVMAddAggressiveDCEPass()
79 unwrap(PM)->add(createCFGSimplificationPass()); in LLVMAddCFGSimplificationPass()
83 unwrap(PM)->add(createDeadStoreEliminationPass()); in LLVMAddDeadStoreEliminationPass()
87 unwrap(PM)->add(createGVNPass()); in LLVMAddGVNPass()
91 unwrap(PM)->add(createIndVarSimplifyPass()); in LLVMAddIndVarSimplifyPass()
95 unwrap(PM)->add(createInstructionCombiningPass()); in LLVMAddInstructionCombiningPass()
99 unwrap(PM)->add(createJumpThreadingPass()); in LLVMAddJumpThreadingPass()
103 unwrap(PM)->add(createLICMPass()); in LLVMAddLICMPass()
107 unwrap(PM)->add(createLoopDeletionPass()); in LLVMAddLoopDeletionPass()
[all …]
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
41 switch (unwrap(TyRef)->getTypeID()) { in LLVMCreateGenericValueOfFloat()
55 return unwrap(GenValRef)->IntVal.getBitWidth(); in LLVMGenericValueIntWidth()
60 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt()
68 return unwrap(GenVal)->PointerVal; in LLVMGenericValueToPointer()
72 switch (unwrap(TyRef)->getTypeID()) { in LLVMGenericValueToFloat()
74 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
76 return unwrap(GenVal)->DoubleVal; in LLVMGenericValueToFloat()
85 delete unwrap(GenVal); in LLVMDisposeGenericValue()
94 EngineBuilder builder(unwrap(M)); in LLVMCreateExecutionEngineForModule()
[all …]
/external/llvm/lib/Transforms/IPO/
DIPO.cpp50 initializeIPO(*unwrap(R)); in LLVMInitializeIPO()
54 unwrap(PM)->add(createArgumentPromotionPass()); in LLVMAddArgumentPromotionPass()
58 unwrap(PM)->add(createConstantMergePass()); in LLVMAddConstantMergePass()
62 unwrap(PM)->add(createDeadArgEliminationPass()); in LLVMAddDeadArgEliminationPass()
66 unwrap(PM)->add(createFunctionAttrsPass()); in LLVMAddFunctionAttrsPass()
70 unwrap(PM)->add(createFunctionInliningPass()); in LLVMAddFunctionInliningPass()
74 unwrap(PM)->add(createGlobalDCEPass()); in LLVMAddGlobalDCEPass()
78 unwrap(PM)->add(createGlobalOptimizerPass()); in LLVMAddGlobalOptimizerPass()
82 unwrap(PM)->add(createIPConstantPropagationPass()); in LLVMAddIPConstantPropagationPass()
86 unwrap(PM)->add(createLowerSetJmpPass()); in LLVMAddLowerSetJmpPass()
[all …]
/external/llvm/lib/Object/
DObject.cpp22 return wrap(ObjectFile::createObjectFile(unwrap(MemBuf))); in LLVMCreateObjectFile()
26 delete unwrap(ObjectFile); in LLVMDisposeObjectFile()
30 ObjectFile::section_iterator SI = unwrap(ObjectFile)->begin_sections(); in LLVMGetSections()
35 delete unwrap(SI); in LLVMDisposeSectionIterator()
40 return (*unwrap(SI) == unwrap(ObjectFile)->end_sections()) ? 1 : 0; in LLVMIsSectionIteratorAtEnd()
45 unwrap(SI)->increment(ec); in LLVMMoveToNextSection()
51 if (error_code ec = (*unwrap(SI))->getName(ret)) in LLVMGetSectionName()
58 if (error_code ec = (*unwrap(SI))->getSize(ret)) in LLVMGetSectionSize()
65 if (error_code ec = (*unwrap(SI))->getContents(ret)) in LLVMGetSectionContents()
/external/webkit/Source/WebKit/chromium/src/
DWebInputElement.cpp80 unwrap<HTMLInputElement>()->setActivatedSubmit(activated); in setActivatedSubmit()
90 unwrap<HTMLInputElement>()->setValue(value, sendChangeEvent); in setValue()
100 unwrap<HTMLInputElement>()->setSuggestedValue(value); in setSuggestedValue()
110 unwrap<HTMLInputElement>()->setPlaceholder(value); in setPlaceholder()
125 unwrap<HTMLInputElement>()->setAutofilled(autoFilled); in setAutofilled()
130 unwrap<HTMLInputElement>()->setSelectionRange(start, end); in setSelectionRange()
176 InputElement* inputElement = webElement->unwrap<Element>()->toInputElement(); in toWebInputElement()
180 ASSERT(webElement->unwrap<Element>()->isHTMLElement()); in toWebInputElement()
DWebDOMMouseEvent.cpp62 return unwrap<MouseEvent>()->layerX(); in layerX()
67 return unwrap<MouseEvent>()->layerY(); in layerY()
72 return unwrap<MouseEvent>()->offsetX(); in offsetX()
77 return unwrap<MouseEvent>()->offsetY(); in offsetY()
DWebOptionElement.cpp46 return unwrap<HTMLOptionElement>()->setValue(newValue); in setValue()
71 return unwrap<HTMLOptionElement>()->setDefaultSelected(newSelected); in setDefaultSelected()
DWebElement.cpp79 unwrap<Element>()->setAttribute(attrName, attrValue, exceptionCode); in setAttribute()
95 return adoptRef(static_cast<Node*>(unwrap<Element>()->shadowRoot())); in shadowRoot()
DWebFormElement.cpp76 unwrap<HTMLFormElement>()->submit(); in submit()
83 unwrap<HTMLFormElement>()->getNamedElements(name, tempVector); in getNamedElements()
DWebDocument.cpp101 return WebElement(unwrap<Document>()->head()); in head()
111 return WebNodeCollection(unwrap<Document>()->all()); in all()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLEngineTest.java232 e.unwrap(bbN, bb); in testUnwrap01()
233 e.unwrap(bb, bbN); in testUnwrap01()
238 e.unwrap(bb, roBb); in testUnwrap01()
263 e.unwrap(bb, bbNA); in testUnwrap02()
268 e.unwrap(bb, bbA); in testUnwrap02()
269 e.unwrap(bbN, bbA); in testUnwrap02()
277 e.unwrap(bb, bbA); in testUnwrap02()
292 e.unwrap(bbs, bbd); in testUnwrap03()
296 SSLEngineResult res = e.unwrap(bbd, bbs); in testUnwrap03()
301 e.unwrap(bbs, new ByteBuffer[] { bbd }); in testUnwrap03()
[all …]
/external/llvm/lib/Analysis/
DAnalysis.cpp74 initializeAnalysis(*unwrap(R)); in LLVMInitializeAnalysis()
81 LLVMBool Result = verifyModule(*unwrap(M), in LLVMVerifyModule()
92 return verifyFunction(*unwrap<Function>(Fn), in LLVMVerifyFunction()
97 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFG()
102 Function *F = unwrap<Function>(Fn); in LLVMViewFunctionCFGOnly()
/external/llvm/lib/Bitcode/Reader/
DBitReader.cpp34 *OutModule = wrap(ParseBitcodeFile(unwrap(MemBuf), *unwrap(ContextRef), in LLVMParseBitcodeInContext()
54 *OutM = wrap(getLazyBitcodeModule(unwrap(MemBuf), *unwrap(ContextRef), in LLVMGetBitcodeModuleInContext()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DDelegatedData.java54 protected static Data unwrap(Data data) { in unwrap() method in DelegatedData
217 destination = unwrap(destination); in setSymlink()
223 symLink = unwrap(symLink); in setSymlink()
234 from = unwrap(from); in copy()
240 from = unwrap(from); in copy()
/external/llvm/lib/Bitcode/Writer/
DBitWriter.cpp26 WriteBitcodeToFile(unwrap(M), OS); in LLVMWriteBitcodeToFile()
34 WriteBitcodeToFile(unwrap(M), OS); in LLVMWriteBitcodeToFD()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLEngineImplTest.java545 print(client.unwrap(buffer, app_data_buffer)); in testCloseInbound2()
600 print(server.unwrap(ByteBuffer.allocate(40), app_data_buffer)); in testErrorProcessing()
622 server.unwrap(ByteBuffer.allocate(40), app_data_buffer)); in testErrorProcessing()
663 print(client.unwrap(buffer, app_data_buffer)); in testErrorProcessing()
826 print(result = engines[(step+1)%2].unwrap( in doHandshakeImpl()
854 print(result = current_engine.unwrap(buffer, app_data)); in doHandshakeImpl()
923 print(result = not_allowed.unwrap(buffer, app_data_plain)); in doNoRenegotiationTest()
948 print(result = not_allowed.unwrap(buffer, app_data_plain)); in doNoRenegotiationTest()
996 print(result = allowed.unwrap(buffer, app_data_plain)); in doNoRenegotiationTest()
1059 print(result = server.unwrap(co, ByteBuffer.allocate(0))); in doDataExchange()
[all …]
DServerHandshakeImplTest.java82 server.unwrap(encodedClientHello); in testUnwrap()
90 server.unwrap(encodedClientHello); in testUnwrap()
112 server.unwrap(encodedClientHello); in testUnwrap()
/external/llvm/include/llvm-c/
DObject.h54 inline ObjectFile *unwrap(LLVMObjectFileRef OF) { in unwrap() function
62 inline ObjectFile::section_iterator *unwrap(LLVMSectionIteratorRef SI) { in unwrap() function
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
DSasl4Test.java183 saslS.unwrap(null, 1, 1); in testCreateServer03()
268 saslS.unwrap(null, 1, 1); in testCreateServer05()
351 public byte[] unwrap(byte[] incoming, int offset, int len) in unwrap() method in Sasl4Test.mySaslServerFactory.mySaslServer
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/
DWrapper.java16 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() method
/external/llvm/lib/Analysis/IPA/
DIPA.cpp28 initializeIPA(*unwrap(R)); in LLVMInitializeIPA()
/external/llvm/lib/Transforms/Instrumentation/
DInstrumentation.cpp32 initializeInstrumentation(*unwrap(R)); in LLVMInitializeInstrumentation()
/external/webkit/Source/WebCore/storage/
DSQLStatement.cpp169 RefPtr<SQLStatementCallback> callback = m_statementCallbackWrapper.unwrap(); in performCallback()
170 RefPtr<SQLStatementErrorCallback> errorCallback = m_statementErrorCallbackWrapper.unwrap(); in performCallback()

1234