/external/libbrillo/brillo/streams/ |
input_stream_set_unittest.cc | 41 inline static void* IntToPtr(int addr) { 106 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) 110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 115 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) 117 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100 , _, _, _)) 121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 126 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) 128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, 138 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) 142 EXPECT_TRUE(stream_->ReadBlocking(IntToPtr(1000), 100, &read, nullptr)) [all...] |
memory_containers_unittest.cc | 45 inline static void* IntToPtr(int addr) { 55 void* const test_read_buffer_ = IntToPtr(12345); 61 void* const buffer_ = IntToPtr(456);
|
memory_stream_unittest.cc | 58 inline static void* IntToPtr(int addr) { 69 void* const test_read_buffer_ = IntToPtr(12345);
|
/external/ceres-solver/internal/ceres/ |
problem_test.cc | 208 static double *IntToPtr(int i) { 224 problem.AddParameterBlock(IntToPtr(5), 5); // x 225 problem.AddParameterBlock(IntToPtr(13), 3); // y 227 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 4), 2), 229 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 4), 3), 231 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 4), 9), 233 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 8), 3), 235 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr(12), 2), 237 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr(14), 3), 241 problem.AddParameterBlock(IntToPtr( 2), 3) [all...] |
/external/llvm/unittests/IR/ |
InstructionsTest.cpp | 418 CastInst::IntToPtr, 426 CastInst::IntToPtr, 434 CastInst::IntToPtr, 440 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, 447 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, 465 // Cannot simplify inttoptr, addrspacecast 466 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, 480 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, 484 CastInst::IntToPtr);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
basetsd.h | 78 static __inline void *IntToPtr(const int i) { return((void *)(INT_PTR)i); } 115 #define IntToPtr(i) ((VOID *)(INT_PTR)((int)i))
|
/external/llvm/lib/ExecutionEngine/Orc/ |
IndirectionUtils.cpp | 29 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal,
|
/external/llvm/lib/Target/SystemZ/ |
SystemZTargetTransformInfo.cpp | 170 case Instruction::IntToPtr:
|
/external/llvm/lib/Target/XCore/ |
XCoreLowerThreadLocal.cpp | 118 case Instruction::IntToPtr:
|
/external/llvm/include/llvm/Analysis/ |
TargetFolder.h | 194 return CreateCast(Instruction::IntToPtr, C, DestTy);
|
TargetTransformInfoImpl.h | 73 case Instruction::IntToPtr: { 74 // An inttoptr cast is free so long as the input is a legal integer type
|
/external/llvm/include/llvm/IR/ |
ConstantFolder.h | 181 return CreateCast(Instruction::IntToPtr, C, DestTy);
|
NoFolder.h | 234 return CreateCast(Instruction::IntToPtr, C, DestTy);
|
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 217 // convert the element back to a pointer using a inttoptr. 390 if (CE->getOpcode() == Instruction::IntToPtr && 502 Cast = Instruction::IntToPtr; 747 // "inttoptr (sub (ptrtoint Ptr), V)" 796 if (CE->getOpcode() == Instruction::IntToPtr) { [all...] |
CostModel.cpp | 445 case Instruction::IntToPtr:
|
MemoryBuiltins.cpp | 432 if (CE->getOpcode() == Instruction::IntToPtr) 657 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) ||
|
ObjCARCInstKind.cpp | 288 case Instruction::IntToPtr:
|
ScalarEvolutionExpander.cpp | 118 Op == Instruction::IntToPtr) && 132 // Short-circuit unnecessary inttoptr<->ptrtoint casts. 133 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && 137 CI->getOpcode() == Instruction::IntToPtr) && 143 CE->getOpcode() == Instruction::IntToPtr) && 361 /// a GEP instead of using ptrtoint+arithmetic+inttoptr. This helps 363 /// for getelementptr vs. inttoptr in 368 /// ScalarEvolution not recognizing inttoptr and ptrtoint operators, as 490 // better than ptrtoint+arithmetic+inttoptr at least. [all...] |
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
CompileOnDemandLayer.h | 292 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr,
|
/external/llvm/lib/IR/ |
Instruction.cpp | 248 case IntToPtr: return "inttoptr";
|
Instructions.cpp | [all...] |
/external/llvm/unittests/Linker/ |
LinkModulesTest.cpp | 55 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, 111 // i8* inttoptr (i32 1 to i8*)]
|
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.cpp | 109 case Instruction::IntToPtr:
|
/external/webrtc/webrtc/modules/audio_device/win/ |
audio_device_wave_win.cc | [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | 164 I->getOpcode() == Instruction::IntToPtr) && 779 if (C->getOpcode() == Instruction::IntToPtr) { [all...] |