/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | firmware.c | 30 const char *name, int ver, const struct firmware **pfw) in nvkm_firmware_load_name() 35 snprintf(path, sizeof(path), "%s%s", base, name); in nvkm_firmware_load_name() 45 const char *name, int ver, struct nvkm_blob *blob) in nvkm_firmware_load_blob() 50 ret = nvkm_firmware_load_name(subdev, base, name, ver, &fw); in nvkm_firmware_load_blob() 65 * @fwname: name of firmware file to load 81 /* Convert device name to lowercase */ in nvkm_firmware_get() 82 strncpy(cname, device->chip->name, sizeof(cname)); in nvkm_firmware_get() 201 nvkm_firmware_ctor(const struct nvkm_firmware_func *func, const char *name, in nvkm_firmware_ctor() argument 205 fw->name = name; in nvkm_firmware_ctor() 29 nvkm_firmware_load_name(const struct nvkm_subdev *subdev, const char *base, const char *name, int ver, const struct firmware **pfw) nvkm_firmware_load_name() argument 44 nvkm_firmware_load_blob(const struct nvkm_subdev *subdev, const char *base, const char *name, int ver, struct nvkm_blob *blob) nvkm_firmware_load_blob() argument [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | vexpress-hwmon.c | 82 const char *name; member 99 .name = "vexpress_volt", 119 .name = "vexpress_amp", 138 .name = "vexpress_temp", 157 .name = "vexpress_power", 176 .name = "vexpress_energy", 226 type->name, data, type->attr_groups); in vexpress_hwmon_probe() 234 .name = DRVNAME,
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-taos-evm.c | 46 /* Instantiate i2c devices based on the adapter name */ 49 if (!strncmp(adapter->name, "TAOS TSL2550 EVM", 16)) { in taos_instantiate_device() 181 /* Extract the adapter name from the buffer received after reset. 203 char *name; in taos_connect() local 236 name = taos_adapter_name(taos->buffer); in taos_connect() 237 if (!name) { in taos_connect() 242 strscpy(adapter->name, name, sizeof(adapter->name)); in taos_connect() 298 .name [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-card.c | 26 func, card->name, ret); in _soc_card_ret() 33 const char *name) in snd_soc_card_get_kcontrol_locked() 41 if (unlikely(!name)) in snd_soc_card_get_kcontrol_locked() 45 if (!strncmp(kctl->id.name, name, sizeof(kctl->id.name))) in snd_soc_card_get_kcontrol_locked() 52 const char *name) in snd_soc_card_get_kcontrol() 58 kctl = snd_soc_card_get_kcontrol_locked(soc_card, name); in snd_soc_card_get_kcontrol() 32 snd_soc_card_get_kcontrol_locked(struct snd_soc_card *soc_card, const char *name) snd_soc_card_get_kcontrol_locked() argument 51 snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card, const char *name) snd_soc_card_get_kcontrol() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.c | 59 static unsigned long elf_hash(const unsigned char *name) in elf_hash() argument 62 while (*name) in elf_hash() 64 h = (h << 4) + *name++; in elf_hash() 163 const char *name, ELF(Word) hash) in ELF() 167 * ver matches name (which hashes to hash). in ELF() 197 && !strcmp(name, vdso_info.symstrings + aux->vda_name); in ELF() 200 void *vdso_sym(const char *version, const char *name) in vdso_sym() argument 207 ELF(Word) chain = vdso_info.bucket[elf_hash(name) % vdso_info.nbucket]; in vdso_sym() 212 /* Check for a defined global or weak function w/ right name. */ in vdso_sym() 220 if (strcmp(name, vdso_inf in vdso_sym() [all...] |
/kernel/linux/linux-6.6/sound/drivers/opl3/ |
H A D | opl3_seq.c | 164 char name[32]; in snd_opl3_synth_create_port() local 183 sprintf(name, "OPL%i FM Port", opl_ver); in snd_opl3_synth_create_port() 195 name); in snd_opl3_synth_create_port() 212 char name[32]; in snd_opl3_seq_probe() local 225 sprintf(name, "OPL%i FM synth", opl_ver); in snd_opl3_seq_probe() 228 name); in snd_opl3_seq_probe() 245 snd_opl3_init_seq_oss(opl3, name); in snd_opl3_seq_probe() 271 .name = KBUILD_MODNAME,
|
/kernel/linux/linux-6.6/security/apparmor/include/ |
H A D | lib.h | 111 char name[]; member 115 ((struct counted_str *)(str - offsetof(struct counted_str, name))) 139 * @name: name of the object 140 * @hname - The hierarchical name 145 const char *name; member 153 * @name: hname to find the base profile name component of (NOT NULL) 155 * Returns: the tail (base profile name) name componen 177 __policy_find(struct list_head *head, const char *name) __policy_find() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | conntrack_tcp_unreplied.sh | 43 name=$2 47 cnt=$(ip netns exec $ns2 nft list counter inet filter "$name" | grep -q "$expect") 49 echo "ERROR: counter $name in $ns2 has unexpected value (expected $expect)" 1>&2 50 ip netns exec $ns2 nft list counter inet filter "$name" 1>&2 65 ip -net $ns1 link add name veth1 type veth peer name veth2 97 ct state new tcp flags syn ip daddr 10.99.99.99 tcp dport 80 counter name "connreq" accept 98 ct state new ct status dnat tcp dport 8080 counter name "redir" accept
|
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | bdw_rt286.c | 131 .name = "System PCM", 141 .name = "Offload0", 150 .name = "Offload1", 159 .name = "Loopback PCM", 170 .name = "Codec", 221 /* Use space before codec name to simplify card ID, and simplify driver name. */ 222 #define SOF_CARD_NAME "bdw rt286" /* card name will be 'sof-bdw rt286' */ 241 bdw_rt286_card.name = SOF_CARD_NAME; in bdw_rt286_probe() 244 bdw_rt286_card.name in bdw_rt286_probe() [all...] |
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | bcache.h | 5 *** of the same name, to make information necessary for userspace to 22 #define BITMASK(name,type,field,offset,size) static inline __u64 name(const type * k) \ 23 { return(k->field >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(type * k, __u64 v) \ 31 #define KEY_FIELD(name,field,offset,size) BITMASK(name, struct bkey, field, offset, size) 32 #define PTR_FIELD(name,offset,size) static inline __u64 name(const struct bkey * k, unsigned int i) \ 33 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned int i, __u64 v) \
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | bcache.h | 5 *** of the same name, to make information necessary for userspace to 22 #define BITMASK(name,type,field,offset,size) static inline __u64 name(const type * k) \ 23 { return(k->field >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(type * k, __u64 v) \ 31 #define KEY_FIELD(name,field,offset,size) BITMASK(name, struct bkey, field, offset, size) 32 #define PTR_FIELD(name,offset,size) static inline __u64 name(const struct bkey * k, unsigned int i) \ 33 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned int i, __u64 v) \
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
H A D | net_socket_test_010.cpp | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 50 static char *IfIndex2Name(int fd, unsigned index, char *name) in IfIndex2Name() argument 53 return if_indextoname(index, name); in IfIndex2Name() 63 ret = strncpy_s(name, IF_NAMESIZE - 1, ifr.ifr_name, IF_NAMESIZE - 1); in IfIndex2Name() 67 name[IF_NAMESIZE - 1] = '\0'; in IfIndex2Name() 68 return name; in IfIndex2Name() 72 static unsigned IfName2Index(int fd, const char *name) in IfName2Index() argument 75 return if_nametoindex(name); in IfName2Index() 80 ret = strncpy_s(ifr.ifr_name, sizeof(ifr.ifr_name) - 1, name, sizeof(ifr.ifr_name) - 1); in IfName2Index() 131 LogPrintln("name o in IoctlTestInternal() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_module.c | 53 free (file->name); in free_file() 121 free (mod->name); in __libdwfl_module_free() 166 dwfl_report_module (Dwfl *dwfl, const char *name, in dwfl_report_module() argument 174 && !strcmp (m->name, name)) in dwfl_report_module() 191 mod->name = strdup (name); in dwfl_report_module() 192 if (mod->name == NULL) in dwfl_report_module()
|
/third_party/backends/backend/ |
H A D | plustek-usbio.c | 98 static void dumpPic( char* name, SANE_Byte *buffer, u_long len, int is_gray ) in dumpPic() argument 108 DBG( _DBG_DPIC, "Creating file '%s'\n", name ); in dumpPic() 110 fp = fopen( name, "w+b" ); in dumpPic() 130 fp = fopen( name, "a+b" ); in dumpPic() 134 DBG( _DBG_DPIC, "Can not open file '%s'\n", name ); in dumpPic() 144 static void dumpPicInit( ScanParam *sd, char* name ) in dumpPicInit() 158 dumpPic(name, NULL, 0, 0); in dumpPicInit() 160 dumpPic(name, NULL, 0, 1); in dumpPicInit()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | unewdata.cpp | 10 * file name: unewdata.c 36 udata_create(const char *dir, const char *type, const char *name, in udata_create() argument 48 } else if(name==NULL || *name==0 || pInfo==NULL) { in udata_create() 81 length += static_cast<int32_t>(strlen(name)); /* Add the filename length */ in udata_create() 107 uprv_strcat(filename, name); in udata_create() 194 udata_createDummy(const char *dir, const char *type, const char *name, UErrorCode *pErrorCode) { in udata_createDummy() argument 196 udata_finish(udata_create(dir, type, name, &dummyDataInfo, NULL, pErrorCode), pErrorCode); in udata_createDummy() 199 u_errorName(*pErrorCode), dir, name, type); in udata_createDummy()
|
/third_party/googletest/googletest/test/ |
H A D | googletest-listener-test.cc | 13 // * Neither the name of Google Inc. nor the names of its 58 explicit EventRecordingListener(const char* name) : name_(name) {} in EventRecordingListener() argument 125 std::string GetFullMethodName(const char* name) { return name_ + "." + name; } in GetFullMethodName() argument 133 explicit EventRecordingListener2(const char* name) : name_(name) {} in EventRecordingListener2() argument 197 std::string GetFullMethodName(const char* name) { return name_ + "." + name; } in GetFullMethodName() argument 226 // recording the test name in TEST_F() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | TimeZoneNames.java | 26 * <code>TimeZoneNames</code> is an abstract class representing the time zone display name data model defined 36 * In <a href="http://cldr.unicode.org/">CLDR</a> (which uses LDML for representing locale data), the display name 37 * "Eastern Time" is stored as long generic display name of a meta zone identified by the ID "America_Eastern". 58 * have a specific name that is not shared with other time zones. 60 * For example, time zone "Europe/London" has English long name for standard time "Greenwich Mean Time", which is also 61 * shared with other time zones. However, the long name for daylight saving time is "British Summer Time", which is only 65 * {@link #getTimeZoneDisplayName(String, NameType)} is designed for accessing a name only used by a single time zone. 84 * Time zone display name types 90 * Long display name, such as "Eastern Time". 96 * Long display name fo [all...] |
/third_party/icu/icu4c/source/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 10 * file name: utrie2perf.cpp 84 virtual UPerfFunction* runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL); 232 UPerfFunction* UTrie2PerfTest::runIndexedTest(int32_t index, UBool exec, const char* &name, char* par) { in runIndexedTest() argument 234 case 0: name = "CheckFCD"; if (exec) return CheckFCD::get(*this); break; in runIndexedTest() 235 case 1: name = "ToNFC"; if (exec) return ToNFC::get(*this); break; in runIndexedTest() 236 case 2: name = "GetBiDiClass"; if (exec) return GetBiDiClass::get(*this); break; in runIndexedTest() 238 case 3: name = "CheckFCDAlwaysGet"; if (exec) return CheckFCDAlwaysGet::get(*this); break; in runIndexedTest() 239 case 4: name = "CheckFCDUTF8"; if (exec) return CheckFCDUTF8::get(*this); break; in runIndexedTest() 241 default: name = ""; break; in runIndexedTest()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | TimeZoneNames.java | 27 * <code>TimeZoneNames</code> is an abstract class representing the time zone display name data model defined 37 * In <a href="http://cldr.unicode.org/">CLDR</a> (which uses LDML for representing locale data), the display name 38 * "Eastern Time" is stored as long generic display name of a meta zone identified by the ID "America_Eastern". 59 * have a specific name that is not shared with other time zones. 61 * For example, time zone "Europe/London" has English long name for standard time "Greenwich Mean Time", which is also 62 * shared with other time zones. However, the long name for daylight saving time is "British Summer Time", which is only 66 * {@link #getTimeZoneDisplayName(String, NameType)} is designed for accessing a name only used by a single time zone. 83 * Time zone display name types 87 * Long display name, such as "Eastern Time". 91 * Long display name fo [all...] |
/third_party/libwebsockets/lib/abstract/ |
H A D | abstract.c | 54 lws_abs_transport_get_by_name(const char *name) in lws_abs_transport_get_by_name() argument 59 if (!strcmp(name, available_abs_transports[n]->name)) in lws_abs_transport_get_by_name() 62 lwsl_err("%s: cannot find '%s'\n", __func__, name); in lws_abs_transport_get_by_name() 68 lws_abs_protocol_get_by_name(const char *name) in lws_abs_protocol_get_by_name() argument 74 if (!strcmp(name, available_abs_protocols[n]->name)) in lws_abs_protocol_get_by_name() 77 lwsl_err("%s: cannot find '%s'\n", __func__, name); in lws_abs_protocol_get_by_name()
|
/third_party/lzma/CPP/Windows/ |
H A D | FileFind.h | 24 // bool DoesFileExist(CFSTR name, bool followLink);
25 bool DoesFileExist_Raw(CFSTR name);
26 bool DoesFileExist_FollowLink(CFSTR name);
27 bool DoesDirExist(CFSTR name, bool followLink);
29 inline bool DoesDirExist(CFSTR name)
in DoesDirExist() argument 30 { return DoesDirExist(name, false); }
in DoesDirExist() 31 inline bool DoesDirExist_FollowLink(CFSTR name)
in DoesDirExist_FollowLink() argument 32 { return DoesDirExist(name, true); }
in DoesDirExist_FollowLink() 35 bool DoesFileOrDirExist(CFSTR name);
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | proxy_get_own_property_descriptor.js | 78 "getOwnPropertyDescriptor": function(target, name) { 79 if (name === "proxied") { 82 if (name === "return_null") { 85 return Object.getOwnPropertyDescriptor(target, name); 143 handler.getOwnPropertyDescriptor = function(target, name) { return undefined; }; 157 handler.getOwnPropertyDescriptor = function(target, name) { 180 handler.getOwnPropertyDescriptor = function(target, name) { return undefined; }; 259 handler.getOwnPropertyDescriptor = function(target, name) {
|
/third_party/mesa3d/src/etnaviv/drm-shim/ |
H A D | etnaviv_noop.c | 38 const char *name; member 44 .name = "GC400", 71 .name = "GC2000", 98 .name = "GC3000", 125 .name = "GC7000L", 239 if (strncasecmp(gpu, gpus[i].name, strlen(gpus[i].name)) == 0) { in drm_shim_driver_init() 249 fprintf(stderr, "Using %s as shim gpu\n", shim_gpu->name); in drm_shim_driver_init()
|
/third_party/ltp/libs/libltpvdso/ |
H A D | parse_vdso.c | 58 static unsigned long elf_hash(const unsigned char *name) in elf_hash() argument 61 while (*name) in elf_hash() 63 h = (h << 4) + *name++; in elf_hash() 192 const char *name, ELF(Word) hash) in ELF() 196 * ver matches name (which hashes to hash). in ELF() 226 && !strcmp(name, vdso_info.symstrings + aux->vda_name); in ELF() 229 void *vdso_sym(const char *version, const char *name) in vdso_sym() argument 237 elf_hash((const void*)name) % vdso_info.nbucket); in vdso_sym() 242 /* Check for a defined global or weak function w/ right name. */ in vdso_sym() 250 if (strcmp(name, vdso_inf in vdso_sym() [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_debug_recompile.c | 33 const char *name, int a, int b) in key_debug() 36 brw_shader_perf_log(c, log, " %s %d->%d\n", name, a, b); in key_debug() 44 const char *name, float a, float b) in key_debug_float() 47 brw_shader_perf_log(c, log, " %s %f->%f\n", name, a, b); in key_debug_float() 53 #define check(name, field) \ 54 key_debug(c, log, name, old_key->field, key->field) 55 #define check_float(name, field) \ 56 key_debug_float(c, log, name, old_key->field, key->field) 32 key_debug(const struct brw_compiler *c, void *log, const char *name, int a, int b) key_debug() argument 43 key_debug_float(const struct brw_compiler *c, void *log, const char *name, float a, float b) key_debug_float() argument
|