/third_party/node/deps/v8/tools/release/ |
H A D | test_scripts.py | 13 # * Neither the name of Google Inc. nor the names of its 101 "name": "command", 112 "name": "readline", 123 "name": "readurl", 139 def Call(self, name, *args, **kwargs): # pragma: no cover 145 raise NoRetryException("Calling %s %s" % (name, " ".join(args))) 149 (name, " ".join(args))) 151 if expected_call["name"] != name: 153 (expected_call["name"], expected_cal [all...] |
/third_party/node/tools/inspector_protocol/ |
H A D | code_generator.py | 133 def to_title_case(name): 134 return name[:1].upper() + name[1:] 145 def to_snake_case(name): 146 return re.sub(r"([a-z0-9])([A-Z])", r"\1_\2", name, sys.maxsize).lower() 149 def to_method_case(config, name): 151 return to_title_case(name) 152 return name 417 if self.generate_command(domain_name, command["name"]): 421 if self.generate_event(domain_name, event["name"]) [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g_common.c | 267 while (poptl->name && strcmp(poptl->name,opt)) in parse_mount_options() 269 if (poptl->name) { in parse_mount_options() 370 poptl->name); in parse_mount_options() 522 case OPT_FSNAME : /* Filesystem name. */ in parse_mount_options() 532 poptl->name); in parse_mount_options() 536 && (ntfs_strappend(&ret, poptl->name) in parse_mount_options() 620 /* Canonicalize device name (mtab, etc) */ in ntfs_parse_options() 717 * When using name spaces, do not return 768 ret += strlen(item->name) 848 char name[sizeof(PLUGIN_DIR) + 64]; global() local [all...] |
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tinjpage.c | 377 static void do_file_clean(int flags, char *name) in do_file_clean() argument 390 testmem(name, page, MREAD_OK); in do_file_clean() 393 testmem(name, page, MWRITE_OK); in do_file_clean() 406 static char *ndesc(char *buf, char *name, char *add) in ndesc() argument 408 snprintf(buf, 100, "%s %s", name, add); in ndesc() 412 static void do_file_dirty(int flags, char *name) in do_file_dirty() argument 422 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty() 431 recover(ndesc(nbuf, name, "populated"), page, MREAD_OK); in do_file_dirty() 438 recover(ndesc(nbuf, name, "fault"), page, MREAD_OK); in do_file_dirty() 842 char *name; member [all...] |
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tinjpage.c | 377 static void do_file_clean(int flags, char *name) in do_file_clean() argument 390 testmem(name, page, MREAD_OK); in do_file_clean() 393 testmem(name, page, MWRITE_OK); in do_file_clean() 406 static char *ndesc(char *buf, char *name, char *add) in ndesc() argument 408 snprintf(buf, 100, "%s %s", name, add); in ndesc() 412 static void do_file_dirty(int flags, char *name) in do_file_dirty() argument 422 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty() 431 recover(ndesc(nbuf, name, "populated"), page, MREAD_OK); in do_file_dirty() 438 recover(ndesc(nbuf, name, "fault"), page, MREAD_OK); in do_file_dirty() 842 char *name; member [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawExplicitVertexParameterTests.cpp | 117 std::ostringstream name; in barycentricVariableString() local 118 name << "gl_BaryCoord"; in barycentricVariableString() 122 name << "Smooth"; in barycentricVariableString() 125 name << "NoPersp"; in barycentricVariableString() 134 name << "Centroid"; in barycentricVariableString() 137 name << "Sample"; in barycentricVariableString() 140 name << ""; in barycentricVariableString() 145 name << "AMD"; in barycentricVariableString() 146 return name.str(); in barycentricVariableString() 168 std::ostringstream name; in getTestName() local 236 DrawTestCase(tcu::TestContext& context, const char* name, const DrawParams data) DrawTestCase() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawExplicitVertexParameterTests.cpp | 117 std::ostringstream name; in barycentricVariableString() local 118 name << "gl_BaryCoord"; in barycentricVariableString() 122 name << "Smooth"; in barycentricVariableString() 125 name << "NoPersp"; in barycentricVariableString() 134 name << "Centroid"; in barycentricVariableString() 137 name << "Sample"; in barycentricVariableString() 140 name << ""; in barycentricVariableString() 145 name << "AMD"; in barycentricVariableString() 146 return name.str(); in barycentricVariableString() 168 std::ostringstream name; in getTestName() local 236 DrawTestCase(tcu::TestContext& context, const char* name, const char* desc, const DrawParams data) DrawTestCase() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ShaderStorageBlockOutputHLSL.cpp | 10 // | the name of the SSBO 11 // | the name of a variable in an SSBO backed interface block 82 // If the block doesn't have an instance name, rowMajorAlreadyAssigned will be false. In in GetBlockLayoutInfo() 128 if (field->name() == variableName) in GetFieldMemberInShaderStorageBlock() 141 if (strcmp(block.name.c_str(), needle->name().data()) == 0) in FindInterfaceBlock() 154 std::string name = nameIn; in StripArrayIndices() local 155 size_t pos = name.find('['); in StripArrayIndices() 158 size_t closePos = name.find(']', pos); in StripArrayIndices() 160 name in StripArrayIndices() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureFormatTests.cpp | 98 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth); 99 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth); 126 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth) in TextureCubeArrayFormatCase() argument 127 : TestCase (testCtx, name, description) in TextureCubeArrayFormatCase() 140 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth) in TextureCubeArrayFormatCase() argument 141 : TestCase (testCtx, name, description) in TextureCubeArrayFormatCase() 277 TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width); 298 TextureBufferFormatCase::TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width) in TextureBufferFormatCase() argument 299 : TestCase (ctx, name, description) in TextureBufferFormatCase() 441 const char* name; in init() member 469 const char* name; init() member 528 const char* name; init() member 563 const char* name; init() member [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglChooseConfigReference.cpp | 67 EGLenum name; member 73 : name (EGL_NONE) in AttribRule() 81 : name (name_) in AttribRule() 371 void setValue (EGLenum name, EGLint value) in setValue() argument 373 DE_ASSERT(de::contains(m_rules, name)); in setValue() 374 m_rules[name].value = value; in setValue() 381 const EGLenum name = values[ndx].first; in setValues() local 384 setValue(name, value); in setValues() 388 AttribRule getAttribute (EGLenum name) const in getAttribute() 390 DE_ASSERT(de::contains(m_rules, name)); in getAttribute() [all...] |
H A D | teglChooseConfigTests.cpp | 113 ChooseConfigCase (EglTestContext& eglTestCtx, const char* name, const char* description, bool checkOrder, const EGLint* attributes) in ChooseConfigCase() argument 114 : TestCase (eglTestCtx, name, description) in ChooseConfigCase() 126 ChooseConfigCase (EglTestContext& eglTestCtx, const char* name, const char* description, bool checkOrder, const std::vector<std::pair<EGLenum, EGLint> >& attributes) in ChooseConfigCase() argument 127 : TestCase (eglTestCtx, name, description) in ChooseConfigCase() 154 ChooseConfigCase (EglTestContext& eglTestCtx, const char* name, const char* description, bool checkOrder) in ChooseConfigCase() argument 155 : TestCase (eglTestCtx, name, description) in ChooseConfigCase() 244 EGLint getValue (EGLenum name) in getValue() argument 248 EGLenum name; in getValue() member 293 if (name == EGL_CONFIG_ID) in getValue() 303 if (attributes[ndx].name in getValue() 312 ChooseConfigSimpleCase(EglTestContext& eglTestCtx, const char* name, const char* description, EGLenum attribute, bool checkOrder) ChooseConfigSimpleCase() argument 343 ChooseConfigRandomCase(EglTestContext& eglTestCtx, const char* name, const char* description, const set<EGLenum>& attribSet) ChooseConfigRandomCase() argument 490 ColorComponentTypeCase(EglTestContext& eglTestCtx, const char* name, EGLenum value) ColorComponentTypeCase() argument [all...] |
/test/testfwk/arkxtest/hamock/src/main/mock/ |
H A D | MockKit.js | 131 let name = ''; 134 name = va1; 137 return name; 157 return this.name || this.toString().match(/function\s*([^(]*)\(/)[1]; 159 let name = originalMethod.getName(); 160 let arglistString = name + '(' + Array.from(args).toString() + ')'; 188 var name = this.findName(originalObject, originalMethod); 189 originalObject[name] = f; 190 this.recordMockedMethod.set(name, originalMethod); 191 f.propName = name; [all...] |
/test/testfwk/xdevice/plugins/devicetest/controllers/tools/ |
H A D | screen_agent.py | 70 return os.path.join(base_path, DeccVariable.cur_case().suite_name, DeccVariable.cur_case().name) 139 def __screen_and_save_picture(cls, _device, name, ext=".png", exe_type="takeImage"): 142 @param name: 保存的图片名称,通过getTakePicturePath方法获取保存全路径 145 path, link = cls.get_image_dir_path(_device, name, ext, exe_type=exe_type) 147 return cls._do_capture(_device, link, path, name, ext) 159 link = os.path.join(DeccVariable.cur_case().name, save_name) 181 def get_image_dir_path(cls, _device, name, ext=".png", exe_type="takeImage"): 194 name = "{}.{}".format(phone_time, name) 195 path, save_name = cls.get_take_picture_path(_device, name, ex [all...] |
/test/xts/dcts/testtools/disjsTest/server/ |
H A D | testApi.js | 127 let name = new disData.FieldNode('name'); 128 name.type = disData.ValueType.INTEGER; 129 name.nullable = false; 130 name.default = '0'; 133 schema.root.appendChild(name); 134 schema.indexes = ['$.name']; 239 name: rdbStoreName, 270 g_object = distributedObject.create(g_context, {name: rename, age: reage, isVis: reisVis}); 276 console.info(logTag + g_object.name [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_report_elf.c | 241 __libdwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, in __libdwfl_report_elf() argument 251 Dwfl_Module *m = INTUSE(dwfl_report_module) (dwfl, name, start, end); in __libdwfl_report_elf() 254 if (m->main.name == NULL) in __libdwfl_report_elf() 256 m->main.name = strdup (file_name); in __libdwfl_report_elf() 260 || strcmp (m->main.name, file_name)) in __libdwfl_report_elf() 290 dwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in dwfl_report_elf() argument 313 Dwfl_Module *mod = __libdwfl_report_elf (dwfl, name, file_name, in dwfl_report_elf() 328 _compat_without_add_p_vaddr_dwfl_report_elf (Dwfl *dwfl, const char *name, 334 _compat_without_add_p_vaddr_dwfl_report_elf (Dwfl *dwfl, const char *name, 338 return dwfl_report_elf (dwfl, name, file_nam [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_threshold.c | 198 ctx->input_pads[0].name, base->w, base->h, in config_output() 199 ctx->input_pads[1].name, threshold->w, threshold->h, in config_output() 200 ctx->input_pads[2].name, min->w, min->h, in config_output() 201 ctx->input_pads[3].name, max->w, max->h); in config_output() 254 .name = "default", 259 .name = "threshold", 263 .name = "min", 267 .name = "max", 274 .name = "default", 281 .name [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | SpirvIntrinsics.cpp | 18 // Neither the name of 3Dlabs Inc. Ltd. nor the names of its 58 TSpirvRequirement* TParseContext::makeSpirvRequirement(const TSourceLoc& loc, const TString& name, in makeSpirvRequirement() argument 64 if (name == "extensions") { in makeSpirvRequirement() 70 } else if (name == "capabilities") { in makeSpirvRequirement() 77 error(loc, "unknown SPIR-V requirement", name.c_str(), ""); in makeSpirvRequirement() 318 TSpirvInstruction* TParseContext::makeSpirvInstruction(const TSourceLoc& loc, const TString& name, const TString& value) in makeSpirvInstruction() argument 321 if (name == "set") in makeSpirvInstruction() 324 error(loc, "unknown SPIR-V instruction qualifier", name.c_str(), ""); in makeSpirvInstruction() 329 TSpirvInstruction* TParseContext::makeSpirvInstruction(const TSourceLoc& loc, const TString& name, int value) in makeSpirvInstruction() argument 332 if (name in makeSpirvInstruction() [all...] |
/third_party/cJSON/ |
H A D | cJSON.h | 134 /* The item's name string, if this item is the child of, or is in the list of subitems of an object. */ 286 CJSON_PUBLIC(cJSON*) cJSON_AddNullToObject(cJSON * const object, const char * const name); 287 CJSON_PUBLIC(cJSON*) cJSON_AddTrueToObject(cJSON * const object, const char * const name); 288 CJSON_PUBLIC(cJSON*) cJSON_AddFalseToObject(cJSON * const object, const char * const name); 289 CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJSON_bool boolean); 291 CJSON_PUBLIC(cJSON*) cJSON_AddInt64NumberToObject(cJSON * const object, const char * const name, const long long integer); 293 CJSON_PUBLIC(cJSON*) cJSON_AddNumberToObject(cJSON * const object, const char * const name, const double number); 294 CJSON_PUBLIC(cJSON*) cJSON_AddStringToObject(cJSON * const object, const char * const name, const char * const string); 295 CJSON_PUBLIC(cJSON*) cJSON_AddRawToObject(cJSON * const object, const char * const name, const char * const raw); 296 CJSON_PUBLIC(cJSON*) cJSON_AddObjectToObject(cJSON * const object, const char * const name); [all...] |
/third_party/libbpf/src/ |
H A D | bpf_helpers.h | 13 #define __uint(name, val) int (*name)[val] 14 #define __type(name, val) typeof(val) *name 15 #define __array(name, val) typeof(val) *name[] 32 #define SEC(name) __attribute__((section(name), used)) 36 #define SEC(name) \ 39 __attribute__((section(name), use [all...] |
/third_party/libdrm/intel/ |
H A D | intel_bufmgr.c | 49 drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc() argument 52 return bufmgr->bo_alloc(bufmgr, name, size, alignment); in drm_intel_bo_alloc() 56 drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc_for_render() argument 59 return bufmgr->bo_alloc_for_render(bufmgr, name, size, alignment); in drm_intel_bo_alloc_for_render() 64 const char *name, void *addr, in drm_intel_bo_alloc_userptr() 71 return bufmgr->bo_alloc_userptr(bufmgr, name, addr, tiling_mode, in drm_intel_bo_alloc_userptr() 77 drm_intel_bo_alloc_tiled(drm_intel_bufmgr *bufmgr, const char *name, in drm_intel_bo_alloc_tiled() argument 81 return bufmgr->bo_alloc_tiled(bufmgr, name, x, y, cpp, in drm_intel_bo_alloc_tiled() 190 drm_intel_bo_flink(drm_intel_bo *bo, uint32_t * name) in drm_intel_bo_flink() argument 193 return bo->bufmgr->bo_flink(bo, name); in drm_intel_bo_flink() 63 drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr, const char *name, void *addr, uint32_t tiling_mode, uint32_t stride, unsigned long size, unsigned long flags) drm_intel_bo_alloc_userptr() argument [all...] |
/third_party/node/lib/internal/process/ |
H A D | pre_execution.js | 230 function addReadOnlyProcessAlias(name, option, enumerable = true) { 233 ObjectDefineProperty(process, name, { 286 function lazyInterface(name) { 291 return lazyUndici()[name]; 294 exposeInterface(globalThis, name, value); 451 for (const name of [ 469 utilBinding[name] = pendingDeprecation ? 470 deprecate(types[name], 473 `Please use \`util.types.${name}\` instead.`, 475 types[name]; [all...] |
/third_party/node/test/fixtures/wpt/resources/webidl2/lib/ |
H A D | writer.js | 50 let ret = it.name; 72 if (it.name) ret += it.escapedName; 90 ret += `interface ${it.name} `; 99 ret += `interface mixin ${it.name} `; 107 ret += `namespace ${it.name} `; 115 ret += `dictionary ${it.name} `; 130 return `${ret}const ${type(it.idlType)}${it.nullable ? "?" : ""} ${it.name} = ${const_value(it.value)};`; 135 return `${ret}${type(it.idlType)} ${it.name};`; 147 return `${ret}callback ${it.name} = ${type(it.idlType)}(${it.arguments.map(argument).join(",")});`; 151 ret += `enum ${it.name} {`; [all...] |
/third_party/node/test/fixtures/wpt/streams/transferable/ |
H A D | transfer-with-messageport.window.js | 3 function receiveEventOnce(target, name) { 6 name, 34 `data.${key} has correct interface ${value.constructor.name} ${title}` 44 `when transferring [${stream.constructor.name}, MessagePort]` 53 `when transferring [MessagePort, ${stream.constructor.name}]` 62 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort]` 71 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with empty data` 80 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with data having different order` 89 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with stream not being in the data` 98 `when transferring [MessagePort, ${stream.constructor.name}, MessagePor [all...] |
/third_party/node/tools/ |
H A D | install.py | 83 def package_files(action, name, bins): 84 target_path = 'lib/node_modules/' + name + '/' 92 root = 'deps/' + name 104 try_symlink('../lib/node_modules/' + name + '/' + bin_target, link_path) 259 files_arg = [name for name in files_arg if name in v8_headers] 265 files_arg = [name for name in files_arg if name i [all...] |
/third_party/lwip/src/api/ |
H A D | netdb.c | 3 * API functions for name resolving 18 * 3. The name of the author may not be used to endorse or promote products 79 * for the host with name name. 82 * @param name the hostname to resolve 84 * for the host with name name 87 lwip_gethostbyname(const char *name) in lwip_gethostbyname() argument 100 err = netconn_gethostbyname(name, &addr); in lwip_gethostbyname() 102 LWIP_DEBUGF(DNS_DEBUG, ("lwip_gethostbyname(%s) failed, err=%d\n", name, er in lwip_gethostbyname() 161 lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf, size_t buflen, struct hostent **result, int *h_errnop) lwip_gethostbyname_r() argument [all...] |