/kernel/linux/linux-5.10/fs/erofs/ |
H A D | namei.c | 12 const unsigned char *name; member 25 * otherwise, it will return 1 to just skip the invalid name in erofs_dirnamecmp() 28 DBG_BUGON(qd->name > qd->end); in erofs_dirnamecmp() 32 while (qd->name + i < qd->end && qd->name[i] != '\0') { in erofs_dirnamecmp() 33 if (qn->name[i] != qd->name[i]) { in erofs_dirnamecmp() 35 return qn->name[i] > qd->name[i] ? 1 : -1; in erofs_dirnamecmp() 41 return qn->name[ in erofs_dirnamecmp() 46 find_target_dirent(struct erofs_qstr *name, u8 *data, unsigned int dirblksize, const int ndirents) find_target_dirent() argument 90 find_target_block_classic(struct inode *dir, struct erofs_qstr *name, int *_ndirents) find_target_block_classic() argument 168 erofs_namei(struct inode *dir, struct qstr *name, erofs_nid_t *nid, unsigned int *d_type) erofs_namei() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/entry/vdso/ |
H A D | vdso2c.c | 89 const char *name; member 151 #define BITSFUNC3(name, bits, suffix) name##bits##suffix 152 #define BITSFUNC2(name, bits, suffix) BITSFUNC3(name, bits, suffix) 153 #define BITSFUNC(name) BITSFUNC2(name, ELF_BITS, ) 171 FILE *outfile, const char *name) in go() 177 outfile, name); in go() 180 outfile, name); in go() 169 go(void *raw_addr, size_t raw_len, void *stripped_addr, size_t stripped_len, FILE *outfile, const char *name) go() argument 186 map_input(const char *name, void **addr, size_t *len, int prot) map_input() argument 211 char *name, *tmp; main() local [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 18 static bool is_ignored_symbol(const char *name, char type) in is_ignored_symbol() argument 78 if (!strcmp(name, *p)) in is_ignored_symbol() 82 if (!strncmp(name, *p, strlen(*p))) in is_ignored_symbol() 86 int l = strlen(name) - strlen(*p); in is_ignored_symbol() 88 if (l >= 0 && !strcmp(name + l, *p)) in is_ignored_symbol() 93 if (strstr(name, *p)) in is_ignored_symbol() 105 if (strcmp(name, "__kernel_syscall_via_break") && in is_ignored_symbol() 106 strcmp(name, "__kernel_syscall_via_epc") && in is_ignored_symbol() 107 strcmp(name, "__kernel_sigtramp") && in is_ignored_symbol() 108 strcmp(name, "__g in is_ignored_symbol() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | pfm.c | 127 static bool is_libpfm_event_supported(const char *name, struct perf_cpu_map *cpus, in is_libpfm_event_supported() argument 136 ret = pfm_get_perf_event_encoding(name, PFM_PLM0|PFM_PLM3, in is_libpfm_event_supported() 142 evsel = parse_events__add_event(0, &attr, name, /*metric_id=*/NULL, pmu); in is_libpfm_event_supported() 179 char topic[80], name[80]; in print_libpfm_event() local 184 snprintf(topic, sizeof(topic), "pfm %s", pinfo->name); in print_libpfm_event() 186 snprintf(name, sizeof(name), "%s::%s", pinfo->name, info->name); in print_libpfm_event() 207 ainfo.name, ainf in print_libpfm_event() [all...] |
/third_party/node/lib/internal/crypto/ |
H A D | rsa.js | 64 function verifyAcceptableRsaKeyUse(name, isPublic, usages) { 66 switch (name) { 81 `Unsupported key usage for an ${name} key`, 103 normalizeHashName(key.algorithm.hash.name), 113 name, 128 switch (name) { 151 { name: 'OperationError', cause: err }); 155 name, 158 hash: { name: hash.name }, [all...] |
/third_party/node/test/fixtures/wpt/user-timing/ |
H A D | measure-with-dict.any.js | 16 [{ entryType: "measure", name: "measure1", detail: null, startTime: 0 }, 17 { entryType: "measure", name: "measure2", detail: null, startTime: 0 }, 18 { entryType: "measure", name: "measure3", detail: null, startTime: 0 }, 19 { entryType: "measure", name: "measure4", detail: null }, 20 { entryType: "measure", name: "measure5", detail: null, startTime: 0 }, 21 { entryType: "measure", name: "measure6", detail: null, startTime: timeStamp1 }, 22 { entryType: "measure", name: "measure7", detail: null, startTime: timeStamp1, duration: timeStamp2 - timeStamp1 }, 23 { entryType: "measure", name: "measure8", detail: null, startTime: 0 }, 24 { entryType: "measure", name: "measure9", detail: null, startTime: 0 }, 25 { entryType: "measure", name [all...] |
/third_party/node/deps/npm/lib/commands/ |
H A D | owner.js | 20 static name = 'owner' 56 const { name } = await readJson(npm.prefix) 57 if (!name) { 61 const spec = npa(name) 67 return data.maintainers.map(m => m.name) 96 for (const [name] of this.workspaces) { 98 await this.ls(name) 100 await this.changeOwners(args[0], name, 'add') 102 await this.changeOwners(args[0], name, 'rm') 119 this.npm.output(maintainers.map(m => `${m.name} < [all...] |
/third_party/ltp/testcases/kernel/syscalls/nftw/ |
H A D | lib64.c | 98 execute_function(char *name, int (*callback) (const char *), char *buffer, in execute_function() argument 105 fprintf(temp, "TEST: %s fails with ENAMETOOLONG\n", name); in execute_function() 113 tst_resm(TFAIL, "%s callback did not work correctly", name); in execute_function() 120 name, expected, result); in execute_function() 125 tst_resm(TFAIL, "%s failed: errno should be %i but is %i", name, in execute_function() 133 test_long_file_name(char *name, int (*callback) (const char *), int expected) in test_long_file_name() argument 149 execute_function(name, callback, buffer, expected); in test_long_file_name() 154 test_long_component_name(char *name, int (*callback) (const char *), in test_long_component_name() argument 171 execute_function(name, callback, buffer, expected); in test_long_component_name() 176 test_ENAMETOOLONG_path(char *name, in argument 239 test_ENAMETOOLONG_name(char *name, int (*callback) (const char *), int expected) test_ENAMETOOLONG_name() argument 245 test_ENOENT_empty(char *name, int (*callback) (const char *), int expected) test_ENOENT_empty() argument 275 test_ENOTDIR(char *name, int (*callback) (const char *), int expected) test_ENOTDIR() argument 327 test_ENOENT_nofile(char *name, int (*callback) (const char *), int expected) test_ENOENT_nofile() argument [all...] |
H A D | lib.c | 98 execute_function(char *name, int (*callback) (const char *), char *buffer, in execute_function() argument 105 fprintf(temp, "TEST: %s fails with ENAMETOOLONG\n", name); in execute_function() 113 tst_resm(TFAIL, "%s callback did not work correctly", name); in execute_function() 120 name, expected, result); in execute_function() 125 tst_resm(TFAIL, "%s failed: errno should be %i but is %i", name, in execute_function() 133 test_long_file_name(char *name, int (*callback) (const char *), int expected) in test_long_file_name() argument 149 execute_function(name, callback, buffer, expected); in test_long_file_name() 154 test_long_component_name(char *name, int (*callback) (const char *), in test_long_component_name() argument 171 execute_function(name, callback, buffer, expected); in test_long_component_name() 176 test_ENAMETOOLONG_path(char *name, in argument 239 test_ENAMETOOLONG_name(char *name, int (*callback) (const char *), int expected) test_ENAMETOOLONG_name() argument 245 test_ENOENT_empty(char *name, int (*callback) (const char *), int expected) test_ENOENT_empty() argument 275 test_ENOTDIR(char *name, int (*callback) (const char *), int expected) test_ENOTDIR() argument 327 test_ENOENT_nofile(char *name, int (*callback) (const char *), int expected) test_ENOENT_nofile() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | names.c | 38 const char *name; in EVP_add_digest() local 40 name = OBJ_nid2sn(md->type); in EVP_add_digest() 41 r = OBJ_NAME_add(name, OBJ_NAME_TYPE_MD_METH, (const char *)md); in EVP_add_digest() 51 OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, name); in EVP_add_digest() 55 OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, name); in EVP_add_digest() 60 static void cipher_from_name(const char *name, void *data) in cipher_from_name() argument 67 *cipher = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in cipher_from_name() 70 const EVP_CIPHER *EVP_get_cipherbyname(const char *name) in EVP_get_cipherbyname() argument 72 return evp_get_cipherbyname_ex(NULL, name); in EVP_get_cipherbyname() 76 const char *name) in evp_get_cipherbyname_ex() 75 evp_get_cipherbyname_ex(OSSL_LIB_CTX *libctx, const char *name) evp_get_cipherbyname_ex() argument 107 digest_from_name(const char *name, void *data) digest_from_name() argument 117 EVP_get_digestbyname(const char *name) EVP_get_digestbyname() argument 122 evp_get_digestbyname_ex(OSSL_LIB_CTX *libctx, const char *name) evp_get_digestbyname_ex() argument [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | stdin-util.c | 103 pa_xfree(m->items[i].name); in unload_one_module() 105 m->items[i].name = m->items[i].args = NULL; in unload_one_module() 122 const char *name, in load_module() 130 pa_assert(name); in load_module() 137 pa_streq(m->items[i].name, name) && in load_module() 144 pa_log_debug("Loading module '%s' with args '%s' due to GConf/GSettings configuration.", name, args); in load_module() 146 m->items[i].name = pa_xstrdup(name); in load_module() 150 if (pa_module_load(&mod, u->core, name, arg in load_module() 119 load_module( struct pa_module_info *m, unsigned i, const char *name, const char *args, bool is_new) load_module() argument 186 char *name; handle_event() local 241 char *name; handle_event() local [all...] |
/third_party/python/Lib/ |
H A D | hashlib.py | 7 new(name, data=b'', **kwargs) - returns a new hash object implementing the 12 than using new(name): 82 def __get_builtin_constructor(name): 84 constructor = cache.get(name) 88 if name in {'SHA1', 'sha1'}: 91 elif name in {'MD5', 'md5'}: 94 elif name in {'SHA256', 'sha256', 'SHA224', 'sha224'}: 98 elif name in {'SHA512', 'sha512', 'SHA384', 'sha384'}: 102 elif name in {'blake2b', 'blake2s'}: 106 elif name i [all...] |
/third_party/openssl/crypto/evp/ |
H A D | names.c | 38 const char *name; in EVP_add_digest() local 40 name = OBJ_nid2sn(md->type); in EVP_add_digest() 41 r = OBJ_NAME_add(name, OBJ_NAME_TYPE_MD_METH, (const char *)md); in EVP_add_digest() 51 OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, name); in EVP_add_digest() 55 OBJ_NAME_TYPE_MD_METH | OBJ_NAME_ALIAS, name); in EVP_add_digest() 60 static void cipher_from_name(const char *name, void *data) in cipher_from_name() argument 67 *cipher = (const EVP_CIPHER *)OBJ_NAME_get(name, OBJ_NAME_TYPE_CIPHER_METH); in cipher_from_name() 70 const EVP_CIPHER *EVP_get_cipherbyname(const char *name) in EVP_get_cipherbyname() argument 72 return evp_get_cipherbyname_ex(NULL, name); in EVP_get_cipherbyname() 76 const char *name) in evp_get_cipherbyname_ex() 75 evp_get_cipherbyname_ex(OSSL_LIB_CTX *libctx, const char *name) evp_get_cipherbyname_ex() argument 107 digest_from_name(const char *name, void *data) digest_from_name() argument 117 EVP_get_digestbyname(const char *name) EVP_get_digestbyname() argument 122 evp_get_digestbyname_ex(OSSL_LIB_CTX *libctx, const char *name) evp_get_digestbyname_ex() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | StaticType.h | 25 // Generation and static allocation of type mangled name values. 28 // Size of the constexpr-generated mangled name. 37 char name[kStaticMangledNameLength + 1] = {}; member 40 // Generates a mangled name for a TType given its parameters. 47 StaticMangledName name = {}; in BuildStaticMangledName() local 48 name.name[0] = TType::GetSizeMangledName(primarySize, secondarySize); in BuildStaticMangledName() 51 static_assert(TBasicMangledName::mangledNameSize == 2, "Mangled name size is not 2"); in BuildStaticMangledName() 52 name.name[ in BuildStaticMangledName() 63 char name[kStaticArrayMangledNameLength + 1] = {}; global() member [all...] |
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | command_parser.h | 66 Result ParseBlendFactorNameForTesting(const std::string& name, in ParseBlendFactorNameForTesting() argument 68 return ParseBlendFactorName(name, factor); in ParseBlendFactorNameForTesting() 70 Result ParseBlendOpNameForTesting(const std::string& name, BlendOp* op) { in ParseBlendOpNameForTesting() argument 71 return ParseBlendOpName(name, op); in ParseBlendOpNameForTesting() 73 Result ParseCompareOpNameForTesting(const std::string& name, CompareOp* op) { in ParseCompareOpNameForTesting() argument 74 return ParseCompareOpName(name, op); in ParseCompareOpNameForTesting() 76 Result ParseStencilOpNameForTesting(const std::string& name, StencilOp* op) { in ParseStencilOpNameForTesting() argument 77 return ParseStencilOpName(name, op); in ParseStencilOpNameForTesting() 79 Result ParseComparatorForTesting(const std::string& name, in ParseComparatorForTesting() argument 81 return ParseComparator(name, o in ParseComparatorForTesting() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-unicode.cc | 212 #define HB_UNICODE_FUNC_IMPLEMENT(name) hb_unicode_##name##_nil, 264 #define HB_UNICODE_FUNC_IMPLEMENT(name) \ in hb_unicode_funcs_destroy() 265 if (ufuncs->destroy.name) ufuncs->destroy.name (ufuncs->user_data.name); in hb_unicode_funcs_destroy() 371 #define HB_UNICODE_FUNC_IMPLEMENT(name) \ 374 hb_unicode_funcs_set_##name##_func (hb_unicode_funcs_t *ufuncs, \ 375 hb_unicode_##name##_func_t func, \ 382 if (ufuncs->destroy.name) \ [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_grid_item.h | 36 #define ACE_DEFINE_SET_COMPONENT_SIZE(name) \ 37 static void SetComponent##name(const JSCallbackInfo& info) {} 39 #define ACE_DEFINE_SET_COMPONENT_SIZE(name) \ 40 static void SetComponent##name(const JSCallbackInfo& info) \ 42 CalcDimension item##name; \ 43 if (!ParseJsDimensionVp(info[0], item##name)) { \ 49 gridItem->SetGridItem##name(item##name); \ 54 #define ACE_DEFINE_SET_GRID_ITEM_SIZE(name) \ 55 static void SetGridItem##name(cons [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.h | 32 * - Neither the name of Intel Corporation nor the names of its 52 #define DEBUGFS_SEQ_FILE_OPS(name) \ 53 static const struct seq_operations _##name##_seq_ops = { \ 54 .start = _##name##_seq_start, \ 55 .next = _##name##_seq_next, \ 56 .stop = _##name##_seq_stop, \ 57 .show = _##name##_seq_show \ 60 #define DEBUGFS_SEQ_FILE_OPEN(name) \ 61 static int _##name##_open(struct inode *inode, struct file *s) \ 65 ret = seq_open(s, &_##name##_seq_op [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | debugfs.h | 11 #define DEBUGFS_SEQ_FILE_OPS(name) \ 12 static const struct seq_operations _##name##_seq_ops = { \ 13 .start = _##name##_seq_start, \ 14 .next = _##name##_seq_next, \ 15 .stop = _##name##_seq_stop, \ 16 .show = _##name##_seq_show \ 19 #define DEBUGFS_SEQ_FILE_OPEN(name) \ 20 static int _##name##_open(struct inode *inode, struct file *s) \ 24 ret = seq_open(s, &_##name##_seq_ops); \ 32 #define DEBUGFS_FILE_OPS(name) \ [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucnv_imp.h | 33 * Fast check for whether a charset name is "UTF-8". 36 * @param name const char * charset name 39 #define UCNV_FAST_IS_UTF8(name) \ 40 (((name[0]=='U' ? \ 41 ( name[1]=='T' && name[2]=='F') : \ 42 (name[0]=='u' && name[1]=='t' && name[ [all...] |
/third_party/mesa3d/src/compiler/glsl/tests/ |
H A D | general_ir_test.cpp | 61 static const char name[] = "named_instance"; in TEST_F() local 64 new(mem_ctx) ir_variable(iface, name, ir_var_uniform); in TEST_F() 66 EXPECT_STREQ(name, v->name); in TEST_F() 67 EXPECT_NE(name, v->name); in TEST_F() 92 static const char name[] = "array_instance"; in TEST_F() local 95 new(mem_ctx) ir_variable(interface_array, name, ir_var_uniform); in TEST_F() 97 EXPECT_STREQ(name, v->name); in TEST_F() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv_imp.h | 33 * Fast check for whether a charset name is "UTF-8". 36 * @param name const char * charset name 39 #define UCNV_FAST_IS_UTF8(name) \ 40 (((name[0]=='U' ? \ 41 ( name[1]=='T' && name[2]=='F') : \ 42 (name[0]=='u' && name[1]=='t' && name[ [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcTestCase.hpp | 37 TestCaseGroup(Context& context, const char* name, const char* description); 38 TestCaseGroup(Context& context, const char* name, const char* description, const std::vector<TestNode*>& children); 56 TestCase(Context& context, const char* name, const char* description); 57 TestCase(Context& context, tcu::TestNodeType nodeType, const char* name, const char* description); 66 inline TestCaseGroup::TestCaseGroup(Context& context, const char* name, const char* description) in TestCaseGroup() argument 67 : tcu::TestCaseGroup(context.getTestContext(), name, description), m_context(context) in TestCaseGroup() 71 inline TestCaseGroup::TestCaseGroup(Context& context, const char* name, const char* description, in TestCaseGroup() argument 73 : tcu::TestCaseGroup(context.getTestContext(), name, description, children), m_context(context) in TestCaseGroup() 77 inline TestCase::TestCase(Context& context, const char* name, const char* description) in TestCase() argument 78 : tcu::TestCase(context.getTestContext(), name, descriptio in TestCase() 82 TestCase(Context& context, tcu::TestNodeType nodeType, const char* name, const char* description) TestCase() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnv_imp.h | 33 * Fast check for whether a charset name is "UTF-8". 36 * @param name const char * charset name 39 #define UCNV_FAST_IS_UTF8(name) \ 40 (((name[0]=='U' ? \ 41 ( name[1]=='T' && name[2]=='F') : \ 42 (name[0]=='u' && name[1]=='t' && name[ [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | DeprecatedFieldTest.java | 15 // * Neither the name of Google Inc. nor the names of its 55 for (String name : deprecatedGetterNames) { in testDeprecatedField() 56 Method method = deprecatedFields.getMethod(name); in testDeprecatedField() 57 assertTrue("Method " + name + " should be deprecated", isDeprecated(method)); in testDeprecatedField() 59 for (String name : deprecatedBuilderGetterNames) { in testDeprecatedField() 60 Method method = deprecatedFieldsBuilder.getMethod(name); in testDeprecatedField() 61 assertTrue("Method " + name + " should be deprecated", isDeprecated(method)); in testDeprecatedField() 63 for (String name : deprecatedBuilderSetterNames) { in testDeprecatedField() 64 Method method = deprecatedFieldsBuilder.getMethod(name, int.class); in testDeprecatedField() 65 assertTrue("Method " + name in testDeprecatedField() [all...] |