Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 5451) sorted by relevance

12345678910>>...219

/external/cmockery/cmockery_0_1_2/src/google/
Dcmockery.h42 #define will_return(function, value) \ argument
43 _will_return(#function, __FILE__, __LINE__, (void*)value, 1)
44 #define will_return_count(function, value, count) \ argument
45 _will_return(#function, __FILE__, __LINE__, (void*)value, count)
52 #define expect_check(function, parameter, check_function, check_data) \ argument
53 _expect_check(#function, #parameter, __FILE__, __LINE__, check_function, \
59 #define expect_in_set(function, parameter, value_array) \ argument
60 expect_in_set_count(function, parameter, value_array, 1)
61 #define expect_in_set_count(function, parameter, value_array, count) \ argument
62 _expect_in_set(#function, #parameter, __FILE__, __LINE__, value_array, \
[all …]
/external/v8/src/
Druntime-profiler.cc99 static void GetICCounts(JSFunction* function, int* ic_with_type_info_count, in GetICCounts() argument
105 if (function->code()->kind() == Code::FUNCTION) { in GetICCounts()
106 Code* shared_code = function->shared()->code(); in GetICCounts()
117 FeedbackVector* vector = function->feedback_vector(); in GetICCounts()
119 const bool is_interpreted = function->shared()->IsInterpreted(); in GetICCounts()
135 static void TraceRecompile(JSFunction* function, const char* reason, in TraceRecompile() argument
138 function->shared()->PassesFilter(FLAG_hydrogen_filter)) { in TraceRecompile()
140 function->ShortPrint(); in TraceRecompile()
144 GetICCounts(function, &typeinfo, &generic, &total, &type_percentage, in TraceRecompile()
154 void RuntimeProfiler::Optimize(JSFunction* function, in Optimize() argument
[all …]
/external/v8/src/runtime/
Druntime-compiler.cc25 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); in RUNTIME_FUNCTION()
28 if (FLAG_trace_lazy && !function->shared()->is_compiled()) { in RUNTIME_FUNCTION()
30 function->PrintName(); in RUNTIME_FUNCTION()
37 if (!Compiler::Compile(function, Compiler::KEEP_EXCEPTION)) { in RUNTIME_FUNCTION()
40 DCHECK(function->is_compiled()); in RUNTIME_FUNCTION()
41 return function->code(); in RUNTIME_FUNCTION()
47 CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); in RUNTIME_FUNCTION()
50 if (!Compiler::CompileBaseline(function)) { in RUNTIME_FUNCTION()
53 DCHECK(function->is_compiled()); in RUNTIME_FUNCTION()
54 return function->code(); in RUNTIME_FUNCTION()
[all …]
/external/pdfium/testing/resources/javascript/
Ddocument_methods_expected.txt2 Alert: PASS: typeof this.addAnnot = function
5 Alert: PASS: typeof this.addField = function
8 Alert: PASS: typeof this.addLink = function
11 Alert: PASS: typeof this.closeDoc = function
14 Alert: PASS: typeof this.createDataObject = function
17 Alert: PASS: typeof this.deletePages = function
20 Alert: PASS: typeof this.exportAsFDF = function
23 Alert: PASS: typeof this.exportAsText = function
26 Alert: PASS: typeof this.exportAsXFDF = function
29 Alert: PASS: typeof this.extractPages = function
[all …]
Ddocument_methods.in84 function expect(str, expected) {
97 function expectError(str) {
108 function testUnsupported(str) {
109 expect('typeof ' + str, 'function');
114 function testAddIcon() {
116 expect('typeof this.addIcon', 'function');
130 function testCalculateNow() {
132 expect('typeof this.calculateNow', 'function');
138 function testGetAnnot() {
140 expect('typeof this.getAnnot', 'function');
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcast_op_impl.h74 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
77 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
80 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
83 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
86 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
89 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
92 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
95 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
98 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
101 std::function<void(OpKernelContext*, const Tensor&, Tensor*)>
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function_test.cc81 XlaCompiledCpuFunction function(jit->StaticData()); in TEST() local
84 *static_cast<int32*>(function.arg_data(0)) = 10; in TEST()
85 *static_cast<int32*>(function.arg_data(1)) = 32; in TEST()
86 EXPECT_TRUE(function.Run()); in TEST()
87 EXPECT_EQ(function.error_msg(), ""); in TEST()
88 EXPECT_EQ(*static_cast<int32*>(function.result_data(0)), 42); in TEST()
91 *static_cast<int32*>(function.arg_data(0)) = 100; in TEST()
92 *static_cast<int32*>(function.arg_data(1)) = 320; in TEST()
93 EXPECT_TRUE(function.Run()); in TEST()
94 EXPECT_EQ(function.error_msg(), ""); in TEST()
[all …]
/external/libcxx/include/
D__functional_03448 class _LIBCPP_TEMPLATE_VIS function<_Rp()>
458 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
459 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
460 function(const function&);
462 function(_Fp,
467 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
470 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
472 function(allocator_arg_t, const _Alloc&, const function&);
474 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
477 function& operator=(const function&);
[all …]
/external/llvm/bindings/ocaml/transforms/scalar_opts/
Dllvm_scalar_opts.mli15 (** See the [llvm::createAggressiveDCEPass] function. *)
20 (** See the [llvm::createAlignmentFromAssumptionsPass] function. *)
25 (** See the [llvm::createCFGSimplificationPass] function. *)
30 (** See [llvm::createDeadStoreEliminationPass] function. *)
35 (** See [llvm::createScalarizerPass] function. *)
40 (** See [llvm::createMergedLoadStoreMotionPass] function. *)
45 (** See the [llvm::createGVNPass] function. *)
50 (** See the [llvm::createIndVarSimplifyPass] function. *)
55 (** See the [llvm::createInstructionCombiningPass] function. *)
60 (** See the [llvm::createJumpThreadingPass] function. *)
[all …]
/external/python/cpython3/Tools/clinic/
Dclinic_test.py288 module, function = block.signatures
289 self.assertEqual("access", function.name)
294 module, function = block.signatures
295 self.assertEqual("access", function.name)
299 function = self.parse_function("module os\nos.access\n path: int")
300 self.assertEqual("access", function.name)
301 self.assertEqual(2, len(function.parameters))
302 p = function.parameters['path']
307 function = self.parse_function("module os\nos.access\n follow_symlinks: bool = True")
308 p = function.parameters['follow_symlinks']
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp39 std::function<int ()> r1(f_int_0); in test_int_0()
45 std::function<int ()> r1(fp); in test_int_0()
51 std::function<int ()> r1(a0); in test_int_0()
75 std::function<void ()> r1(f_void_0); in test_void_0()
83 std::function<void ()> r1(fp); in test_void_0()
91 std::function<void ()> r1(a0); in test_void_0()
122 std::function<void (int)> r1(f_void_1); in test_void_1()
131 std::function<void (int)> r1(fp); in test_void_1()
140 std::function<void (int)> r1(a0); in test_void_1()
149 std::function<void (A_void_1)> r1(fp); in test_void_1()
[all …]
/external/python/cpython3/Lib/test/dtracedata/
Dcall_stack.d.expected1 function-entry:call_stack.py:start:23
2 function-entry: call_stack.py:function_1:1
3 function-entry: call_stack.py:function_3:9
4 function-return: call_stack.py:function_3:10
5 function-return: call_stack.py:function_1:2
6 function-entry: call_stack.py:function_2:5
7 function-entry: call_stack.py:function_1:1
8 function-entry: call_stack.py:function_3:9
9 function-return: call_stack.py:function_3:10
10 function-return: call_stack.py:function_1:2
[all …]
/external/deqp/external/vulkancts/scripts/
Dgen_framework.py405 def getInterfaceName (function): argument
406 assert function.name[:2] == "vk"
407 return function.name[2].lower() + function.name[3:]
409 def getFunctionTypeName (function): argument
410 assert function.name[:2] == "vk"
411 return function.name[2:] + "Func"
613 functionsByName = {function.name: function for function in allFunctions}
633 extFunctions = [functionsByName[function.name] for function in functions]
860 for function in api.functions:
861 if not function.getType() in functionTypes:
[all …]
/external/python/cpython3/Doc/c-api/
Dfunction.rst8 .. index:: object: function
22 This is an instance of :c:type:`PyTypeObject` and represents the Python function
26 .. c:function:: int PyFunction_Check(PyObject *o)
28 Return true if *o* is a function object (has type :c:data:`PyFunction_Type`).
32 .. c:function:: PyObject* PyFunction_New(PyObject *code, PyObject *globals)
34 Return a new function object associated with the code object *code*. *globals*
35 must be a dictionary with the global variables accessible to the function.
37 The function's docstring and name are retrieved from the code object. *__module__*
39 set to *NULL*. *__qualname__* is set to the same value as the function's name.
42 .. c:function:: PyObject* PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *q…
[all …]
/external/python/cpython3/
Dpyconfig.h.in43 /* Define to 1 if you have the `accept4' function. */
46 /* Define to 1 if you have the `acosh' function. */
52 /* Define to 1 if you have the `alarm' function. */
64 /* Define to 1 if you have the `asinh' function. */
70 /* Define to 1 if you have the `atanh' function. */
73 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
110 /* Define to 1 if you have the 'chflags' function. */
113 /* Define to 1 if you have the `chown' function. */
116 /* Define if you have the 'chroot' function. */
119 /* Define to 1 if you have the `clock' function. */
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-function.cpp7 template<typename Signature> class function;
28 class function<R (Args...)> { class
31 function() : invoker (0) { } in function() function in function
32 function(const function& other) : invoker(0) { in function() function in function
37 template<typename F> function(const F& f) : invoker(0) { in function() function in function
41 ~function() { in ~function()
46 function& operator=(const function& other) { in operator =()
47 function(other).swap(*this); in operator =()
52 function& operator=(const F& f) { in operator =()
53 function(f).swap(*this); in operator =()
[all …]
/external/swiftshader/third_party/LLVM/bindings/ocaml/transforms/scalar/
Dllvm_scalar_opts.mli15 (** See the [llvm::createConstantPropogationPass] function. *)
20 (** See the [llvm::createSCCPPass] function. *)
24 (** See [llvm::createDeadStoreEliminationPass] function. *)
29 (** See The [llvm::createAggressiveDCEPass] function. *)
33 (** See the [llvm::createScalarReplAggregatesPass] function. *)
38 (** See the [llvm::createScalarReplAggregatesPassSSA] function. *)
43 (** See the [llvm::createScalarReplAggregatesWithThreshold] function. *)
49 (** See the [llvm::createIndVarSimplifyPass] function. *)
54 (** See the [llvm::createInstructionCombiningPass] function. *)
60 (** See the [llvm::createLICMPass] function. *)
[all …]
/external/google-breakpad/src/common/
Dstabs_to_module_unittest.cc64 Module::Function *function = functions[0]; in TEST() local
65 EXPECT_STREQ("function", function->name.c_str()); in TEST()
66 EXPECT_EQ(0xfde4abbed390c394LL, function->address); in TEST()
67 EXPECT_EQ(0x10U, function->size); in TEST()
68 EXPECT_EQ(0U, function->parameter_size); in TEST()
69 ASSERT_EQ((size_t) 1, function->lines.size()); in TEST()
70 Module::Line *line = &function->lines[0]; in TEST()
131 Module::Function *function = functions[0]; in TEST() local
132 EXPECT_EQ(0xf2cfda36ecf7f46dLL, function->address); in TEST()
133 EXPECT_LT(0U, function->size); // should have used dummy size in TEST()
[all …]
/external/swiftshader/third_party/subzero/tests_lit/parse_errs/
Dinsertextract-err.ll16 ; MIN: Error{{.*}} Invalid function record: <6 4 3>
19 ; MIN: Error{{.*}} Invalid function record: <6 5 3>
22 ; MIN: Error{{.*}} Invalid function record: <6 6 3>
29 ; MIN: Error{{.*}} Invalid function record: <6 4 3>
32 ; MIN: Error{{.*}} Invalid function record: <6 5 3>
35 ; MIN: Error{{.*}} Invalid function record: <6 6 3>
42 ; MIN: Error{{.*}} Invalid function record: <6 4 3>
45 ; MIN: Error{{.*}} Invalid function record: <6 5 3>
48 ; MIN: Error{{.*}} Invalid function record: <6 6 3>
55 ; MIN: Error{{.*}} Invalid function record: <6 4 3>
[all …]
/external/python/cpython2/Doc/c-api/
Dfunction.rst8 .. index:: object: function
22 This is an instance of :c:type:`PyTypeObject` and represents the Python function
26 .. c:function:: int PyFunction_Check(PyObject *o)
28 Return true if *o* is a function object (has type :c:data:`PyFunction_Type`).
32 .. c:function:: PyObject* PyFunction_New(PyObject *code, PyObject *globals)
34 Return a new function object associated with the code object *code*. *globals*
35 must be a dictionary with the global variables accessible to the function.
37 The function's docstring, name and *__module__* are retrieved from the code
41 .. c:function:: PyObject* PyFunction_GetCode(PyObject *op)
43 Return the code object associated with the function object *op*.
[all …]
/external/python/cpython2/Doc/library/
Dreadline.rst44 .. function:: parse_and_bind(string)
50 .. function:: read_init_file([filename])
62 .. function:: get_line_buffer()
68 .. function:: insert_text(string)
75 .. function:: redisplay()
87 .. function:: read_history_file([filename])
94 .. function:: write_history_file([filename])
101 .. function:: get_history_length()
105 The :func:`write_history_file` function uses this value to truncate
117 .. function:: clear_history()
[all …]
Dfunctools.rst19 function for the purposes of this module.
23 .. function:: cmp_to_key(func)
25 Transform an old-style comparison function to a :term:`key function`. Used
28 :func:`itertools.groupby`). This function is primarily used as a transition
32 A comparison function is any callable that accept two arguments, compares them,
34 number for greater-than. A key function is a callable that accepts one
46 .. function:: total_ordering(cls)
69 .. function:: reduce(function, iterable[, initializer])
71 This is the same function as :func:`reduce`. It is made available in this module
77 .. function:: partial(func[,*args][, **keywords])
[all …]
/external/python/cpython3/Doc/library/
Dreadline.rst18 function.
46 .. function:: parse_and_bind(string)
52 .. function:: read_init_file([filename])
64 .. function:: get_line_buffer()
70 .. function:: insert_text(string)
77 .. function:: redisplay()
89 .. function:: read_history_file([filename])
96 .. function:: write_history_file([filename])
103 .. function:: append_history_file(nelements[, filename])
107 :c:func:`append_history` in the underlying library. This function
[all …]
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py24 from tensorflow.python.eager import function
30 from tensorflow.python.framework import function as tf_function
45 matmul = function.defun(math_ops.matmul)
53 matmul = function.defun(math_ops.matmul)
55 @function.defun
64 matmul = function.defun(math_ops.matmul)
68 @function.defun
80 @function.defun
90 matmul = function.defun(math_ops.matmul)
97 sq_op = function.make_defun_op(sq, t)
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h123 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0() argument
124 : function_(function), self_deleting_(self_deleting) {} in FunctionClosure0()
164 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1() argument
166 : function_(function), self_deleting_(self_deleting), in FunctionClosure1()
211 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2() argument
213 : function_(function), self_deleting_(self_deleting), in FunctionClosure2()
260 FunctionResultCallback_0_0(FunctionType function, bool self_deleting) in FunctionResultCallback_0_0() argument
261 : function_(function), self_deleting_(self_deleting) {} in FunctionResultCallback_0_0()
281 FunctionResultCallback_1_0(FunctionType function, bool self_deleting, in FunctionResultCallback_1_0() argument
283 : function_(function), self_deleting_(self_deleting), p1_(p1) {} in FunctionResultCallback_1_0()
[all …]

12345678910>>...219