/external/python/cpython2/Lib/ctypes/test/ |
D | test_prototypes.py | 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(input=None), None) 71 func = testdll._testfunc_p_p 72 func.restype = c_long 73 self.assertEqual(0, func(0)) [all …]
|
D | test_unicode.py | 82 cls.func = ctypes.CDLL(_ctypes_test.__file__)._testfunc_p_p 85 func = self.func 87 func.argtypes = [ctypes.c_char_p] 88 func.restype = ctypes.c_char_p 91 func = self.func 93 func.argtypes = None 94 func.restype = ctypes.c_int 97 func = self.func 99 self.assertEqual(func("abc"), "abc") 100 self.assertEqual(func(u"abc"), "abc") [all …]
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_prototypes.py | 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(input=None), None) 71 func = testdll._testfunc_p_p 73 func.restype = c_longlong 75 func.restype = c_long [all …]
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | normperf.cpp | 184 … 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() [all …]
|
/external/compiler-rt/lib/interception/ |
D | interception.h | 122 # define DECLARE_WRAPPER(ret_type, func, ...) argument 128 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument 129 extern "C" ret_type func(__VA_ARGS__); 130 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument 131 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__); 139 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument 140 extern "C" ret_type func(__VA_ARGS__) \ 141 __attribute__((alias("__interceptor_" #func), visibility("default"))); 146 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument 147 extern "C" ret_type func(__VA_ARGS__) \ [all …]
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | _vectorize.hpp | 37 #define VECTORIZE1_VEC(func) \ argument 39 GLM_FUNC_QUALIFIER detail::tvec1<T, P> func( \ 43 func(v.x)); \ 46 #define VECTORIZE2_VEC(func) \ argument 48 GLM_FUNC_QUALIFIER detail::tvec2<T, P> func( \ 52 func(v.x), \ 53 func(v.y)); \ 56 #define VECTORIZE3_VEC(func) \ argument 58 GLM_FUNC_QUALIFIER detail::tvec3<T, P> func( \ 62 func(v.x), \ [all …]
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_sse.c | 101 struct x86_function *func; member 168 sse_movaps(p->func, reg, in get_const() 185 x86_movzx8(p->func, tmp, src); in emit_load_sse2() 186 sse2_movd(p->func, data, tmp); in emit_load_sse2() 189 x86_movzx16(p->func, tmp, src); in emit_load_sse2() 190 sse2_movd(p->func, data, tmp); in emit_load_sse2() 193 x86_movzx8(p->func, tmp, x86_make_disp(src, 2)); in emit_load_sse2() 194 x86_shl_imm(p->func, tmp, 16); in emit_load_sse2() 195 x86_mov16(p->func, tmp, src); in emit_load_sse2() 196 sse2_movd(p->func, data, tmp); in emit_load_sse2() [all …]
|
/external/mdnsresponder/mDNSWindows/DLLStub/ |
D | DLLStub.cpp | 61 DLLStub::GetProcAddress( FARPROC * func, LPCSTR lpProcName ) in GetProcAddress() argument 69 if ( *func == NULL ) in GetProcAddress() 71 *func = ::GetProcAddress( m_instance->m_library, lpProcName ); in GetProcAddress() 76 *func = NULL; in GetProcAddress() 79 return ( *func != NULL ); in GetProcAddress() 87 static Func func = NULL; in DNSServiceRefSockFD() local 90 if ( DLLStub::GetProcAddress( ( FARPROC* ) &func, __FUNCTION__ ) ) in DNSServiceRefSockFD() 92 ret = func( sdRef ); in DNSServiceRefSockFD() 103 static Func func = NULL; in DNSServiceProcessResult() local 106 if ( DLLStub::GetProcAddress( ( FARPROC* ) &func, __FUNCTION__ ) ) in DNSServiceProcessResult() [all …]
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | gl_procs.py | 86 for func in api.functionIterateByOffset(): 87 name = func.dispatch_name() 88 self.printFunctionString(func.name) 89 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset)) 94 base_offset += len(func.name) + 3 97 for func in api.functionIterateByOffset(): 98 for n in func.entry_points: 99 if n != func.name: 100 name = func.dispatch_name() 103 if func.has_different_protocol(n): [all …]
|
D | glX_proto_send.py | 50 def hash_pixel_function(func): argument 60 for param in func.parameterIterateGlxSend(): 72 if func.pad_after(param): 76 n = func.name.replace("%uD" % (dim), "") 90 def __init__(self, func, name): argument 99 for _p in func.parameterIterator(): 120 pad_name = func.pad_after(p) 128 self.return_type = func.return_type 134 self.glx_doubles_in_order = func.glx_doubles_in_order 138 self.can_be_large = func.can_be_large [all …]
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | tpu_function_test.py | 34 def func(x, y, z): function 38 tpu_function.check_function_argument_count(func, 3, None)) 40 tpu_function.check_function_argument_count(func, 2, None)) 43 tpu_function.check_function_argument_count(func, 1, queue)) 45 tpu_function.check_function_argument_count(func, 2, queue)) 50 def func(x, y, z=17): function 54 tpu_function.check_function_argument_count(func, 3, None)) 56 tpu_function.check_function_argument_count(func, 2, None)) 58 tpu_function.check_function_argument_count(func, 1, None)) 60 tpu_function.check_function_argument_count(func, 4, None)) [all …]
|
/external/webrtc/talk/media/webrtc/ |
D | webrtccommon.h | 39 #define LOG_RTCERR0(func) \ argument 40 LOG_RTCERR0_EX(func, GetLastEngineError()) 41 #define LOG_RTCERR1(func, a1) \ argument 42 LOG_RTCERR1_EX(func, a1, GetLastEngineError()) 43 #define LOG_RTCERR2(func, a1, a2) \ argument 44 LOG_RTCERR2_EX(func, a1, a2, GetLastEngineError()) 45 #define LOG_RTCERR3(func, a1, a2, a3) \ argument 46 LOG_RTCERR3_EX(func, a1, a2, a3, GetLastEngineError()) 47 #define LOG_RTCERR4(func, a1, a2, a3, a4) \ argument 48 LOG_RTCERR4_EX(func, a1, a2, a3, a4, GetLastEngineError()) [all …]
|
/external/libxml2/python/ |
D | generator.py | 707 func = name[l:] 708 func = func[0:1].lower() + func[1:] 710 func = name[12:] 711 func = func[0:1].lower() + func[1:] 713 func = name[12:] 714 func = func[0:1].lower() + func[1:] 716 func = name[10:] 717 func = func[0:1].lower() + func[1:] 719 func = name[9:] 720 func = func[0:1].lower() + func[1:] [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vertex_sse.c | 56 struct x86_function func; member 77 sse_movups(&p->func, dest, arg0); in emit_load4f_4() 91 sse_movss(&p->func, dest, x86_make_disp(arg0, 8)); in emit_load4f_3() 92 sse_shufps(&p->func, dest, get_identity(p), SHUF(X,Y,Z,W) ); in emit_load4f_3() 93 sse_shufps(&p->func, dest, dest, SHUF(Y,Z,X,W) ); in emit_load4f_3() 94 sse_movlps(&p->func, dest, arg0); in emit_load4f_3() 103 sse_movups(&p->func, dest, get_identity(p)); in emit_load4f_2() 104 sse_movlps(&p->func, dest, arg0); in emit_load4f_2() 112 sse_movss(&p->func, dest, arg0); in emit_load4f_1() 113 sse_shufps(&p->func, dest, get_identity(p), SHUF(X,Y,Z,W) ); in emit_load4f_1() [all …]
|
/external/deqp/data/gles2/shaders/ |
D | functions.test | 23 float func (float a) 30 out0 = func(in0); 47 float func (vec2 a) 54 out0 = func(in0); 71 float func (vec3 a) 78 out0 = func(in0); 95 float func (vec4 a) 102 out0 = func(in0); 119 float func (mat2 a) 126 out0 = func(in0); [all …]
|
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/ |
D | functions.test | 25 float func (float a) 32 out0 = func(in0); 51 float func (vec2 a) 58 out0 = func(in0); 77 float func (vec3 a) 84 out0 = func(in0); 103 float func (vec4 a) 110 out0 = func(in0); 129 float func (mat2 a) 136 out0 = func(in0); [all …]
|
/external/deqp/data/gles3/shaders/ |
D | functions.test | 25 float func (float a) 32 out0 = func(in0); 51 float func (vec2 a) 58 out0 = func(in0); 77 float func (vec3 a) 84 out0 = func(in0); 103 float func (vec4 a) 110 out0 = func(in0); 129 float func (mat2 a) 136 out0 = func(in0); [all …]
|
/external/libcxx/src/ |
D | string.cpp | 45 void throw_from_string_out_of_range( const string& func ) in throw_from_string_out_of_range() argument 47 throw_helper<out_of_range>(func + ": out of range"); in throw_from_string_out_of_range() 51 void throw_from_string_invalid_arg( const string& func ) in throw_from_string_invalid_arg() argument 53 throw_helper<invalid_argument>(func + ": no conversion"); in throw_from_string_invalid_arg() 61 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() argument 70 throw_from_string_out_of_range(func); in as_integer_helper() 72 throw_from_string_invalid_arg(func); in as_integer_helper() 81 as_integer(const string& func, const S& s, size_t* idx, int base); 87 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() argument 90 long r = as_integer_helper<long>( func, s, idx, base, strtol ); in as_integer() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | atexit.c | 28 ext2_exit_fn func; member 40 if (ed->func == NULL) in handle_exit() 42 ed->func(ed->data); in handle_exit() 54 errcode_t ext2fs_add_exit_fn(ext2_exit_fn func, void *data) in ext2fs_add_exit_fn() argument 60 if (func == NULL) in ext2fs_add_exit_fn() 64 if (ed->func == func && ed->data == data) in ext2fs_add_exit_fn() 66 if (ed->func == NULL) in ext2fs_add_exit_fn() 71 free_ed->func = func; in ext2fs_add_exit_fn() 87 items[nr_items].func = func; in ext2fs_add_exit_fn() 95 errcode_t ext2fs_remove_exit_fn(ext2_exit_fn func, void *data) in ext2fs_remove_exit_fn() argument [all …]
|
/external/tensorflow/tensorflow/python/util/ |
D | deprecation.py | 234 def deprecated_wrapper(func): argument 236 decorator_utils.validate_callable(func, 'deprecated') 237 @functools.wraps(func) 240 if func not in _PRINTED_WARNING: 242 _PRINTED_WARNING[func] = True 246 _call_location(), decorator_utils.get_qualified_name(func), 247 func.__module__, 250 return func(*args, **kwargs) 252 func, new_func, 'deprecated', 253 _add_deprecated_function_notice_to_docstring(func.__doc__, date, [all …]
|
/external/ltp/testcases/realtime/profiles/ |
D | default | 22 func/async_handler async_handler -c 100 23 func/async_handler async_handler_jk -c 100 26 func/pi_perf pi_perf -c 200 30 func/pthread_kill_latency pthread_kill_latency -c 20 34 func/prio-preempt prio-preempt -c 1 38 func/sched_latency sched_latency -d 1 -t 5 -c 100 42 func/matrix_mult matrix_mult -c 0.75 47 func/thread_clock tc-2 -c 0.5 50 func/gtod_latency gtod_latency 51 func/sched_jitter sched_jitter [all …]
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
D | oneshot_func.pass.cpp | 22 template <typename R> struct func { struct 25 func get_return_object() { return {this}; } in get_return_object() argument 40 func() {} in func() function 41 func(func &&rhs) : h(rhs.h) { rhs.h = nullptr; } in func() function 42 func(func const &) = delete; 44 func &operator=(func &&rhs) { in operator =() argument 54 template <typename F> static func Create(F f) { co_return f(); } in Create() argument 56 template <typename F> func(F f) : func(Create(f)) {} in func() argument 58 ~func() { in ~func() argument 64 func(promise_type *promise) in func() argument [all …]
|
/external/icu/icu4c/source/test/perf/DateFmtPerf/ |
D | DateFmtPerf.cpp | 74 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() [all …]
|
/external/syslinux/com32/lib/syslinux/ |
D | debug.c | 14 static struct debug_func_entry *lookup_entry(const char *func) in lookup_entry() argument 19 if (!strcmp(e->name, func)) { in lookup_entry() 28 bool __syslinux_debug_enabled(const char *func) in __syslinux_debug_enabled() argument 32 entry = lookup_entry(func); in __syslinux_debug_enabled() 39 static int __enable(const char *func) in __enable() argument 43 entry = lookup_entry(func); in __enable() 51 entry->name = func; in __enable() 56 static int __disable(const char *func) in __disable() argument 60 entry = lookup_entry(func); in __disable() 72 int syslinux_debug(const char *func, bool enable) in syslinux_debug() argument [all …]
|
/external/jemalloc/test/unit/ |
D | prof_active.c | 9 mallctl_bool_get(const char *name, bool expected, const char *func, int line) in mallctl_bool_get() argument 16 "%s():%d: Unexpected mallctl failure reading %s", func, line, name); in mallctl_bool_get() 17 assert_b_eq(old, expected, "%s():%d: Unexpected %s value", func, line, in mallctl_bool_get() 23 const char *func, int line) in mallctl_bool_set() argument 31 "%s():%d: Unexpected mallctl failure reading/writing %s", func, in mallctl_bool_set() 33 assert_b_eq(old, old_expected, "%s():%d: Unexpected %s value", func, in mallctl_bool_set() 38 mallctl_prof_active_get_impl(bool prof_active_old_expected, const char *func, in mallctl_prof_active_get_impl() argument 42 mallctl_bool_get("prof.active", prof_active_old_expected, func, line); in mallctl_prof_active_get_impl() 49 bool prof_active_new, const char *func, int line) in mallctl_prof_active_set_impl() argument 53 prof_active_new, func, line); in mallctl_prof_active_set_impl() [all …]
|