Home
last modified time | relevance | path

Searched refs:func (Results 1 - 25 of 2717) sorted by relevance

12345678910>>...109

/third_party/python/Lib/ctypes/test/
H A Dtest_prototypes.py8 # func.restype = c_char_p
9 # func(c_char_p("123"))
16 # func is called, but NOT before the result is actually built.
48 func = testdll._testfunc_p_p
49 func.restype = c_long
50 func.argtypes = None
56 func = prototype(("_testfunc_p_p", testdll),
60 func()
66 self.assertEqual(func(None), None)
67 self.assertEqual(func(inpu
216 def func(): pass global() function
[all...]
/third_party/icu/icu4c/source/test/perf/normperf/
H A Dnormperf.cpp184 NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFDFileLines,numLines, uselen); in TestICU_NFC_NFD_Text() local
185 return func; in TestICU_NFC_NFD_Text()
187 NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFDBuffer, NFDBufferLen, uselen); in TestICU_NFC_NFD_Text() local
188 return func; in TestICU_NFC_NFD_Text()
193 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,NFCFileLines,numLines, uselen); in TestICU_NFC_NFC_Text() local
194 return func; in TestICU_NFC_NFC_Text()
196 NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFCBuffer, NFCBufferLen, uselen); in TestICU_NFC_NFC_Text() local
197 return func; in TestICU_NFC_NFC_Text()
202 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); in TestICU_NFC_Orig_Text() local
203 return func; in TestICU_NFC_Orig_Text()
205 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,buffer, bufferLen, uselen); TestICU_NFC_Orig_Text() local
213 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFDFileLines,numLines, uselen); TestICU_NFD_NFD_Text() local
216 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFDBuffer,NFDBufferLen, uselen); TestICU_NFD_NFD_Text() local
222 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFCFileLines,numLines, uselen); TestICU_NFD_NFC_Text() local
225 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFCBuffer,NFCBufferLen, uselen); TestICU_NFD_NFC_Text() local
231 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,lines,numLines, uselen); TestICU_NFD_Orig_Text() local
234 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,buffer,bufferLen, uselen); TestICU_NFD_Orig_Text() local
242 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFDFileLines,numLines, uselen); TestICU_FCD_NFD_Text() local
245 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFDBuffer,NFDBufferLen, uselen); TestICU_FCD_NFD_Text() local
252 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFCFileLines,numLines, uselen); TestICU_FCD_NFC_Text() local
255 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFCBuffer,NFCBufferLen, uselen); TestICU_FCD_NFC_Text() local
261 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,lines,numLines, uselen); TestICU_FCD_Orig_Text() local
264 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,buffer,bufferLen, uselen); TestICU_FCD_Orig_Text() local
272 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFDFileLines,numLines, uselen); TestWin_NFC_NFD_Text() local
275 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFDBuffer,NFDBufferLen, uselen); TestWin_NFC_NFD_Text() local
281 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFCFileLines,numLines, uselen); TestWin_NFC_NFC_Text() local
284 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFCBuffer,NFCBufferLen, uselen); TestWin_NFC_NFC_Text() local
290 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,lines,numLines, uselen); TestWin_NFC_Orig_Text() local
293 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,buffer,bufferLen, uselen); TestWin_NFC_Orig_Text() local
301 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFDFileLines,numLines, uselen); TestWin_NFD_NFD_Text() local
304 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFDBuffer,NFDBufferLen, uselen); TestWin_NFD_NFD_Text() local
310 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFCFileLines,numLines, uselen); TestWin_NFD_NFC_Text() local
313 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFCBuffer,NFCBufferLen, uselen); TestWin_NFD_NFC_Text() local
319 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,lines,numLines, uselen); TestWin_NFD_Orig_Text() local
322 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,buffer,bufferLen, uselen); TestWin_NFD_Orig_Text() local
330 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFC, options,uselen); TestQC_NFC_NFD_Text() local
333 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); TestQC_NFC_NFD_Text() local
339 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFC, options,uselen); TestQC_NFC_NFC_Text() local
342 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); TestQC_NFC_NFC_Text() local
348 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); TestQC_NFC_Orig_Text() local
351 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFC, options,uselen); TestQC_NFC_Orig_Text() local
358 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFD, options,uselen); TestQC_NFD_NFD_Text() local
361 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFD, options,uselen); TestQC_NFD_NFD_Text() local
367 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFD, options,uselen); TestQC_NFD_NFC_Text() local
370 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFD, options,uselen); TestQC_NFD_NFC_Text() local
376 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFD, options,uselen); TestQC_NFD_Orig_Text() local
379 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFD, options,uselen); TestQC_NFD_Orig_Text() local
386 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_FCD, options,uselen); TestQC_FCD_NFD_Text() local
389 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_FCD, options,uselen); TestQC_FCD_NFD_Text() local
395 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_FCD, options,uselen); TestQC_FCD_NFC_Text() local
398 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_FCD, options,uselen); TestQC_FCD_NFC_Text() local
404 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_FCD, options,uselen); TestQC_FCD_Orig_Text() local
407 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_FCD, options,uselen); TestQC_FCD_Orig_Text() local
415 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFC, options,uselen); TestIsNormalized_NFC_NFD_Text() local
418 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); TestIsNormalized_NFC_NFD_Text() local
424 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCFileLines, numLines, UNORM_NFC, options,uselen); TestIsNormalized_NFC_NFC_Text() local
427 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); TestIsNormalized_NFC_NFC_Text() local
433 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFC, options,uselen); TestIsNormalized_NFC_Orig_Text() local
436 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM_NFC, options,uselen); TestIsNormalized_NFC_Orig_Text() local
443 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFD, options,uselen); TestIsNormalized_NFD_NFD_Text() local
446 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFD, options,uselen); TestIsNormalized_NFD_NFD_Text() local
452 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCFileLines, numLines, UNORM_NFD, options,uselen); TestIsNormalized_NFD_NFC_Text() local
455 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCBuffer, NFCBufferLen, UNORM_NFD, options,uselen); TestIsNormalized_NFD_NFC_Text() local
461 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFD, options,uselen); TestIsNormalized_NFD_Orig_Text() local
464 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM_NFD, options,uselen); TestIsNormalized_NFD_Orig_Text() local
471 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_FCD, options,uselen); TestIsNormalized_FCD_NFD_Text() local
474 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_FCD, options,uselen); TestIsNormalized_FCD_NFD_Text() local
480 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCFileLines, numLines, UNORM_FCD, options,uselen); TestIsNormalized_FCD_NFC_Text() local
483 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCBuffer, NFCBufferLen, UNORM_FCD, options,uselen); TestIsNormalized_FCD_NFC_Text() local
489 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_FCD, options,uselen); TestIsNormalized_FCD_Orig_Text() local
492 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM_FCD, options,uselen); TestIsNormalized_FCD_Orig_Text() local
[all...]
/third_party/jerryscript/jerry-ext/include/jerryscript-ext/
H A Darg.impl.h74 jerryx_arg_transform_func_t func; \
79 func = jerryx_arg_transform_ ## type ## _strict_optional; \
83 func = jerryx_arg_transform_ ## type ## _strict; \
90 func = jerryx_arg_transform_ ## type ## _optional; \
94 func = jerryx_arg_transform_ ## type; \
104 .func = func, \
130 jerryx_arg_transform_func_t func; in jerryx_arg_number() local
136 func = jerryx_arg_transform_number_strict_optional; in jerryx_arg_number()
140 func in jerryx_arg_number()
173 jerryx_arg_transform_func_t func; jerryx_arg_boolean() local
217 jerryx_arg_transform_func_t func; jerryx_arg_string() local
262 jerryx_arg_transform_func_t func; jerryx_arg_utf8_string() local
305 jerryx_arg_transform_func_t func; jerryx_arg_function() local
336 jerryx_arg_transform_func_t func; jerryx_arg_native_pointer() local
375 jerryx_arg_custom(void *dest, uintptr_t extra_info, jerryx_arg_transform_func_t func) jerryx_arg_custom() argument
396 jerryx_arg_transform_func_t func; jerryx_arg_object_properties() local
424 jerryx_arg_transform_func_t func; jerryx_arg_array() local
[all...]
/third_party/opencl-headers/src/
H A Dopencl_wrapper.cpp188 #define CL_DEFINE_FUNC_PTR(func) func##Func func = nullptr
265 auto func = OHOS::clGetPlatformIDs; in clGetPlatformIDs() local
266 MS_ASSERT(func != nullptr); in clGetPlatformIDs()
267 return func(num_entries, platforms, num_platforms); in clGetPlatformIDs()
275 auto func = OHOS::clGetPlatformInfo; in clGetPlatformInfo() local
276 MS_ASSERT(func != nullptr); in clGetPlatformInfo()
277 return func(platform, param_name, param_value_size, param_value, param_value_size_ret); in clGetPlatformInfo()
285 auto func in clGetDeviceIDs() local
295 auto func = OHOS::clGetDeviceInfo; clGetDeviceInfo() local
306 auto func = OHOS::clCreateContext; clCreateContext() local
317 auto func = OHOS::clCreateContextFromType; clCreateContextFromType() local
326 auto func = OHOS::clRetainContext; clRetainContext() local
335 auto func = OHOS::clReleaseContext; clReleaseContext() local
345 auto func = OHOS::clGetContextInfo; clGetContextInfo() local
355 auto func = OHOS::clCreateProgramWithSource; clCreateProgramWithSource() local
366 auto func = OHOS::clCreateProgramWithBinary; clCreateProgramWithBinary() local
376 auto func = OHOS::clGetProgramInfo; clGetProgramInfo() local
386 auto func = OHOS::clGetProgramBuildInfo; clGetProgramBuildInfo() local
395 auto func = OHOS::clRetainProgram; clRetainProgram() local
404 auto func = OHOS::clReleaseProgram; clReleaseProgram() local
414 auto func = OHOS::clBuildProgram; clBuildProgram() local
423 auto func = OHOS::clCreateKernel; clCreateKernel() local
432 auto func = OHOS::clRetainKernel; clRetainKernel() local
441 auto func = OHOS::clReleaseKernel; clReleaseKernel() local
450 auto func = OHOS::clSetKernelArg; clSetKernelArg() local
459 auto func = OHOS::clCreateBuffer; clCreateBuffer() local
468 auto func = OHOS::clRetainMemObject; clRetainMemObject() local
477 auto func = OHOS::clReleaseMemObject; clReleaseMemObject() local
487 auto func = OHOS::clGetImageInfo; clGetImageInfo() local
496 auto func = OHOS::clRetainCommandQueue; clRetainCommandQueue() local
505 auto func = OHOS::clReleaseCommandQueue; clReleaseCommandQueue() local
516 auto func = OHOS::clEnqueueReadBuffer; clEnqueueReadBuffer() local
530 auto func = OHOS::clEnqueueReadBufferRect; clEnqueueReadBufferRect() local
543 auto func = OHOS::clEnqueueWriteBuffer; clEnqueueWriteBuffer() local
555 auto func = OHOS::clEnqueueWriteImage; clEnqueueWriteImage() local
567 auto func = OHOS::clEnqueueReadImage; clEnqueueReadImage() local
579 auto func = OHOS::clEnqueueMapBuffer; clEnqueueMapBuffer() local
592 auto func = OHOS::clEnqueueMapImage; clEnqueueMapImage() local
603 auto func = OHOS::clEnqueueUnmapMemObject; clEnqueueUnmapMemObject() local
613 auto func = OHOS::clGetKernelWorkGroupInfo; clGetKernelWorkGroupInfo() local
623 auto func = OHOS::clGetEventProfilingInfo; clGetEventProfilingInfo() local
635 auto func = OHOS::clEnqueueNDRangeKernel; clEnqueueNDRangeKernel() local
645 auto func = OHOS::clWaitForEvents; clWaitForEvents() local
654 auto func = OHOS::clRetainEvent; clRetainEvent() local
663 auto func = OHOS::clReleaseEvent; clReleaseEvent() local
673 auto func = OHOS::clGetEventInfo; clGetEventInfo() local
682 auto func = OHOS::clFlush; clFlush() local
691 auto func = OHOS::clFinish; clFinish() local
701 auto func = OHOS::clCreateImage2D; clCreateImage2D() local
712 auto func = OHOS::clCreateImage3D; clCreateImage3D() local
723 auto func = OHOS::clCreateCommandQueue; clCreateCommandQueue() local
733 auto func = OHOS::clGetCommandQueueInfo; clGetCommandQueueInfo() local
744 auto func = OHOS::clEnqueueCopyImage; clEnqueueCopyImage() local
756 auto func = OHOS::clEnqueueCopyBufferToImage; clEnqueueCopyBufferToImage() local
768 auto func = OHOS::clEnqueueCopyImageToBuffer; clEnqueueCopyImageToBuffer() local
780 auto func = OHOS::clRetainDevice; clRetainDevice() local
789 auto func = OHOS::clReleaseDevice; clReleaseDevice() local
799 auto func = OHOS::clCreateImage; clCreateImage() local
809 auto func = OHOS::clEnqueueFillImage; clEnqueueFillImage() local
823 auto func = OHOS::clCreateCommandQueueWithProperties; clCreateCommandQueueWithProperties() local
832 auto func = OHOS::clGetExtensionFunctionAddress; clGetExtensionFunctionAddress() local
840 auto func = OHOS::clCreateProgramWithIL; clCreateProgramWithIL() local
849 auto func = OHOS::clSVMAlloc; clSVMAlloc() local
858 auto func = OHOS::clSVMFree; clSVMFree() local
868 auto func = OHOS::clEnqueueSVMMap; clEnqueueSVMMap() local
878 auto func = OHOS::clEnqueueSVMUnmap; clEnqueueSVMUnmap() local
887 auto func = OHOS::clSetKernelArgSVMPointer; clSetKernelArgSVMPointer() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_sse.c112 struct x86_function *func; member
185 sse_movaps(p->func, reg, in get_const()
201 x86_movzx8(p->func, tmp, src); in emit_load_sse2()
202 sse2_movd(p->func, data, tmp); in emit_load_sse2()
205 x86_movzx16(p->func, tmp, src); in emit_load_sse2()
206 sse2_movd(p->func, data, tmp); in emit_load_sse2()
209 x86_movzx8(p->func, tmp, x86_make_disp(src, 2)); in emit_load_sse2()
210 x86_shl_imm(p->func, tmp, 16); in emit_load_sse2()
211 x86_mov16(p->func, tmp, src); in emit_load_sse2()
212 sse2_movd(p->func, dat in emit_load_sse2()
1320 build_vertex_emit(struct translate_sse *p, struct x86_function *func, unsigned index_size) build_vertex_emit() argument
[all...]
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dgl_marshal.py84 def print_sync_call(self, func, unmarshal = 0):
86 func.name, func.get_called_parameter_string())
87 if func.return_type == 'void' or unmarshal:
89 if func.marshal_call_after and not unmarshal:
90 out(func.marshal_call_after);
93 assert not func.marshal_call_after
95 def print_sync_body(self, func):
96 out('/* {0}: marshalled synchronously */'.format(func.name))
97 out('{0} GLAPIENTRY'.format(func
[all...]
H A Dgl_procs.py85 for func in api.functionIterateByOffset():
86 name = func.dispatch_name()
87 self.printFunctionString(func.name)
88 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset))
93 base_offset += len(func.name) + 3
96 for func in api.functionIterateByOffset():
97 for n in func.entry_points:
98 if n != func.name:
99 name = func.dispatch_name()
102 if func
[all...]
H A DglX_proto_send.py49 def hash_pixel_function(func):
59 for param in func.parameterIterateGlxSend():
71 if func.pad_after(param):
75 n = func.name.replace("%uD" % (dim), "")
89 def __init__(self, func, name):
98 for _p in func.parameterIterator():
119 pad_name = func.pad_after(p)
127 self.return_type = func.return_type
133 self.glx_doubles_in_order = func.glx_doubles_in_order
137 self.can_be_large = func
[all...]
/third_party/python/Lib/asyncio/
H A Dformat_helpers.py10 def _get_function_source(func):
11 func = inspect.unwrap(func)
12 if inspect.isfunction(func):
13 code = func.__code__
15 if isinstance(func, functools.partial):
16 return _get_function_source(func.func)
17 if isinstance(func, functools.partialmethod):
18 return _get_function_source(func
[all...]
/third_party/skia/third_party/externals/dawn/src/common/
H A DPreprocessor.h32 #define DAWN_PP_FOR_EACH_1(func, x) func(x)
33 #define DAWN_PP_FOR_EACH_2(func, x, ...) \
34 func(x) DAWN_PP_EXPAND(DAWN_PP_EXPAND(DAWN_PP_FOR_EACH_1)(func, __VA_ARGS__))
35 #define DAWN_PP_FOR_EACH_3(func, x, ...) \
36 func(x) DAWN_PP_EXPAND(DAWN_PP_EXPAND(DAWN_PP_FOR_EACH_2)(func, __VA_ARGS__))
37 #define DAWN_PP_FOR_EACH_4(func, x, ...) \
38 func(
[all...]
/third_party/mesa3d/src/egl/generate/
H A Dgen_egl_dispatch.py58 func = xmlByName[name]
59 eglFunc = fixupEglFunc(func, eglFunc)
60 functions.append((func, eglFunc))
71 def fixupEglFunc(func, eglFunc):
84 raise ValueError("Invalid dispatch method %r for function %r" % (result["method"], func.name))
86 if func.hasReturn():
88 result["retval"] = getDefaultReturnValue(func.rt)
110 for (func, eglFunc) in functions:
111 text += generateGuardBegin(func, eglFunc)
112 text += " __EGL_DISPATCH_" + func
[all...]
/third_party/python/Include/cpython/
H A Dmethodobject.h10 PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */
16 #define _PyCFunctionObject_CAST(func) \
17 (assert(PyCFunction_Check(func)), \
18 _Py_CAST(PyCFunctionObject*, (func)))
24 PyCFunctionObject func; member
28 #define _PyCMethodObject_CAST(func) \
29 (assert(PyCMethod_Check(func)), \
30 _Py_CAST(PyCMethodObject*, (func)))
40 static inline PyCFunction PyCFunction_GET_FUNCTION(PyObject *func) { in PyCFunction_GET_FUNCTION() argument
41 return _PyCFunctionObject_CAST(func) in PyCFunction_GET_FUNCTION()
48 PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); PyCFunction_GET_SELF() local
58 PyCFunction_GET_FLAGS(PyObject *func) PyCFunction_GET_FLAGS() argument
66 PyCFunctionObject *func = _PyCFunctionObject_CAST(func_obj); PyCFunction_GET_CLASS() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A Des5ExportDefaultFunctionDeclaration3.js2 var before: typeof func = func();
4 export default function func(): typeof func {
5 return func;
8 var after: typeof func = func();
13 var before = func();
14 function func() { function
15 return func;
[all...]
H A DfunctionLikeInParameterInitializer.js3 export function bar(func = () => foo) {
7 export function baz1(func = { f() { return foo } }) {
12 export function baz2(func = function () { return foo }) {
17 export function baz3(func = class { x = foo }) {
27 function bar(func) {
28 if (func === void 0) { func = function () { return foo; }; } function
33 function baz1(func) {
34 if (func === void 0) { func
[all...]
H A DsuperPropertyAccessNoError.js11 public func() {
15 static func() {
27 var x = super.func();
32 var x = super.func();
34 var y = () => super.func();
38 var x = super.func();
44 var x = super.func();
49 var x = super.func();
54 var x = super.func();
60 var x = super.func();
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_parser.h103 *lima_get_compare_func_string(int func) { in lima_get_compare_func_string() argument
104 if ((func >= 0) && (func <= 7)) in lima_get_compare_func_string()
105 return PIPE_COMPARE_FUNC_STRING[func]; in lima_get_compare_func_string()
111 *lima_get_stencil_op_string(int func) { in lima_get_stencil_op_string() argument
112 if ((func >= 0) && (func <= 7)) in lima_get_stencil_op_string()
113 return PIPE_STENCIL_OP_STRING[func]; in lima_get_stencil_op_string()
119 *lima_get_blend_func_string(int func) { in lima_get_blend_func_string() argument
120 if ((func > in lima_get_blend_func_string()
127 lima_get_blendfactor_string(int func) lima_get_blendfactor_string() argument
[all...]
/third_party/mesa3d/src/mapi/new/
H A Dgen_gldispatch_mapi.py83 for func in functions:
84 text += "GLAPI {f.rt} APIENTRY {f.name}({f.decArgs});\n".format(f=func)
101 for func in functions:
102 text += "static {f.rt} APIENTRY noop{f.basename}({f.decArgs})\n".format(f=func)
104 if (len(func.args) > 0):
106 for arg in func.args:
109 text += " noop_warn(\"{f.name}\");\n".format(f=func)
110 if (func.hasReturn()):
111 text += " return ({f.rt}) 0;\n".format(f=func)
115 for func i
[all...]
/third_party/jerryscript/tests/jerry/
H A Darray-prototype-reduce.js17 var func = function(a, b) { function
32 [].reduce(func);
40 assert ([].reduce(func, 1) === 1);
42 assert ([].reduce(func, undefined) === undefined);
44 assert ([0].reduce(func) === 0);
46 assert ([0, 1].reduce(func) === 1);
48 assert ([0, 1].reduce(func, 1) === 2);
50 assert ([0, 1, 2, 3].reduce(func, 1) === 7);
52 assert (["A","B"].reduce(func) === "AB");
54 assert (["A","B"].reduce(func, "Ini
[all...]
H A Darray-prototype-reduce-right.js17 var func = function(a, b) { function
31 [].reduceRight(func);
40 a.reduceRight(func);
47 assert([].reduceRight(func, 1) === 1);
49 assert([].reduceRight(func, undefined) === undefined);
51 assert([0].reduceRight(func) === 0);
53 assert([0, 1].reduceRight(func) === 1);
55 assert([0, 1].reduceRight(func, 1) === 2);
57 assert([0, 1, 2, 3].reduceRight(func, 1) === 7);
59 assert (["A","B"].reduceRight(func)
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Darrow-function.js62 var func = x => { return x + 3 }
63 assert (func(5) == 8);
72 func = true ? x=>x+2:y=>y-2
73 assert (func(10) == 12);
75 func = arguments =>
77 assert (func(2) == 6);
79 func = (
83 assert (func() === "undefined");
113 func = (x , y) => {}
114 assert (func()
[all...]
/third_party/ltp/lib/
H A Dtst_clocks.c32 static mysyscall func; in tst_clock_getres() local
36 if (!func && syscall_supported_by_kernel(__NR_clock_getres_time64)) { in tst_clock_getres()
37 func = sys_clock_getres64; in tst_clock_getres()
42 if (!func && syscall_supported_by_kernel(__NR_clock_getres)) { in tst_clock_getres()
43 func = sys_clock_getres; in tst_clock_getres()
47 if (!func) { in tst_clock_getres()
53 ret = func(clk_id, tst_ts_get(&tts)); in tst_clock_getres()
62 static mysyscall func; in tst_clock_gettime() local
66 if (!func && syscall_supported_by_kernel(__NR_clock_gettime64)) { in tst_clock_gettime()
67 func in tst_clock_gettime()
92 static mysyscall func; tst_clock_settime() local
[all...]
/third_party/spirv-tools/test/opt/
H A Dfunction_test.cpp115 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST() local
116 EXPECT_FALSE(func->IsRecursive()); in TEST()
118 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
119 EXPECT_FALSE(func->IsRecursive()); in TEST()
149 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST() local
150 EXPECT_TRUE(func->IsRecursive()); in TEST()
185 auto* func = spvtest::GetFunction(ctx->module(), 9); in TEST() local
186 EXPECT_TRUE(func->IsRecursive()); in TEST()
188 func = spvtest::GetFunction(ctx->module(), 12); in TEST()
189 EXPECT_TRUE(func in TEST()
219 auto* func = spvtest::GetFunction(ctx->module(), 1); TEST() local
244 auto* func = spvtest::GetFunction(ctx->module(), 4); TEST() local
281 auto* func = spvtest::GetFunction(ctx->module(), 4); TEST() local
345 auto* func = spvtest::GetFunction(ctx->module(), 100); TEST() local
[all...]
/third_party/icu/icu4c/source/test/perf/DateFmtPerf/
H A DDateFmtPerf.cpp74 DateFmtFunction* func= new DateFmtFunction(1, locale); in DateFmt250() local
75 return func; in DateFmt250()
79 DateFmtFunction* func= new DateFmtFunction(40, locale); in DateFmt10000() local
80 return func; in DateFmt10000()
84 DateFmtFunction* func= new DateFmtFunction(400, locale); in DateFmt100000() local
85 return func; in DateFmt100000()
89 BreakItFunction* func= new BreakItFunction(250, true); in BreakItWord250() local
90 return func; in BreakItWord250()
94 BreakItFunction* func= new BreakItFunction(10000, true); in BreakItWord10000() local
95 return func; in BreakItWord10000()
99 BreakItFunction* func= new BreakItFunction(250, false); BreakItChar250() local
104 BreakItFunction* func= new BreakItFunction(10000, false); BreakItChar10000() local
109 NumFmtFunction* func= new NumFmtFunction(10000, locale); NumFmt10000() local
114 NumFmtFunction* func= new NumFmtFunction(100000, locale); NumFmt100000() local
119 CollationFunction* func= new CollationFunction(40, locale); Collation10000() local
124 CollationFunction* func= new CollationFunction(400, locale); Collation100000() local
130 DIFCreateFunction* func = new DIFCreateFunction(250, locale); DIFCreate250() local
135 DIFCreateFunction* func = new DIFCreateFunction(10000, locale); DIFCreate10000() local
[all...]
/third_party/python/Lib/test/
H A Dtest_decorators.py6 def decorate(func):
7 func.__dict__.update(kwds)
8 return func
14 def decorate(func):
15 func.__dict__['author'] = name
16 return func
22 def __init__(self, exprstr, func, args, kwds):
24 Exception.__init__(self, "dbcheck %r failed (func=%s args=%s kwds=%s)" %
25 (exprstr, func, args, kwds))
30 def decorate(func)
82 def func(x): global() function
[all...]
/third_party/node/deps/v8/src/tasks/
H A Dtask-utils.cc16 CancelableFuncTask(Isolate* isolate, std::function<void()> func) in CancelableFuncTask() argument
17 : CancelableTask(isolate), func_(std::move(func)) {} in CancelableFuncTask()
18 CancelableFuncTask(CancelableTaskManager* manager, std::function<void()> func) in CancelableFuncTask() argument
19 : CancelableTask(manager), func_(std::move(func)) {} in CancelableFuncTask()
28 CancelableIdleFuncTask(Isolate* isolate, std::function<void(double)> func) in CancelableIdleFuncTask() argument
29 : CancelableIdleTask(isolate), func_(std::move(func)) {} in CancelableIdleFuncTask()
31 std::function<void(double)> func) in CancelableIdleFuncTask()
32 : CancelableIdleTask(manager), func_(std::move(func)) {} in CancelableIdleFuncTask()
44 std::function<void()> func) { in MakeCancelableTask()
45 return std::make_unique<CancelableFuncTask>(isolate, std::move(func)); in MakeCancelableTask()
30 CancelableIdleFuncTask(CancelableTaskManager* manager, std::function<void(double)> func) CancelableIdleFuncTask() argument
43 MakeCancelableTask(Isolate* isolate, std::function<void()> func) MakeCancelableTask() argument
48 MakeCancelableTask( CancelableTaskManager* manager, std::function<void()> func) MakeCancelableTask() argument
53 MakeCancelableIdleTask( Isolate* isolate, std::function<void(double)> func) MakeCancelableIdleTask() argument
58 MakeCancelableIdleTask( CancelableTaskManager* manager, std::function<void(double)> func) MakeCancelableIdleTask() argument
[all...]

Completed in 11 milliseconds

12345678910>>...109