Home
last modified time | relevance | path

Searched refs:name_string (Results 1 – 24 of 24) sorted by relevance

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-module-canonical.c29 JERRY_VLA (jerry_char_t, name_string, name_size + 1); in get_canonical_name()
30 jerry_string_to_char_buffer (name, name_string, name_size); in get_canonical_name()
31 name_string[name_size] = 0; in get_canonical_name()
33 if (!strcmp ((char *) name_string, ACTUAL_NAME)) in get_canonical_name()
37 else if (!strcmp ((char *) name_string, ALIAS_NAME)) in get_canonical_name()
51 JERRY_VLA (jerry_char_t, name_string, name_size + 1); in resolve()
52 jerry_string_to_char_buffer (canonical_name, name_string, name_size); in resolve()
53 name_string[name_size] = 0; in resolve()
55 if (!strcmp ((char *) name_string, ACTUAL_NAME)) in resolve()
/third_party/jerryscript/jerry-ext/module/
Dmodule.c186 jerry_char_t* name_string; in jerryx_resolve_native_module() local
191 name_string = (jerry_char_t*) jerry_vla_malloc (sizeof(jerry_char_t) * name_size); in jerryx_resolve_native_module()
192 if (!name_string) in jerryx_resolve_native_module()
198 JERRY_VLA (jerry_char_t, name_string, name_size); in jerryx_resolve_native_module()
200 jerry_string_to_utf8_char_buffer (canonical_name, name_string, name_size); in jerryx_resolve_native_module()
207 && !strncmp ((char *) module_p->name_p, (char *) name_string, name_size)) in jerryx_resolve_native_module()
215 jerry_vla_free ((char*)name_string); in jerryx_resolve_native_module()
221 jerry_vla_free ((char*)name_string); in jerryx_resolve_native_module()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c89 JERRY_VLA (jerry_char_t, name_string, name_size); in resolve_differently_handled_module()
90 jerry_string_to_utf8_char_buffer (name, name_string, name_size); in resolve_differently_handled_module()
92 if (!strncmp ((char *) name_string, "differently-handled-module", name_size)) in resolve_differently_handled_module()
116 JERRY_VLA (jerry_char_t, name_string, name_size); in cache_check()
117 jerry_string_to_utf8_char_buffer (name, name_string, name_size); in cache_check()
119 if (!strncmp ((char *) name_string, "cache-check", name_size)) in cache_check()
/third_party/node/src/
Denv-inl.h1065 v8::Local<v8::String> name_string = in SetMethod() local
1067 that->Set(context, name_string, function).Check(); in SetMethod()
1068 function->SetName(name_string); // NODE_SET_METHOD() compatibility. in SetMethod()
1083 v8::Local<v8::String> name_string = in SetMethodNoSideEffect() local
1085 that->Set(context, name_string, function).Check(); in SetMethodNoSideEffect()
1086 function->SetName(name_string); // NODE_SET_METHOD() compatibility. in SetMethodNoSideEffect()
1098 v8::Local<v8::String> name_string = in SetProtoMethod() local
1100 that->PrototypeTemplate()->Set(name_string, t); in SetProtoMethod()
1101 t->SetClassName(name_string); // NODE_SET_PROTOTYPE_METHOD() compatibility. in SetProtoMethod()
1114 v8::Local<v8::String> name_string = in SetProtoMethodNoSideEffect() local
[all …]
Dheap_utils.cc97 Local<String> name_string = env->name_string(); in CreateObject() local
123 obj->Set(context, name_string, value).IsNothing() || in CreateObject()
177 if (edge_obj->Set(context, name_string, edge_name_value).IsNothing() || in CreateObject()
Dinspector_js_api.cc323 auto name_string = FIXED_ONE_BYTE_STRING(env->isolate(), "consoleCall"); in Initialize() local
324 target->Set(context, name_string, consoleCallFunc).Check(); in Initialize()
325 consoleCallFunc->SetName(name_string); in Initialize()
Dnode_errors.cc368 name = err_obj->Get(env->context(), env->name_string()); in ReportFatalException()
379 node::Utf8Value name_string(env->isolate(), name.ToLocalChecked()); in ReportFatalException() local
383 FPrintF(stderr, "%s: %s\n", name_string, message_string); in ReportFatalException()
387 "%s\n%s: %s\n", arrow_string, name_string, message_string); in ReportFatalException()
Dnode_crypto_common.cc1108 env->name_string(), in GetClientHelloCiphers()
1133 env->name_string(), in GetCipherInfo()
1191 env->name_string(), in GetEphemeralKey()
Djs_native_api_v8.cc793 v8::Local<v8::String> name_string; in napi_create_function() local
794 CHECK_NEW_FROM_UTF8_LEN(env, name_string, utf8name, length); in napi_create_function()
795 return_value->SetName(name_string); in napi_create_function()
826 v8::Local<v8::String> name_string; in napi_define_class() local
827 CHECK_NEW_FROM_UTF8_LEN(env, name_string, utf8name, length); in napi_define_class()
828 tpl->SetClassName(name_string); in napi_define_class()
Dnode_perf.cc61 env->name_string(), in InitObject()
Denv.h295 V(name_string, "name") \
Dcares_wrap.cc436 env->name_string(), in ParseSrvReply()
DREADME.md328 string “name” can be accessed through `env->name_string()` without actually
/third_party/node/tools/gyp/pylib/gyp/
Dflock_tool.py32 def _CommandifyName(self, name_string): argument
34 return name_string.title().replace("-", "")
Dwin_tool.py77 def _CommandifyName(self, name_string): argument
79 return name_string.title().replace("-", "")
Dmac_tool.py48 def _CommandifyName(self, name_string): argument
50 return name_string.title().replace("-", "")
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dflock_tool.py31 def _CommandifyName(self, name_string): argument
33 return name_string.title().replace('-', '')
Dwin_tool.py75 def _CommandifyName(self, name_string): argument
77 return name_string.title().replace('-', '')
Dmac_tool.py48 def _CommandifyName(self, name_string): argument
50 return name_string.title().replace('-', '')
/third_party/jerryscript/docs/
D12.EXT-REFERENCE-MODULE.md168 jerry_char_t name_string[name_size + 1];
169 jerry_string_to_utf8_char_buffer (name, name_string, name_size);
170 name_string[name_size] = 0;
172 FILE *js_file = fopen (name_string, "r");
/third_party/python/Lib/unittest/
Dmock.py706 name_string = ''
708 name_string = ' name=%r' % name
718 name_string,
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc1874 auto name_string = std::string(name); in TryFindFileInFallbackDatabase() local
1875 if (tables_->known_bad_files_.count(name_string) > 0) return false; in TryFindFileInFallbackDatabase()
1878 if (!fallback_database_->FindFileByName(name_string, &file_proto) || in TryFindFileInFallbackDatabase()
1880 tables_->known_bad_files_.insert(std::move(name_string)); in TryFindFileInFallbackDatabase()
1912 auto name_string = std::string(name); in TryFindSymbolInFallbackDatabase() local
1913 if (tables_->known_bad_symbols_.count(name_string) > 0) return false; in TryFindSymbolInFallbackDatabase()
1935 || !fallback_database_->FindFileContainingSymbol(name_string, &file_proto) in TryFindSymbolInFallbackDatabase()
1944 tables_->known_bad_symbols_.insert(std::move(name_string)); in TryFindSymbolInFallbackDatabase()
/third_party/cups-filters/utils/
Dcups-browsed.c5367 char *name_string; in get_cups_default_printer() local
5405 name_string = strdup(default_printer_name); in get_cups_default_printer()
5407 name_string = NULL; in get_cups_default_printer()
5412 return name_string; in get_cups_default_printer()
/third_party/python/Modules/
Dposixmodule.c10957 const char *name_string = PyBytes_AS_STRING(name); in os_putenv_impl() local
10960 if (strchr(name_string, '=') != NULL) { in os_putenv_impl()
10969 if (setenv(name_string, value_string, 1)) { in os_putenv_impl()