Home
last modified time | relevance | path

Searched refs:func_name (Results 1 – 25 of 155) sorted by relevance

1234567

/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_methods.h27 #define IMPLEMENT_TLS_METHOD_FUNC(func_name, \ argument
35 static const SSL_METHOD_FUNC func_name LOCAL_ATRR = { \
51 #define IMPLEMENT_TLS_METHOD(ver, mode, fun, func_name) \ argument
52 const SSL_METHOD* func_name(void) { \
53 static const SSL_METHOD func_name##_data LOCAL_ATRR = { \
58 return &func_name##_data; \
61 #define IMPLEMENT_SSL_METHOD(ver, mode, fun, func_name) \ argument
62 const SSL_METHOD* func_name(void) { \
63 static const SSL_METHOD func_name##_data LOCAL_ATRR = { \
68 return &func_name##_data; \
[all …]
/third_party/boost/boost/contract/
Doverride.hpp41 #define BOOST_CONTRACT_NAMED_OVERRIDE(type_name, func_name) argument
52 func_name) \ argument
74 BOOST_CONTRACT_DETAIL_NAME1(B)::func_name( \
83 #define BOOST_CONTRACT_OVERRIDE_CALL_BASE_DECL_(func_name) \ argument
84 BOOST_CONTRACT_OVERRIDE_CALL_BASE_(1, ~, ~, func_name)
90 #define BOOST_CONTRACT_OVERRIDE_CALL_BASE_DECL_(func_name) \ argument
92 BOOST_CONTRACT_OVERRIDE_CALL_BASE_ARITY_, func_name) \
94 #define BOOST_CONTRACT_OVERRIDE_CALL_BASE_ARITY_(z, arity, func_name) \ argument
96 BOOST_PP_SUB(BOOST_CONTRACT_MAX_ARGS, arity), func_name)
101 #define BOOST_CONTRACT_NAMED_OVERRIDE(type_name, func_name) \ argument
[all …]
/third_party/mindspore/tests/ut/python/nn/probability/distribution/
Dtest_distribution.py49 def __init__(self, func_name): argument
52 self.name = func_name
63 for func_name in func_name_list:
65 net = Net(func_name)
75 for func_name in func_name_list:
77 net = Net(func_name)
86 def __init__(self, func_name): argument
89 self.func = getattr(self.dist, func_name)
100 for func_name in func_name_list:
102 net = Net1(func_name)
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_llvm_ir_macros.py141 func_name = func.group(2)
164 (func_name == 'CreateFence' or
165 func_name == 'CreateAtomicCmpXchg' or
166 func_name == 'CreateAtomicRMW')):
170 if (func_name == 'CreateInsertNUWNSWBinOp' or
171 func_name == 'CreateMaskedIntrinsic' or
172 func_name == 'CreateAlignmentAssumptionHelper' or
173 func_name == 'CreateGEP' or
174 func_name == 'CreateLoad' or
175 func_name == 'CreateMaskedLoad' or
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dvsnprintf.c22 void vsnprintf_test(char *str, size_t n, char *fmt, const char *func_name, ...) in vsnprintf_test() argument
26 va_start(ap, func_name); in vsnprintf_test()
30 t_error("%s vsnprintf get result is %d are less 0\n", func_name, result); in vsnprintf_test()
33 t_error("%s vsnprintf get is '%s' are not '%s'\n", func_name, s, str); in vsnprintf_test()
37 void vsnprintf_zeron(char *str, char *fmt, const char *func_name, ...) in vsnprintf_zeron() argument
41 va_start(ap, func_name); in vsnprintf_zeron()
45 t_error("%s vsnprintf get result is %d are less 0\n", func_name, result); in vsnprintf_zeron()
48 t_error("%s vsnprintf get is '%s' but donnot want that\n", func_name, s); in vsnprintf_zeron()
Dvfprintf.c45 void vfprintf_test(char *file_name, char *format, char *func_name, char *want_reuslt, ...) in vfprintf_test() argument
49 t_error("%s fopen failed\n", func_name); in vfprintf_test()
57 t_error("%s vfprintf get result is %d not less 0", func_name, result); in vfprintf_test()
61 t_error("%s vfprintf get is '%s' not '%s'", func_name, buffer, want_reuslt); in vfprintf_test()
66 void vfprintf_n_test(char *file_name, char *format, char *func_name, char *want_reuslt, ...) in vfprintf_n_test() argument
70 t_error("%s fopen failed\n", func_name); in vfprintf_n_test()
78 t_error("%s vfprintf get result is %d not less 0", func_name, result); in vfprintf_n_test()
82 t_error("%s vfprintf get is '%s'", func_name, buffer); in vfprintf_n_test()
/third_party/libsnd/tests/
Dwin32_ordinal_test.c57 test_ordinal (HMODULE hmod, const char * func_name, int ordinal) in test_ordinal() argument
61 print_test_name ("win32_ordinal_test", func_name) ; in test_ordinal()
70 if ((name = GetProcAddress (hmod, func_name)) == NULL) in test_ordinal()
88 static char func_name [1024] ; in win32_ordinal_test() local
116 { func_name [0] = 0 ; in win32_ordinal_test()
119 if (sscanf (buffer, "%s @%d", func_name, &ordinal) != 2) in win32_ordinal_test()
122 errors += test_ordinal (hmod, func_name, ordinal) ; in win32_ordinal_test()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Ddo_signature.cc47 void ProcessDefault(const std::string &func_name, size_t actual_param_number, const std::vector<Sig… in ProcessDefault() argument
58 …MS_LOG(EXCEPTION) << "Function " << func_name << "'s input length is not equal to Signature length… in ProcessDefault()
199 void DoAutoCast(const std::string &func_name, const std::vector<Signature> &signature, in DoAutoCast() argument
233 RaiseExceptionForConvertRefDtype(func_name, it_map->second, it_name_map->second); in DoAutoCast()
247 const std::string &func_name) { in CheckSigSize() argument
251 MS_LOG(EXCEPTION) << "Function " << func_name in CheckSigSize()
255 …MS_LOG(EXCEPTION) << "Function " << func_name << "'s input length is not equal to Signature length… in CheckSigSize()
260 AnfNodePtr BuildNewCNode(const FuncGraphPtr &func_graph, const std::string &func_name, const ValueP… in BuildNewCNode() argument
266 CheckSigSize(sig_size, has_var, args_spec_list, func_name); in BuildNewCNode()
306 RaiseExceptionForCheckParameter(func_name, i, type->ToString()); in BuildNewCNode()
[all …]
Ddo_signature.h62 void RaiseExceptionForConvertRefDtype(const std::string &func_name, const std::string &ref_type,
64 void RaiseExceptionForCheckParameter(const std::string &func_name, size_t i, const std::string &sou…
66 AnfNodePtr GenerateCNode(const FuncGraphPtr &func_graph, const std::string &func_name, const ValueP…
/third_party/boost/boost/contract/detail/type_traits/
Dmirror.hpp36 trait, func_name) \ argument
70 &BOOST_CONTRACT_DETAIL_NAME1(C)::func_name \
90 trait, func_name) \ argument
92 /* is_static = */ 0, trait, func_name)
95 func_name) \ argument
97 /* is_static = */ 1, trait, func_name)
/third_party/mindspore/mindspore/core/utils/
Dinfo.h72 static void DebugTrace(const std::string &func_name, const LocationPtr &location);
88 TraceGuard(const std::string func_name, const LocationPtr &location) { in TraceGuard() argument
89 TraceManager::DebugTrace(func_name, location); in TraceGuard()
106 explicit TraceContext(const std::string &func_name) { in TraceContext() argument
108 func_name_ = func_name; in TraceContext()
118 void set_func_name(const std::string &func_name) { func_name_ = func_name; } in set_func_name() argument
119 std::string func_name() { return func_name_; } in func_name() function
187 py_func_belonged_ = context_info->func_name(); in NodeDebugInfo()
193 py_func_belonged_ = context_info->func_name(); in NodeDebugInfo()
215 py_func_name_ = context_info->func_name(); in GraphDebugInfo()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dgen_load_texture_border_functions_table.py72 def get_load_func(func_name, load_function): argument
73 snippet = "LoadTextureBorderFunctionInfo " + func_name + "()\n"
103 func_name = load_functions_name(internal_format, angle_format)
106 table_data += s + ' return ' + func_name + ';\n'
108 load_functions_data += get_load_func(func_name, load_function)
Dgen_load_functions_table.py110 def get_load_func(func_name, type_functions): argument
111 snippet = "LoadImageFunctionInfo " + func_name + "(GLenum type)\n"
159 func_name = load_functions_name(internal_format, angle_format)
163 table_data += s + ' return ' + func_name + ';\n'
171 load_functions_data += get_load_func(func_name, type_functions)
/third_party/jerryscript/jerry-core/vm/
Dvm-utils.c121 ecma_string_t* func_name = vm_get_function_name_string (context_p); in vm_get_backtrace() local
122 func_name = ecma_concat_ecma_strings (func_name, str_p); in vm_get_backtrace()
124 ecma_fast_array_set_property (array_p, index, ecma_make_string_value (func_name)); in vm_get_backtrace()
126 ecma_deref_ecma_string(func_name); in vm_get_backtrace()
/third_party/boost/boost/test/
Dminimal.hpp86 report_error( const char* msg, const char* file, int line, const_string func_name, bool is_msg = fa… in report_error() argument
96 if( func_name != "(unknown)" ) in report_error()
97 std::cerr << " in function: '" << func_name << "'"; in report_error()
103 report_critical_error( const char* msg, const char* file, int line, const_string func_name, bool is… in report_critical_error() argument
105 report_error( msg, file, line, func_name, is_msg ); in report_critical_error()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dgen_load_functions_table.py111 def get_load_func(func_name, type_functions): argument
112 snippet = "LoadImageFunctionInfo " + func_name + "(GLenum type)\n"
160 func_name = load_functions_name(internal_format, angle_format)
164 table_data += s + ' return ' + func_name + ';\n'
171 load_functions_data += get_load_func(func_name, type_functions)
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c523 static int fconfig_do_make_function(struct gadget_config *cfg, char *func_name) in fconfig_do_make_function() argument
531 instance_name = strchr(func_name, '.'); in fconfig_do_make_function()
534 usb_err("%s: unable to locate . in %s\n", __FUNCTION__, func_name); in fconfig_do_make_function()
549 dev_info = fconfig_find_usbdev_info(func_name); in fconfig_do_make_function()
584 static int fconfig_do_drop_function(struct gadget_config *cfg, char *func_name) in fconfig_do_drop_function() argument
590 instance_name = strchr(func_name, '.'); in fconfig_do_drop_function()
593 usb_err("unable to locate . in %s\n", func_name); in fconfig_do_drop_function()
618 char *func_name = NULL; in fconfig_get_function_info() local
651 func_name = fconfig_get_string(obj, &func_info.func_name); in fconfig_get_function_info()
652 if (func_name == NULL) in fconfig_get_function_info()
[all …]
/third_party/mindspore/tests/ut/cpp/common/
Dpy_func_graph_fetcher.h45 mindspore::FuncGraphPtr CallAndParseRet(std::string func_name, T... args) { in CallAndParseRet() argument
47 …py::function fn = mindspore::parse::python_adapter::CallPyFn(model_path_.c_str(), func_name.c_str(… in CallAndParseRet()
65 mindspore::FuncGraphPtr operator()(std::string func_name, std::string model_path = "") { in operator()
71 py::function fn = mindspore::parse::python_adapter::GetPyFn(path.c_str(), func_name.c_str()); in operator()
/third_party/mesa3d/src/compiler/glsl/
Dast_function.cpp173 is_atomic_function(const char *func_name) in is_atomic_function() argument
175 return !strcmp(func_name, "atomicAdd") || in is_atomic_function()
176 !strcmp(func_name, "atomicMin") || in is_atomic_function()
177 !strcmp(func_name, "atomicMax") || in is_atomic_function()
178 !strcmp(func_name, "atomicAnd") || in is_atomic_function()
179 !strcmp(func_name, "atomicOr") || in is_atomic_function()
180 !strcmp(func_name, "atomicXor") || in is_atomic_function()
181 !strcmp(func_name, "atomicExchange") || in is_atomic_function()
182 !strcmp(func_name, "atomicCompSwap"); in is_atomic_function()
201 is_atomic_image_function(const char *func_name) in is_atomic_image_function() argument
[all …]
/third_party/mindspore/mindspore/lite/src/common/
Ddynamic_library_loader.cc49 void *DynamicLibraryLoader::GetFunc(const std::string &func_name) { in GetFunc() argument
51 return dlsym(handler_, func_name.c_str()); in GetFunc()
53 auto func = GetProcAddress(reinterpret_cast<HINSTANCE__ *>(handler_), func_name.c_str()); in GetFunc()
/third_party/mindspore/mindspore/ccsrc/utils/
Ddlopen_macro.h54 #define DlsymFuncObj(func_name, plugin_handle) DlsymWithCast<func_name##FunPtr>(plugin_handle, k##f… argument
/third_party/libsnd/
Dmake_lite.py29 def find_function_definition (source, func_name): argument
30 func_re = "(\n[a-zA-Z_ \t]+\n%s[^a-zA-Z0-9_].* /\* %s \*/\n)" % (func_name, func_name)
88 def remove_function (source, func_name): argument
89 func_text = find_function_definition (source, func_name)
91 print "remove_function : function '%s' not found. Exiting." % func_name
94 source = string.replace (source, func_text, "/* Function %s() removed here. */\n" % func_name)
/third_party/skia/third_party/externals/tint/src/inspector/
Dtest_inspector_builder.cc162 std::string func_name, in MakeStructVariableReferenceBodyFunction() argument
187 Func(func_name, ast::VariableList(), ty.void_(), stmts, in MakeStructVariableReferenceBodyFunction()
228 const std::string& func_name, in MakeSamplerReferenceBodyFunction() argument
243 return Func(func_name, ast::VariableList(), ty.void_(), stmts, decorations); in MakeSamplerReferenceBodyFunction()
247 const std::string& func_name, in MakeSamplerReferenceBodyFunction() argument
265 return Func(func_name, ast::VariableList(), ty.void_(), stmts, decorations); in MakeSamplerReferenceBodyFunction()
270 const std::string& func_name, in MakeComparisonSamplerReferenceBodyFunction() argument
287 return Func(func_name, ast::VariableList(), ty.void_(), stmts, decorations); in MakeComparisonSamplerReferenceBodyFunction()
340 const std::string& func_name, in MakeStorageTextureBodyFunction() argument
350 return Func(func_name, ast::VariableList(), ty.void_(), stmts, decorations); in MakeStorageTextureBodyFunction()
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Ddlutils.h69 inline Status DLSoOpen(const std::string &dl_path, const std::string &func_name, void **handle, voi… in DLSoOpen() argument
77 *function = dlsym(*handle, func_name.c_str()); in DLSoOpen()
79 return Status(kMEFailed, "Could not find " + func_name + " in " + dl_path); in DLSoOpen()
/third_party/musl/libc-test/src/functionalext/supplement/locale/
Dwcscoll.c21 void wcscoll_test(wchar_t *l, wchar_t *r, char *func_name, int want_result) in wcscoll_test() argument
25 … t_error("%s wcscoll error get result is %d not want result %d\n", func_name, result, want_result); in wcscoll_test()

1234567