Home
last modified time | relevance | path

Searched refs:casted (Results 1 – 25 of 83) sorted by relevance

1234

/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.c30 int *casted = dynCastToInt(p); in testDynCast() local
31 *casted = 1; in testDynCast()
38 int *casted = dynCastOrNull(p); in testDynCastOrNull() local
39 *casted = 1; in testDynCastOrNull()
47 int *casted; in testBranch() local
52 casted = dynCastToInt(p); in testBranch()
56 casted = (int *)p; in testBranch()
59 *casted = 1; // expected-warning {{Dereference of null pointer}} in testBranch()
63 int *casted; in testBranchReversed() local
70 casted = (int *)p; in testBranchReversed()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_casting_utils_test.cc46 DummyInstruction* casted = in TEST() local
48 ASSERT_EQ(casted, &instruction); in TEST()
64 DummyInstruction* casted = in TEST() local
66 ASSERT_EQ(casted, &instruction); in TEST()
77 DummyInstruction* casted = CastOrNull<DummyInstruction>(null); in TEST() local
78 ASSERT_EQ(casted, nullptr); in TEST()
83 DummyInstruction* casted = in TEST() local
85 ASSERT_EQ(casted, &instruction); in TEST()
90 DummyInstruction* casted = in TEST() local
92 ASSERT_EQ(casted, nullptr); in TEST()
[all …]
Dhlo_casting_utils.h42 const T* casted = static_cast<const T*>(instruction); in Cast() local
49 return casted; in Cast()
82 const T* casted = in DynCast() local
85 CHECK_EQ(casted, dynamic_cast<const T*>(instruction)); in DynCast()
87 return casted; in DynCast()
Dresult_caster_test.cc51 TF_ASSERT_OK_AND_ASSIGN(bool casted, ResultCaster().Run(module.get())); in TEST_P()
55 EXPECT_EQ(casted, should_cast); in TEST_P()
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dsink-addrmode.ll13 %casted = bitcast i64* %addr to i32*
17 %v = load i32, i32* %casted, align 4
31 %casted = bitcast i64* %addr to i32*
37 %v1 = load i32, i32* %casted, align 4
45 %v2 = load i32, i32* %casted, align 4
59 %casted = bitcast i64* %addr to i32*
65 %v1 = load i32, i32* %casted, align 4
68 %v2 = load i32, i32* %casted, align 4
82 %casted = bitcast i64* %addr to i32*
88 %v1 = load i32, i32* %casted, align 4
[all …]
Dsink-addrspacecast.ll12 %casted = addrspacecast i64* %addr to i32 addrspace(1)*
16 %v = load i32, i32 addrspace(1)* %casted, align 4
27 %casted = addrspacecast i64* %base to i32 addrspace(1)*
28 %addr = getelementptr inbounds i32, i32 addrspace(1)* %casted, i64 5
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DPositionUtils.java109 MethodDeclaration casted = (MethodDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
110 return casted.getType(); in beginNodeWithoutConsideringAnnotations()
112 FieldDeclaration casted = (FieldDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
113 return casted.getType(); in beginNodeWithoutConsideringAnnotations()
115 ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
116 return casted.getNameExpr(); in beginNodeWithoutConsideringAnnotations()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_PositionUtils.txt38 …Line 109) MethodDeclaration casted = (MethodDeclaration) node ==> com.github.javaparser.ast.body.M…
40 Line 110) casted.getType() ==> com.github.javaparser.ast.type.Type
42 …Line 112) FieldDeclaration casted = (FieldDeclaration) node ==> com.github.javaparser.ast.body.Fie…
44 Line 113) casted.getType() ==> com.github.javaparser.ast.type.Type
46 …Line 115) ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node ==> com.github.j…
48 Line 116) casted.getNameExpr() ==> com.github.javaparser.ast.expr.NameExpr
/external/openscreen/platform/impl/
Dsocket_address_posix_unittest.cc52 struct sockaddr* casted = reinterpret_cast<struct sockaddr*>(&address); in TEST() local
53 SocketAddressPosix address_posix(*casted); in TEST()
75 struct sockaddr* casted = reinterpret_cast<struct sockaddr*>(&address); in TEST() local
76 SocketAddressPosix address_posix(*casted); in TEST()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/utils/
DPositionUtils.java104 NodeWithElementType<?> casted = (NodeWithElementType<?>) node; in beginNodeWithoutConsideringAnnotations() local
105 return casted.getElementType(); in beginNodeWithoutConsideringAnnotations()
107 ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
108 return casted.getNameExpr(); in beginNodeWithoutConsideringAnnotations()
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Ddecompose.cc189 auto casted = builder.create<CastOp>(op->getLoc(), tensor_type, in RewriteUnregisteredTFOps() local
191 new_operands.push_back(casted); in RewriteUnregisteredTFOps()
195 auto casted = builder.create<CastOp>( in RewriteUnregisteredTFOps() local
197 variadic_operands.push_back(casted); in RewriteUnregisteredTFOps()
260 auto casted = builder.create<CastOp>( in RewriteUnregisteredTFOps() local
262 std::get<0>(res).replaceAllUsesWith(casted.out()); in RewriteUnregisteredTFOps()
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddriver.cc355 T* casted = static_cast<T*>(buffer); in FillIntT() local
358 casted[i] = static_cast<T>(distr(generator)); in FillIntT()
366 T* casted = static_cast<T*>(buffer); in FillFloatT() local
369 casted[i] = distr(generator); in FillFloatT()
411 const T* casted = static_cast<const T*>(buffer); in DisplayT() local
413 std::cout << casted[i]; in DisplayT()
456 auto casted = static_cast<const void* const*>(buffer); in Display() local
459 Display(casted[tuple_idx], array_shape); in Display()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DPositionUtils.java120 NodeWithType<?, Type> casted = (NodeWithType<?, Type>) node; in beginNodeWithoutConsideringAnnotations() local
121 return casted.getType(); in beginNodeWithoutConsideringAnnotations()
123 ClassOrInterfaceDeclaration casted = (ClassOrInterfaceDeclaration) node; in beginNodeWithoutConsideringAnnotations() local
124 return casted.getName(); in beginNodeWithoutConsideringAnnotations()
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Drematerialize-derived-pointers.ll18 ; CHECK: getelementptr i32, i32 addrspace(1)* %base.relocated.casted, i32 15
31 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
32 ; CHECK: getelementptr i32, i32 addrspace(1)* %base.relocated.casted, i32 %idx
45 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
46 ; CHECK: bitcast i32 addrspace(1)* %base.relocated.casted to i64 addrspace(1)*
62 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
63 ; CHECK: bitcast i32 addrspace(1)* %base.relocated.casted to i64 addrspace(1)*
80 ; CHECK: %ptr2.relocated.casted = bitcast i8 addrspace(1)* %ptr2.relocated to i32 addrspace(1)*
82 ; CHECK: %base.relocated.casted = bitcast i8 addrspace(1)* %base.relocated to i32 addrspace(1)*
230 ; CHECK: phi i32 addrspace(1)* [ %base, %entry ], [ %base.relocated.casted, %loop ]
Drelocation.ll18 ; CHECK: %phi1 = phi i64 addrspace(1)* [ %obj.relocated.casted, %entry ], [ %obj3, %joint2 ]
27 ; CHECK: %phi2 = phi i64 addrspace(1)* [ %obj.relocated.casted, %use ], [ %obj2.relocated.casted, %…
28 ; CHECK: %obj3 = getelementptr i64, i64 addrspace(1)* %obj2.relocated.casted, i32 1
49 ; CHECK-DAG: [ %obj_init.relocated.casted, %loop.backedge ]
51 ; CHECK-DAG: [ %obj.relocated.casted, %loop.backedge ]
263 ; CHECK: phi i64 addrspace(1)* [ %obj.relocated.casted, %callbb ], [ %obj, %entry ]
266 ; CHECK-DAG: [ %obj2.relocated.casted, %callbb ]
Dbase-pointers-11.ll15 ; CHECK-DAG: [ %base_obj.relocated.casted, %loop ]
19 ; CHECK-DAG: [ %next.relocated.casted, %loop ]
Dliveness-basics.ll33 …ECK-NEXT: %.0 = phi i64 addrspace(1)* [ %obj.relocated.casted, %taken ], [ %obj.relocated2.casted,…
54 ; CHECK-NEXT: ret i64 addrspace(1)* %obj.relocated.casted
114 ; CHECK-NEXT: ret i64 addrspace(1)* %derived.relocated2.casted
Dpreprocess.ll18 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
19 ; CHECK-NEXT: @consume(i64 addrspace(1)* %obj.relocated.casted)
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/
Dlower_index_cast_pass.cc50 Value casted = b.create<arith::IndexCastOp>( in matchAndRewrite() local
52 b.create<tensor::YieldOp>(loc, casted); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dlower_index_cast_pass.cc50 Value casted = in matchAndRewrite() local
52 b.create<tensor::YieldOp>(loc, casted); in matchAndRewrite()
/external/gfxstream-protocols/registry/vulkan/scripts/cereal/
Dhandlemap.py56casted = "%s(%s)" % (self.makeCastExpr(vulkanType.getForAddressAccess().getForNonConstAccess()), a…
58 casted = "%s(%s)" % (self.makeCastExpr(vulkanType.getForNonConstAccess()), access)
60casted = "%s(%s)" % (self.makeCastExpr(vulkanType.getForAddressAccess().getForNonConstAccess()), a…
61 return casted
Dtransform.py135casted = "%s(%s)" % (self.makeCastExpr(vulkanType.getForAddressAccess().getForNonConstAccess()), a…
137 casted = "%s(%s)" % (self.makeCastExpr(vulkanType.getForNonConstAccess()), access)
139casted = "%s(%s)" % (self.makeCastExpr(vulkanType.getForAddressAccess().getForNonConstAccess()), a…
140 return casted
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c226 LLVMValueRef shifted, casted, scaled, masked; in lp_build_unpack_arith_rgba_aos() local
334casted = LLVMBuildSIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos()
336casted = LLVMBuildUIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos()
347 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), ""); in lp_build_unpack_arith_rgba_aos()
349 scaled = casted; in lp_build_unpack_arith_rgba_aos()
372 LLVMValueRef shifted, casted, scaled, unswizzled; in lp_build_pack_rgba_aos() local
431casted = LLVMBuildFPToSI(builder, scaled, LLVMVectorType(LLVMInt32TypeInContext(gallivm->context),… in lp_build_pack_rgba_aos()
433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), ""); in lp_build_pack_rgba_aos()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java316 E casted = (E) element;
318 if (countMap.replace(casted, current, current - occurrences)) {
369 E casted = (E) element;
370 if (countMap.replace(casted, current, current - occurrences)) {
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java316 E casted = (E) element;
318 if (countMap.replace(casted, current, current - occurrences)) {
369 E casted = (E) element;
370 if (countMap.replace(casted, current, current - occurrences)) {

1234