Home
last modified time | relevance | path

Searched refs:resource_name (Results 1 – 25 of 64) sorted by relevance

123

/third_party/node/deps/postject/
Dpostject-api.h171 char* resource_name = NULL; in postject_find_resource() local
177 resource_name = (char*)malloc(strlen(name) + 1); in postject_find_resource()
178 if (resource_name == NULL) { in postject_find_resource()
181 strcpy_s(resource_name, strlen(name) + 1, name); in postject_find_resource()
182 CharUpperA(resource_name); // Uppercases inplace in postject_find_resource()
186 FindResourceA(NULL, resource_name != NULL ? resource_name : name, in postject_find_resource()
201 free(resource_name); in postject_find_resource()
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/
Dpostject-api.h171 char* resource_name = NULL; in postject_find_resource() local
177 resource_name = (char*)malloc(strlen(name) + 1); in postject_find_resource()
178 if (resource_name == NULL) { in postject_find_resource()
181 strcpy_s(resource_name, strlen(name) + 1, name); in postject_find_resource()
182 CharUpperA(resource_name); // Uppercases inplace in postject_find_resource()
186 FindResourceA(NULL, resource_name != NULL ? resource_name : name, in postject_find_resource()
201 free(resource_name); in postject_find_resource()
/third_party/cef/tests/shared/browser/
Dresource_util_posix.cc39 bool LoadBinaryResource(const char* resource_name, std::string& resource_data) { in LoadBinaryResource() argument
45 path.append(resource_name); in LoadBinaryResource()
50 CefRefPtr<CefStreamReader> GetBinaryResourceReader(const char* resource_name) { in GetBinaryResourceReader() argument
56 path.append(resource_name); in GetBinaryResourceReader()
Dresource_util_win.cc84 extern int GetResourceId(const char* resource_name);
86 bool LoadBinaryResource(const char* resource_name, std::string& resource_data) { in LoadBinaryResource() argument
87 int resource_id = GetResourceId(resource_name); in LoadBinaryResource()
103 CefRefPtr<CefStreamReader> GetBinaryResourceReader(const char* resource_name) { in GetBinaryResourceReader() argument
104 int resource_id = GetResourceId(resource_name); in GetBinaryResourceReader()
Dresource_util.h25 bool LoadBinaryResource(const char* resource_name, std::string& resource_data);
28 CefRefPtr<CefStreamReader> GetBinaryResourceReader(const char* resource_name);
/third_party/skia/modules/skresources/src/
DSkResources.cpp187 const char resource_name[]) const { in load()
189 full_path = SkOSPath::Join(full_dir.c_str(), resource_name); in load()
194 const char resource_name[], in loadImageAsset() argument
196 auto data = this->load(resource_path, resource_name); in loadImageAsset()
215 const char resource_name[]) const { in load()
216 return fProxy ? fProxy->load(resource_path, resource_name) in load()
249 const char resource_name[], in loadImageAsset() argument
258 auto asset = this->INHERITED::loadImageAsset(resource_path, resource_name, resource_id); in loadImageAsset()
/third_party/node/test/node-api/test_instance_data/
Dtest_instance_data.c63 napi_value resource_name; in AsyncWorkCallback() local
68 env, "AsyncIncrement", NAPI_AUTO_LENGTH, &resource_name)); in AsyncWorkCallback()
71 env, NULL, resource_name, AsyncWorkCbExecute, AsyncWorkCbComplete, in AsyncWorkCallback()
148 napi_value argv[2], resource_name; in TestThreadsafeFunction() local
161 env, "TSFN instance data test", NAPI_AUTO_LENGTH, &resource_name)); in TestThreadsafeFunction()
164 env, NULL, NULL, resource_name, 0, 1, NULL, in TestThreadsafeFunction()
/third_party/node/test/node-api/test_async/
Dtest_async.c64 napi_value resource_name; in Test() local
89 env, "TestResource", NAPI_AUTO_LENGTH, &resource_name)); in Test()
90 NODE_API_CALL(env, napi_create_async_work(env, argv[1], resource_name, in Test()
131 napi_value resource_name; in TestCancel() local
135 env, "TestResource", NAPI_AUTO_LENGTH, &resource_name)); in TestCancel()
140 NODE_API_CALL(env, napi_create_async_work(env, NULL, resource_name, in TestCancel()
152 NODE_API_CALL(env, napi_create_async_work(env, NULL, resource_name, in TestCancel()
/third_party/libcoap/include/coap3/
Dcoap_subscribe.h124 coap_str_const_t *resource_name,
142 coap_str_const_t *resource_name,
161 coap_str_const_t *resource_name,
/third_party/node/test/node-api/test_make_callback/
Dbinding.c30 napi_value resource_name; in MakeCallback() local
32 env, "test", NAPI_AUTO_LENGTH, &resource_name)); in MakeCallback()
35 NODE_API_CALL(env, napi_async_init(env, resource, resource_name, &context)); in MakeCallback()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-resource-name.c38 …jerry_value_t resource_name = jerry_get_resource_name (args_cnt > 0 ? args_p[0] : undefined_value); in jerryx_handler_resource_name() local
41 return resource_name; in jerryx_handler_resource_name()
/third_party/cef/tests/ceftests/
Dresource_util_win_idmap.cc11 int GetResourceId(const char* resource_name) { in GetResourceId() argument
25 if (!strcmp(resource_map[i].name, resource_name)) in GetResourceId()
/third_party/skia/tools/viewer/
DParticlesSlide.cpp33 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override { in load()
34 auto it = fResources.find(resource_name); in load()
38 return GetResourceAsData(SkOSPath::Join(resource_path, resource_name).c_str()); in load()
43 const char resource_name[], in loadImageAsset() argument
45 auto data = this->load(resource_path, resource_name); in loadImageAsset()
49 void addPath(const char resource_name[], const SkPath& path) { in addPath() argument
50 fResources[resource_name] = path.serialize(); in addPath()
/third_party/cef/tests/cefclient/browser/
Dresource_util_win_idmap.cc11 int GetResourceId(const char* resource_name) { in GetResourceId() argument
52 if (!strcmp(resource_map[i].name, resource_name)) in GetResourceId()
/third_party/node/test/node-api/test_callback_scope/
Dbinding.c60 napi_value resource_name; in Callback() local
62 env, "test", NAPI_AUTO_LENGTH, &resource_name)); in Callback()
65 napi_async_init(env, NULL, resource_name, &context)); in Callback()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderProgramInterfaces.cpp512 const char* resource_name = (n_iteration == 0) ? tc_resource_name : te_resource_name; in iterate() local
514 if (resource_name == DE_NULL) in iterate()
530 glw::GLuint resource_index = gl.getProgramResourceIndex(m_po_id, interface, resource_name); in iterate()
535 m_testCtx.getLog() << tcu::TestLog::Message << "Resource [" << resource_name in iterate()
/third_party/node/deps/v8/src/profiler/
Dprofile-generator-inl.h16 const char* resource_name, int line_number, in CodeEntry() argument
25 resource_name_(resource_name), in CodeEntry()
/third_party/node/test/node-api/test_async_context/
Dbinding.c69 napi_value resource_name; in CreateAsyncResource() local
71 env, "test_async", NAPI_AUTO_LENGTH, &resource_name)); in CreateAsyncResource()
74 NODE_API_CALL(env, napi_async_init(env, resource, resource_name, &context)); in CreateAsyncResource()
/third_party/libcoap/src/
Dcoap_subscribe.c695 coap_str_const_t *resource_name, in coap_op_obs_cnt_track_observe() argument
729 if (!coap_binary_equal(resource_name, &resource_key)) { in coap_op_obs_cnt_track_observe()
734 if (fprintf(fp_new, "%s %u\n", resource_name->s, n_observe_num) < 0) in coap_op_obs_cnt_track_observe()
763 coap_str_const_t *resource_name) { in coap_op_obs_cnt_deleted() argument
795 if (!coap_binary_equal(resource_name, &resource_key)) { in coap_op_obs_cnt_deleted()
971 coap_str_const_t *resource_name, in coap_op_dyn_resource_added() argument
1003 if (!coap_string_equal(resource_name, name)) { in coap_op_dyn_resource_added()
1018 resource_name, packet)) in coap_op_dyn_resource_added()
1047 coap_str_const_t *resource_name, in coap_op_resource_deleted() argument
1057 coap_op_obs_cnt_deleted(context, resource_name); in coap_op_resource_deleted()
[all …]
/third_party/skia/src/pdf/
DSkPDFResourceDict.cpp45 static const char* resource_name(SkPDFResourceType type) { in resource_name() function
70 dst->insertObject(resource_name(type), std::move(resources)); in add_subdict()
/third_party/jerryscript/tests/unit-core/
Dtest-resource-name.cpp33 …jerry_value_t resource_name = jerry_get_resource_name (args_count > 0 ? args_p[0] : undefined_valu… in resource_name_handler() local
36 return resource_name; in resource_name_handler()
/third_party/python/Lib/zoneinfo/
D_common.py9 resource_name = components[-1]
12 return importlib.resources.open_binary(package_name, resource_name)
/third_party/node/deps/v8/include/
Dv8-message.h64 V8_INLINE ScriptOrigin(Isolate* isolate, Local<Value> resource_name,
74 resource_name_(resource_name), in isolate_()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetPfmCounters.td20 class PfmIssueCounter<string resource_name, string counter>
26 string ResourceName = resource_name;
/third_party/python/Lib/test/support/
Dsocket_helper.py190 def transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()): argument
217 denied = support.ResourceDenied("Resource %r is not available" % resource_name)

123