| /third_party/node/deps/v8/src/execution/ |
| H A D | tiering-manager.cc | 26 // Maximum size in bytes of generate code for a function to allow OSR. 33 V(SmallFunction, "small function") 101 void TraceInOptimizationQueue(JSFunction function) { in TraceInOptimizationQueue() argument 103 PrintF("[not marking function %s for optimization: already queued]\n", in TraceInOptimizationQueue() 104 function.DebugNameCStr().get()); in TraceInOptimizationQueue() 108 void TraceHeuristicOptimizationDisallowed(JSFunction function) { in TraceHeuristicOptimizationDisallowed() argument 111 "[not marking function %s for optimization: marked with " in TraceHeuristicOptimizationDisallowed() 113 function.DebugNameCStr().get()); in TraceHeuristicOptimizationDisallowed() 117 void TraceRecompile(Isolate* isolate, JSFunction function, in TraceRecompile() argument 122 function in TraceRecompile() 132 TraceManualRecompile(JSFunction function, CodeKind code_kind, ConcurrencyMode concurrency_mode) TraceManualRecompile() argument 142 Optimize(JSFunction function, CodeKind code_kind, OptimizationDecision d) Optimize() argument 153 JSFunction function = frame->function(); HaveCachedOSRCodeForCurrentBytecodeOffset() local 188 InterruptBudgetFor(Isolate* isolate, JSFunction function) InterruptBudgetFor() argument 210 SmallEnoughForOSR(Isolate* isolate, JSFunction function) SmallEnoughForOSR() argument 217 TrySetOsrUrgency(Isolate* isolate, JSFunction function, int osr_urgency) TrySetOsrUrgency() argument 239 TryIncrementOsrUrgency(Isolate* isolate, JSFunction function) TryIncrementOsrUrgency() argument 245 TryRequestOsrAtNextOpportunity(Isolate* isolate, JSFunction function) TryRequestOsrAtNextOpportunity() argument 249 TryRequestOsrForCachedOsrCode(Isolate* isolate, JSFunction function, int osr_urgency_for_cached_osr_code) TryRequestOsrForCachedOsrCode() argument 265 RequestOsrAtNextOpportunity(JSFunction function) RequestOsrAtNextOpportunity() argument 270 MaybeOptimizeFrame(JSFunction function, UnoptimizedFrame* frame, CodeKind code_kind) MaybeOptimizeFrame() argument 327 ShouldOptimize(JSFunction function, CodeKind code_kind, JavaScriptFrame* frame) ShouldOptimize() argument 377 OnInterruptTick(Handle<JSFunction> function) OnInterruptTick() argument [all...] |
| /third_party/node/deps/v8/src/objects/ |
| H A D | js-function.cc | 5 #include "src/objects/js-function.h" 84 // Returns false if no highest tier exists (i.e. the function is not compiled), 150 // Essentially, what we are asking here is, has this function been compiled in CanDiscardCompiled() 157 // Note that when the function has not yet been compiled we also return in CanDiscardCompiled() 222 Handle<JSFunctionOrBoundFunctionOrWrappedFunction> function, in CopyNameAndLength() 251 LookupIterator it(isolate, function, isolate->factory()->length_string(), in CopyNameAndLength() 252 function); in CopyNameAndLength() 293 LookupIterator it(isolate, function, isolate->factory()->name_string()); in CopyNameAndLength() 306 Handle<JSBoundFunction> function) { in GetName() 311 while (function in GetName() 220 CopyNameAndLength( Isolate* isolate, Handle<JSFunctionOrBoundFunctionOrWrappedFunction> function, Handle<JSReceiver> target, Handle<String> prefix, int arg_count) CopyNameAndLength() argument 305 GetName(Isolate* isolate, Handle<JSBoundFunction> function) GetName() argument 337 GetLength(Isolate* isolate, Handle<JSBoundFunction> function) GetLength() argument 374 ToString(Handle<JSBoundFunction> function) ToString() argument 380 GetName( Isolate* isolate, Handle<JSWrappedFunction> function) GetName() argument 402 GetLength(Isolate* isolate, Handle<JSWrappedFunction> function) GetLength() argument 419 ToString(Handle<JSWrappedFunction> function) ToString() argument 480 GetName(Isolate* isolate, Handle<JSFunction> function) GetName() argument 489 EnsureClosureFeedbackCellArray( Handle<JSFunction> function, bool reset_budget_for_feedback_allocation) EnsureClosureFeedbackCellArray() argument 538 EnsureFeedbackVector(Isolate* isolate, Handle<JSFunction> function, IsCompiledScope* compiled_scope) EnsureFeedbackVector() argument 552 CreateAndAttachFeedbackVector( Isolate* isolate, Handle<JSFunction> function, IsCompiledScope* compiled_scope) CreateAndAttachFeedbackVector() argument 580 InitializeFeedbackCell( Handle<JSFunction> function, IsCompiledScope* is_compiled_scope, bool reset_budget_for_feedback_allocation) InitializeFeedbackCell() argument 622 SetInstancePrototype(Isolate* isolate, Handle<JSFunction> function, Handle<JSReceiver> value) SetInstancePrototype() argument 666 SetPrototype(Handle<JSFunction> function, Handle<Object> value) SetPrototype() argument 706 SetInitialMap(Isolate* isolate, Handle<JSFunction> function, Handle<Map> map, Handle<HeapObject> prototype) SetInitialMap() argument 711 SetInitialMap(Isolate* isolate, Handle<JSFunction> function, Handle<Map> map, Handle<HeapObject> prototype, Handle<JSFunction> constructor) SetInitialMap() argument 726 EnsureHasInitialMap(Handle<JSFunction> function) EnsureHasInitialMap() argument 981 Handle<JSFunction> function = Handle<JSFunction>::cast(new_target); GetDerivedMap() local 993 Handle<JSFunction> function = Handle<JSFunction>::cast(new_target); GetDerivedMap() local 1136 GetDebugName(Handle<JSFunction> function) GetDebugName() argument 1159 SetName(Handle<JSFunction> function, Handle<Name> name, Handle<String> prefix) SetName() argument 1197 ToString(Handle<JSFunction> function) ToString() argument 1257 CalculateExpectedNofProperties(Isolate* isolate, Handle<JSFunction> function) CalculateExpectedNofProperties() argument [all...] |
| H A D | js-function.h | 17 #include "torque-generated/src/objects/js-function-tq.inc" 19 // An abstract superclass for classes representing JavaScript function values. 20 // It doesn't carry any functionality but allows function classes to be 32 Handle<JSFunctionOrBoundFunctionOrWrappedFunction> function, 39 // JSBoundFunction describes a bound function exotic object. 45 Handle<JSBoundFunction> function); 47 Handle<JSBoundFunction> function); 53 // The bound function's string representation implemented according 55 static Handle<String> ToString(Handle<JSBoundFunction> function); 60 // JSWrappedFunction describes a wrapped function exoti [all...] |
| /third_party/node/deps/v8/src/runtime/ |
| H A D | runtime-compiler.cc | 24 #include "src/objects/shared-function-info.h" 32 Object CompileOptimized(Isolate* isolate, Handle<JSFunction> function, in CompileOptimized() argument 34 // As a pre- and post-condition of CompileOptimized, the function *must* be in CompileOptimized() 36 IsCompiledScope is_compiled_scope(function->shared(), isolate); in CompileOptimized() 45 Compiler::CompileOptimized(isolate, function, mode, target_kind); in CompileOptimized() 47 DCHECK(function->is_compiled()); in CompileOptimized() 48 return function->code(); in CompileOptimized() 56 Handle<JSFunction> function = args.at<JSFunction>(0); in RUNTIME_FUNCTION() local 58 Handle<SharedFunctionInfo> sfi(function->shared(), isolate); in RUNTIME_FUNCTION() 62 PrintF("[unoptimized: %s]\n", function in RUNTIME_FUNCTION() 82 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 98 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 106 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 114 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 122 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 130 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 142 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 185 Handle<JSFunction> function = deoptimizer->function(); RUNTIME_FUNCTION() local [all...] |
| H A D | runtime-test.cc | 8 #include "include/v8-function.h" 31 #include "src/objects/js-function-inl.h" 86 bool IsAsmWasmFunction(Isolate* isolate, JSFunction function) { in IsAsmWasmFunction() argument 91 return function.shared().HasAsmWasmData() || in IsAsmWasmFunction() 92 function.code().builtin_id() == Builtin::kInstantiateAsmJs; in IsAsmWasmFunction() 152 Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); in RUNTIME_FUNCTION() 154 if (function->HasAttachedOptimizedCode()) { in RUNTIME_FUNCTION() 155 Deoptimizer::DeoptimizeFunction(*function); in RUNTIME_FUNCTION() 165 Handle<JSFunction> function; in RUNTIME_FUNCTION() local 167 // Find the JavaScript function o in RUNTIME_FUNCTION() 229 CanOptimizeFunction( Handle<JSFunction> function, Isolate* isolate, IsCompiledScope* is_compiled_scope) CanOptimizeFunction() argument 278 CanOptimizeFunction(Handle<JSFunction> function, Isolate* isolate, IsCompiledScope* is_compiled_scope) CanOptimizeFunction() argument 338 EnsureFeedbackVector(Isolate* isolate, Handle<JSFunction> function) EnsureFeedbackVector() argument 405 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 433 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 441 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 478 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 488 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local 570 Handle<JSFunction> function; RUNTIME_FUNCTION() local 678 Handle<JSFunction> function = handle(it.frame()->function(), isolate); RUNTIME_FUNCTION() local 882 Handle<JSFunction> function = args.at<JSFunction>(0); RUNTIME_FUNCTION() local [all...] |
| /third_party/gn/src/gn/ |
| H A D | functions.h | 26 // This type of function invocation has no block and evaluates its arguments 30 const FunctionCallNode* function, 34 // This type of function invocation takes a block node that it will execute. 36 const FunctionCallNode* function, 41 // This type of function takes a block, but does not need to control execution 42 // of it. The dispatch function will pre-execute the block and pass the 43 // resulting block_scope to the function. 44 using ExecutedBlockFunction = Value (*)(const FunctionCallNode* function, 49 // This type of function does not take a block. It just has arguments. 51 const FunctionCallNode* function, [all...] |
| H A D | functions.cc | 39 bool VerifyNoBlockForFunctionCall(const FunctionCallNode* function, in VerifyNoBlockForFunctionCall() argument 47 "This function call doesn't take a {} block following it, and you\n" in VerifyNoBlockForFunctionCall() 50 err->AppendRange(function->function().range()); in VerifyNoBlockForFunctionCall() 113 const FunctionCallNode* function, in FillTargetBlockScope() 120 FillNeedsBlockError(function, err); in FillTargetBlockScope() 131 function, "target defaults", err)) in FillTargetBlockScope() 135 // The name is the single argument to the target function. in FillTargetBlockScope() 136 if (!EnsureSingleStringArg(function, args, err)) in FillTargetBlockScope() 142 block_scope->SetValue(target_name, Value(function, arg in FillTargetBlockScope() 112 FillTargetBlockScope(const Scope* scope, const FunctionCallNode* function, const std::string& target_type, const BlockNode* block, const std::vector<Value>& args, Scope* block_scope, Err* err) FillTargetBlockScope() argument 148 FillNeedsBlockError(const FunctionCallNode* function, Err* err) FillNeedsBlockError() argument 154 EnsureSingleStringArg(const FunctionCallNode* function, const std::vector<Value>& args, Err* err) EnsureSingleStringArg() argument 169 MakeLabelForScope(const Scope* scope, const FunctionCallNode* function, const std::string& name) MakeLabelForScope() argument 180 NonNestableBlock(Scope* scope, const FunctionCallNode* function, const char* type_description) NonNestableBlock() argument 233 RunAssert(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, Err* err) RunAssert() argument 356 RunConfig(const FunctionCallNode* function, const std::vector<Value>& args, Scope* scope, Err* err) RunConfig() argument 478 RunDeclareArgs(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, BlockNode* block, Err* err) RunDeclareArgs() argument 548 RunDefined(Scope* scope, const FunctionCallNode* function, const ListNode* args_list, Err* err) RunDefined() argument 629 RunGetEnv(Scope* scope, const FunctionCallNode* function, const std::vector<Value>& args, Err* err) RunGetEnv() argument [all...] |
| /third_party/mbedtls/scripts/mbedtls_dev/ |
| H A D | c_wrapper_generator.py | 44 # Prefix prepended to the function's name to form the wrapper name. 46 # Suffix appended to the function's name to form the wrapper name. 106 """The name of the wrapper function. 115 function: FunctionInfo, 117 """The beginning of the wrapper function declaration. 122 function name. It may start with additional qualifiers or attributes 125 return c_declare(function.return_type, wrapper_name, '') 131 """Name to use for the given argument in the wrapper function. 144 """One argument definition in the wrapper function declaration. 150 def _underlying_function_name(self, function [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
| H A D | task.h | 27 using Function = std::function<void()>; 42 MARL_NO_EXPORT inline Task(const Function& function, 44 MARL_NO_EXPORT inline Task(Function&& function, Flags flags = Flags::None); 50 // operator bool() returns true if the Task has a valid function. 60 Function function; member in marl::Task 65 Task::Task(const Task& o) : function(o.function), flags(o.flags) {} in Task() 66 Task::Task(Task&& o) : function(std::move(o.function)), flags(o.flags) {} in Task() 67 Task::Task(const Function& function, Flag in Task() argument 69 Task(Function&& function, Flags flags ) Task() argument [all...] |
| /third_party/node/deps/v8/src/builtins/ |
| H A D | builtins-lazy-gen.cc | 12 #include "src/objects/shared-function-info.h" 18 TNode<CodeT> code, TNode<JSFunction> function) { in GenerateTailCallToJSCode() 22 TailCallJSCode(code, context, function, new_target, argc); in GenerateTailCallToJSCode() 26 Runtime::FunctionId function_id, TNode<JSFunction> function) { in GenerateTailCallToReturnedCode() 28 TNode<CodeT> code = CAST(CallRuntime(function_id, context, function)); in GenerateTailCallToReturnedCode() 29 GenerateTailCallToJSCode(code, function); in GenerateTailCallToReturnedCode() 34 Runtime::FunctionId function_id, TNode<JSFunction> function) { in TailCallRuntimeIfStateEquals() 39 GenerateTailCallToReturnedCode(function_id, function); in TailCallRuntimeIfStateEquals() 44 TNode<JSFunction> function, TNode<FeedbackVector> feedback_vector) { in MaybeTailCallOptimizedCodeSlot() 67 Runtime::kCompileTurbofan_Synchronous, function); in MaybeTailCallOptimizedCodeSlot() 17 GenerateTailCallToJSCode( TNode<CodeT> code, TNode<JSFunction> function) GenerateTailCallToJSCode() argument 25 GenerateTailCallToReturnedCode( Runtime::FunctionId function_id, TNode<JSFunction> function) GenerateTailCallToReturnedCode() argument 32 TailCallRuntimeIfStateEquals( TNode<Uint32T> state, TieringState expected_state, Runtime::FunctionId function_id, TNode<JSFunction> function) TailCallRuntimeIfStateEquals() argument 43 MaybeTailCallOptimizedCodeSlot( TNode<JSFunction> function, TNode<FeedbackVector> feedback_vector) MaybeTailCallOptimizedCodeSlot() argument 114 CompileLazy(TNode<JSFunction> function) CompileLazy() argument 180 auto function = Parameter<JSFunction>(Descriptor::kTarget); TF_BUILTIN() local 186 auto function = Parameter<JSFunction>(Descriptor::kTarget); TF_BUILTIN() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
| H A D | ReactorUnitTests.cpp | 54 FunctionT<int(int *, int)> function; in TEST() local 56 Pointer<Int> p = function.Arg<0>(); in TEST() 58 Int y = function.Arg<1>(); in TEST() 75 auto routine = function(testName().c_str()); in TEST() 83 // a static function which then generates another routine during the execution 150 FunctionT<int()> function; in TEST() local 169 auto routine = function(testName().c_str()); in TEST() 195 FunctionT<int(int)> function; in TEST() local 197 Int a = function.Arg<0>(); in TEST() 208 auto routine = function(testNam in TEST() 220 FunctionT<int(int)> function; TEST() local 231 FunctionT<int(int)> function; TEST() local 272 FunctionMembers function; TEST() local 284 FunctionT<int(int)> function; TEST() local 304 FunctionT<int(void)> function; TEST() local 333 FunctionT<int(void)> function; TEST() local 366 FunctionT<int(void)> function; TEST() local 444 FunctionT<int(int)> function; TEST() local 477 FunctionT<int()> function; TEST() local 499 FunctionT<int(int)> function; TEST() local 523 FunctionT<int(void)> function; TEST() local 544 FunctionT<int(void)> function; TEST() local 561 FunctionT<int(void)> function; TEST() local 584 FunctionT<int(void)> function; TEST() local 612 FunctionT<int(int)> function; TEST() local 649 FunctionT<int(int)> function; TEST() local 681 FunctionT<int()> function; TEST() local 1134 FunctionT<int()> function; TEST() local [all...] |
| /third_party/skia/modules/canvaskit/ |
| H A D | canvaskit_bindings.cpp | 152 // We assume that any calls we make to GL for the remainder of this function will go to the in MakeGrContext() 592 // This function is private, we call it in interface.js 600 // This function takes SkColor in computeTonalColors() 707 // a function called deleteTexture that takes two ints. 750 // See the implementation of the makeTexture function. in onGenerateTexture() 796 function("_MakeGrContext", &MakeGrContext); in EMSCRIPTEN_BINDINGS() 797 function("_MakeOnScreenGLSurface", &MakeOnScreenGLSurface); in EMSCRIPTEN_BINDINGS() 798 function("_MakeRenderTargetWH", select_overload<sk_sp<SkSurface>(sk_sp<GrDirectContext>, int, int)>(&MakeRenderTarget)); in EMSCRIPTEN_BINDINGS() 799 function("_MakeRenderTargetII", select_overload<sk_sp<SkSurface>(sk_sp<GrDirectContext>, SimpleImageInfo)>(&MakeRenderTarget)); in EMSCRIPTEN_BINDINGS() 803 function("getDecodeCacheLimitByte in EMSCRIPTEN_BINDINGS() [all...] |
| /third_party/protobuf/src/google/protobuf/stubs/ |
| H A D | callback.h | 20 // To automatically construct a Closure which calls a particular function or 21 // method with a particular set of parameters, use the NewCallback() function. 64 // types accepted by the callback function. For example: 126 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0() argument 127 : function_(function), self_deleting_(self_deleting) {} in FunctionClosure0() 167 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1() argument 169 : function_(function), self_deleting_(self_deleting), in FunctionClosure1() 214 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2() argument 216 : function_(function), self_deleting_(self_deleting), in FunctionClosure2() 263 FunctionResultCallback_0_0(FunctionType function, boo argument 284 FunctionResultCallback_1_0(FunctionType function, bool self_deleting, P1 p1) FunctionResultCallback_1_0() argument 307 FunctionResultCallback_0_1(FunctionType function, bool self_deleting) FunctionResultCallback_0_1() argument 328 FunctionResultCallback_1_1(FunctionType function, bool self_deleting, P1 p1) FunctionResultCallback_1_1() argument 415 NewCallback(void (*function)()) NewCallback() argument 420 NewPermanentCallback(void (*function)()) NewPermanentCallback() argument 438 NewCallback(void (*function)(Arg1), Arg1 arg1) NewCallback() argument 445 NewPermanentCallback(void (*function)(Arg1), Arg1 arg1) NewPermanentCallback() argument 466 NewCallback(void (*function)(Arg1, Arg2), Arg1 arg1, Arg2 arg2) NewCallback() argument 474 NewPermanentCallback(void (*function)(Arg1, Arg2), Arg1 arg1, Arg2 arg2) NewPermanentCallback() argument 499 NewCallback(R (function))) NewCallback() argument 505 NewPermanentCallback(R (function))) NewPermanentCallback() argument 511 NewCallback(R (function)P1), P1 p1) NewCallback() argument 518 NewPermanentCallback( R (function)P1), P1 p1) NewPermanentCallback() argument 526 NewCallback(R (function)A1)) NewCallback() argument 532 NewPermanentCallback(R (function)A1)) NewPermanentCallback() argument 538 NewCallback(R (function)P1, A1), P1 p1) NewCallback() argument 545 NewPermanentCallback( R (function)P1, A1), P1 p1) NewPermanentCallback() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/ |
| H A D | PassBuilder.h | 255 /// Registers all available function analysis passes. 258 /// FunctionAnalysisManager with all registered function analyses. Callers can 270 /// Construct the core LLVM function canonicalization and simplification 273 /// This is a long pipeline and uses most of the per-function optimization 293 /// of IR. Much like the function simplification pipeline above, it is 411 /// module(function(instcombine,sroa),dce,cgscc(inliner,function(...)),...) 417 /// So, assuming function passes 'fpassN', CGSCC passes 'cgpassN', and loop 426 /// module(function(fpass1,fpass2,fpass3)) 428 /// module(function(loo [all...] |
| /third_party/mesa3d/src/compiler/glsl/ |
| H A D | ir_function_detect_recursion.cpp | 28 * Consider the (possibly disjoint) graph of function calls in a shader. If a 29 * program contains recursion, this graph will contain a cycle. If a function 31 * calls another function). 33 * To detect recursion, the function call graph is constructed. The graph is 34 * repeatedly reduced by removing any function that either has no callees 43 * function appearing more than once at any one time in the run-time stack 44 * of function calls. That is, a function may not call itself either 95 * present if the static function call graph of the program contains 103 * - Is it an error to have a recursive function tha 135 class function { global() class 137 function(ir_function_signature *sig) function() function in __anon7172::function [all...] |
| /third_party/skia/modules/pathkit/ |
| H A D | pathkit_wasm_bindings.cpp | 89 // in our function type signatures. (this gives an error message like "Cannot call foo due to unbound 465 // declarations of the same function that take different amounts of arguments. 467 // Additionally, we are perfectly happy to handle default arguments and function 475 .function("_addPath", &ApplyAddPath) in EMSCRIPTEN_BINDINGS() 477 .function("_arc", &ApplyAddArc) in EMSCRIPTEN_BINDINGS() 478 .function("_arcTo", &ApplyArcTo) in EMSCRIPTEN_BINDINGS() 480 .function("_close", &ApplyClose) in EMSCRIPTEN_BINDINGS() 482 .function("_conicTo", &ApplyConicTo) in EMSCRIPTEN_BINDINGS() 483 .function("_cubicTo", &ApplyCubicTo) in EMSCRIPTEN_BINDINGS() 485 .function("_ellips in EMSCRIPTEN_BINDINGS() [all...] |
| /third_party/mesa3d/src/util/ |
| H A D | u_debug_memory.c | 69 const char *function; member 124 debug_malloc(const char *file, unsigned line, const char *function, in debug_malloc() argument 133 file, line, function, in debug_malloc() 141 hdr->function = function; in debug_malloc() 164 debug_free(const char *file, unsigned line, const char *function, in debug_free() argument 176 file, line, function, in debug_free() 185 hdr->file, hdr->line, hdr->function, in debug_free() 212 debug_calloc(const char *file, unsigned line, const char *function, in debug_calloc() argument 215 void *ptr = debug_malloc( file, line, function, coun in debug_calloc() 222 debug_realloc(const char *file, unsigned line, const char *function, void *old_ptr, size_t old_size, size_t new_size ) debug_realloc() argument [all...] |
| /third_party/node/deps/v8/src/debug/ |
| H A D | debug-coverage.cc | 101 explicit CoverageBlockIterator(CoverageFunction* function) in CoverageBlockIterator() argument 102 : function_(function) { in CoverageBlockIterator() 129 // Initialize the nesting stack with the function range. in Next() 189 // function range. 228 void MergeDuplicateRanges(CoverageFunction* function) { in MergeDuplicateRanges() argument 229 CoverageBlockIterator iter(function); in MergeDuplicateRanges() 247 void RewritePositionSingletonsToRanges(CoverageFunction* function) { in RewritePositionSingletonsToRanges() argument 248 CoverageBlockIterator iter(function); in RewritePositionSingletonsToRanges() 254 if (block.start >= function->end) { in RewritePositionSingletonsToRanges() 274 void MergeConsecutiveRanges(CoverageFunction* function) { in MergeConsecutiveRanges() argument 292 MergeNestedRanges(CoverageFunction* function) MergeNestedRanges() argument 307 RewriteFunctionScopeCounter(CoverageFunction* function) RewriteFunctionScopeCounter() argument 331 FilterAliasedSingletons(CoverageFunction* function) FilterAliasedSingletons() argument 355 FilterUncoveredRanges(CoverageFunction* function) FilterUncoveredRanges() argument 365 FilterEmptyRanges(CoverageFunction* function) FilterEmptyRanges() argument 374 ClampToBinary(CoverageFunction* function) ClampToBinary() argument 414 CollectBlockCoverageInternal(CoverageFunction* function, SharedFunctionInfo info, debug::CoverageMode mode) CollectBlockCoverageInternal() argument 472 CollectBlockCoverage(CoverageFunction* function, SharedFunctionInfo info, debug::CoverageMode mode) CollectBlockCoverage() argument 480 PrintBlockCoverage(const CoverageFunction* function, SharedFunctionInfo info, bool has_nonempty_source_range, bool function_is_relevant) PrintBlockCoverage() argument [all...] |
| /third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
| H A D | transformation_move_block_down.cpp | 32 // Go through every block in every function, looking for a block whose id in IsApplicable() 34 for (auto& function : *ir_context->module()) { in IsApplicable() 35 for (auto block_it = function.begin(); block_it != function.end(); in IsApplicable() 39 if (block_it == function.begin()) { in IsApplicable() 40 // The block is the first one appearing in the function. We are not in IsApplicable() 46 if (!ir_context->GetDominatorAnalysis(&function)->IsReachable( in IsApplicable() 54 if (block_it == function.end()) { in IsApplicable() 56 // is the last one in the function. The transformation thus does not in IsApplicable() 63 return !ir_context->GetDominatorAnalysis(&function) in IsApplicable() [all...] |
| H A D | fuzzer_pass_merge_function_returns.cpp | 36 // terminator instructions in function calls), so we record the functions that in Apply() 39 for (auto& function : *GetIRContext()->module()) { in Apply() 40 functions.emplace_back(&function); in Apply() 43 for (auto* function : functions) { in Apply() 44 // Randomly decide whether to consider this function. in Apply() 52 if (IsEarlyTerminatorWrapper(*function)) { in Apply() 57 if (!function->HasEarlyReturn()) { in Apply() 61 // Wrap early terminators in function calls. in Apply() 63 function, in Apply() 64 [this, function]( in Apply() [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
| H A D | transformation_move_block_down.cpp | 32 // Go through every block in every function, looking for a block whose id in IsApplicable() 34 for (auto& function : *ir_context->module()) { in IsApplicable() 35 for (auto block_it = function.begin(); block_it != function.end(); in IsApplicable() 39 if (block_it == function.begin()) { in IsApplicable() 40 // The block is the first one appearing in the function. We are not in IsApplicable() 46 if (!ir_context->GetDominatorAnalysis(&function)->IsReachable( in IsApplicable() 54 if (block_it == function.end()) { in IsApplicable() 56 // is the last one in the function. The transformation thus does not in IsApplicable() 63 return !ir_context->GetDominatorAnalysis(&function) in IsApplicable() [all...] |
| /third_party/spirv-tools/source/fuzz/ |
| H A D | transformation_move_block_down.cpp | 32 // Go through every block in every function, looking for a block whose id in IsApplicable() 34 for (auto& function : *ir_context->module()) { in IsApplicable() 35 for (auto block_it = function.begin(); block_it != function.end(); in IsApplicable() 39 if (block_it == function.begin()) { in IsApplicable() 40 // The block is the first one appearing in the function. We are not in IsApplicable() 46 if (!ir_context->GetDominatorAnalysis(&function)->IsReachable( in IsApplicable() 54 if (block_it == function.end()) { in IsApplicable() 56 // is the last one in the function. The transformation thus does not in IsApplicable() 63 return !ir_context->GetDominatorAnalysis(&function) in IsApplicable() [all...] |
| /third_party/skia/third_party/externals/tint/tools/src/substr/ |
| H A D | substr_test.go | 80 function 114 function 124 function 134 function 144 function 154 function 165 function 175 function 185 function 195 function [all...] |
| /third_party/astc-encoder/Test/ |
| H A D | astc_profile_valgrind.py | 58 function = match.group(3) 61 if function.startswith("stbi__"): 67 if function in functionMap: 68 index = functionMap[function] 73 functionMap[function] = len(functionTable) 74 functionTable.append([function, cost, cost]) 79 for function in functionTable: 80 function[2] /= totalCost 81 function[2] *= 100.0 86 for function i [all...] |
| /third_party/skia/experimental/wasm-skp-debugger/ |
| H A D | debugger_bindings.cpp | 541 function("MinVersion", &MinVersion); in EMSCRIPTEN_BINDINGS() 546 .function("changeFrame", &SkpDebugPlayer::changeFrame) in EMSCRIPTEN_BINDINGS() 547 .function("deleteCommand", &SkpDebugPlayer::deleteCommand) in EMSCRIPTEN_BINDINGS() 548 .function("draw", &SkpDebugPlayer::draw, allow_raw_pointers()) in EMSCRIPTEN_BINDINGS() 549 .function("drawTo", &SkpDebugPlayer::drawTo, allow_raw_pointers()) in EMSCRIPTEN_BINDINGS() 550 .function("findCommandByPixel", &SkpDebugPlayer::findCommandByPixel, allow_raw_pointers()) in EMSCRIPTEN_BINDINGS() 551 .function("getBounds", &SkpDebugPlayer::getBounds) in EMSCRIPTEN_BINDINGS() 552 .function("getBoundsForFrame", &SkpDebugPlayer::getBoundsForFrame) in EMSCRIPTEN_BINDINGS() 553 .function("getFrameCount", &SkpDebugPlayer::getFrameCount) in EMSCRIPTEN_BINDINGS() 554 .function("getImageResourc in EMSCRIPTEN_BINDINGS() [all...] |