Searched refs:kResource (Results 1 – 20 of 20) sorted by relevance
17 const char kResource[] = "images/grayscale.jpg"; variable18 sk_sp<SkImage> image(GetResourceAsImage(kResource));23 " to set the resourcePath?\n", kResource);
20 const char kResource[] = "images/grayscale.jpg"; variable21 sk_sp<SkImage> image(GetResourceAsImage(kResource));26 " to set the resourcePath?\n", kResource);
52 constexpr char kResource[] = "images/box.gif"; in onOnceBeforeDraw() local53 if (!GetResourceAsBitmap(kResource, &fBM)) { in onOnceBeforeDraw()
44 e.kind_ = Kind::kResource; in ConstantResource()69 e.kind_ = Kind::kResource; in Resource()83 case Kind::kResource: in HumanString()128 case Kind::kResource: in ResolveDynamism()160 case Kind::kResource: in ResolveConstant()202 case Kind::kResource: in GetShape()
51 kResource, enumerator90 if (kind_ == Kind::kResource && resource_->IsOverwritten()) { in constant_value()
41 kResource, enumerator
299 args[0].kind = XlaCompiler::Argument::kResource; in TEST_F()340 args[0].kind = XlaCompiler::Argument::kResource; in TEST_F()395 args[1].kind = XlaCompiler::Argument::kResource; in TEST_F()448 args[1].kind = XlaCompiler::Argument::kResource; in TEST_F()511 args[1].kind = XlaCompiler::Argument::kResource; in TEST_F()816 args[0].kind = XlaCompiler::Argument::kResource; in TEST_F()875 args[0].kind = XlaCompiler::Argument::kResource; in TEST_F()907 args[0].kind = XlaCompiler::Argument::kResource; in TEST_F()1067 args[1].kind = XlaCompiler::Argument::kResource; in TEST_F()1174 args[0].kind = XlaCompiler::Argument::kResource; in TEST_F()[all …]
57 return arg.kind == XlaArgument::kResource && arg.type == DT_INVALID; in AnyUninitializedResourceArg()
94 case XlaExpression::Kind::kResource: { in PrepareArguments()276 if (arguments[i].kind == XlaCompiler::Argument::kResource) { in CompileFunctionalNode()
249 case XlaExpression::Kind::kResource: in BuildComputation()451 case kResource: { in HumanString()871 case XlaCompiler::Argument::kResource: { in XLAShapeForArgument()939 arg->kind = XlaCompiler::Argument::kResource; in PopulateArgumentFromResource()975 case XlaCompiler::Argument::kResource: { in BuildArguments()988 arg.kind == XlaCompiler::Argument::kResource in BuildArguments()1144 case XlaCompiler::Argument::kResource: { in BuildArguments()
66 EXPECT_TRUE(XlaExpression::Kind::kResource == in TEST_F()
256 arg.kind = XlaCompiler::Argument::kResource; in PopulateXlaArgs()
144 case XlaCompiler::Argument::kResource: in BuildSignature()238 .Attr("T", args[i].kind == XlaCompiler::Argument::kResource in CreateGraph()
619 arg.kind = XlaCompiler::Argument::kResource; in BuildXlaCompilerArguments()
529 if (xla_arg.kind == XlaArgument::kResource) { in RewriteWithArgs()598 /*is_resource=*/arg.kind == XlaArgument::kResource}); in CompileGraphSetup()
174 argument_kinds.push_back(XlaArgument::Kind::kResource); in ParseArgumentKinds()
116 case SavedObject::kResource: { in TensorHandleFromNode()
434 } else if (node.kind_case() == SavedObject::kResource) { in PartiallyReviveSavedModelObjects()
154 return arg.kind != XlaCompiler::Argument::kResource && in ConvertLoopInvariantsToConst()
200 arg.kind = XlaCompiler::Argument::kResource; in BuildComputationArgumentDescriptions()