Home
last modified time | relevance | path

Searched refs:new_function (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils_test.cc177 FunctionDef* new_function = library.add_function(); in TEST() local
178 SetUniqueGraphFunctionName("new_function", &library, new_function); in TEST()
181 ContainsGraphFunctionWithName(new_function->signature().name(), library)); in TEST()
211 FunctionDef* new_function = library.add_function(); in TEST() local
212 SetUniqueGraphFunctionName("new_function", &library, new_function); in TEST()
215 FindGraphFunctionWithName(new_function->signature().name(), library), -1); in TEST()
269 FunctionDef* new_function = library.add_function(); in TEST() local
270 SetUniqueGraphFunctionName("new_function", &library, new_function); in TEST()
274 EXPECT_NE(new_function->signature().name(), in TEST()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_function.cpp242 std::unique_ptr<opt::Function> new_function = MakeUnique<opt::Function>( in TryToAddFunction() local
256 new_function->AddParameter(InstructionFromMessage( in TryToAddFunction()
279 block->SetParent(new_function.get()); in TryToAddFunction()
293 new_function->AddBasicBlock(std::move(block)); in TryToAddFunction()
303 new_function->SetFunctionEnd(InstructionFromMessage( in TryToAddFunction()
305 ir_context->AddFunction(std::move(new_function)); in TryToAddFunction()
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dtransformation_add_function.cpp242 std::unique_ptr<opt::Function> new_function = MakeUnique<opt::Function>( in TryToAddFunction() local
256 new_function->AddParameter(InstructionFromMessage( in TryToAddFunction()
279 block->SetParent(new_function.get()); in TryToAddFunction()
293 new_function->AddBasicBlock(std::move(block)); in TryToAddFunction()
303 new_function->SetFunctionEnd(InstructionFromMessage( in TryToAddFunction()
305 ir_context->AddFunction(std::move(new_function)); in TryToAddFunction()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_function.cpp237 std::unique_ptr<opt::Function> new_function = MakeUnique<opt::Function>( in TryToAddFunction() local
251 new_function->AddParameter(InstructionFromMessage( in TryToAddFunction()
274 block->SetParent(new_function.get()); in TryToAddFunction()
288 new_function->AddBasicBlock(std::move(block)); in TryToAddFunction()
298 new_function->SetFunctionEnd( in TryToAddFunction()
300 context->AddFunction(std::move(new_function)); in TryToAddFunction()
/external/compiler-rt/lib/interception/
Dinterception_win.h42 const char *function_name, uptr new_function,
Dinterception_win.cc841 const char *function_name, uptr new_function, in OverrideImportedFunction() argument
898 iat->u1.AddressOfData = new_function; in OverrideImportedFunction()
/external/python/cpython3/Lib/test/
Dtest_code.py460 new_function = type(f)(c, f.__globals__, 'nf', f.__defaults__, f.__closure__)
467 new_function(the_object)
/external/python/cpython3/Doc/howto/
Dclinic.rst1114 module.class.new_function [as c_basename] = module.class.existing_function
1116 Docstring for new_function goes here.