/external/elfutils/backends/ |
D | sh_regs.c | 43 int regno, char *name, size_t namelen, in sh_register_info() argument 50 if (regno < 0 || regno > 103 || namelen < 6) in sh_register_info() 63 namelen = 2; in sh_register_info() 71 namelen = 3; in sh_register_info() 79 namelen = 2; in sh_register_info() 87 namelen = 2; in sh_register_info() 95 namelen = 2; in sh_register_info() 104 namelen = 3; in sh_register_info() 113 namelen = 4; in sh_register_info() 122 namelen = 4; in sh_register_info() [all …]
|
D | ia64_regs.c | 41 int regno, char *name, size_t namelen, in ia64_register_info() argument 48 if (regno < 0 || regno > 687 + 63 || namelen < 12) in ia64_register_info() 60 namelen = 2; in ia64_register_info() 69 namelen = 3; in ia64_register_info() 79 namelen = 4; in ia64_register_info() 87 namelen = 2; in ia64_register_info() 98 namelen = 3; in ia64_register_info() 108 namelen = 4; in ia64_register_info() 118 namelen = 2; in ia64_register_info() 146 namelen = 3; in ia64_register_info() [all …]
|
D | riscv_regs.c | 39 riscv_register_info (Ebl *ebl, int regno, char *name, size_t namelen, in riscv_register_info() argument 85 namelen = 2; in riscv_register_info() 91 namelen = 2; in riscv_register_info() 97 namelen = 2; in riscv_register_info() 103 namelen = 2; in riscv_register_info() 110 namelen = 3; in riscv_register_info() 116 namelen = 2; in riscv_register_info() 123 namelen = 3; in riscv_register_info() 130 namelen = 3; in riscv_register_info() 137 namelen = 3; in riscv_register_info() [all …]
|
D | x86_64_regs.c | 42 int regno, char *name, size_t namelen, in x86_64_register_info() argument 49 if (regno < 0 || regno > 66 || namelen < 7) in x86_64_register_info() 95 namelen = 3; in x86_64_register_info() 101 namelen = 2; in x86_64_register_info() 108 namelen = 3; in x86_64_register_info() 116 namelen = 3; in x86_64_register_info() 124 namelen = 4; in x86_64_register_info() 133 namelen = 5; in x86_64_register_info() 140 namelen = 3; in x86_64_register_info() 147 namelen = 3; in x86_64_register_info() [all …]
|
D | ppc_regs.c | 41 int regno, char *name, size_t namelen, in ppc_register_info() argument 48 if (regno < 0 || regno > 1155 || namelen < 8) in ppc_register_info() 77 namelen = 2; in ppc_register_info() 84 namelen = 3; in ppc_register_info() 90 namelen = 2; in ppc_register_info() 97 namelen = 3; in ppc_register_info() 113 namelen = 3; in ppc_register_info() 121 namelen = 4; in ppc_register_info() 149 namelen = 4; in ppc_register_info() 168 namelen = 5; in ppc_register_info() [all …]
|
D | alpha_regs.c | 41 int regno, char *name, size_t namelen, in alpha_register_info() argument 48 if (regno < 0 || regno > 66 || namelen < 7) in alpha_register_info() 67 namelen = 2; in alpha_register_info() 73 namelen = 2; in alpha_register_info() 79 namelen = 2; in alpha_register_info() 85 namelen = 2; in alpha_register_info() 91 namelen = 2; in alpha_register_info() 98 namelen = 3; in alpha_register_info() 125 namelen = 2; in alpha_register_info() 132 namelen = 3; in alpha_register_info() [all …]
|
D | s390_regs.c | 58 int regno, char *name, size_t namelen, in s390_register_info() argument 65 if (regno < 0 || regno > 65 || namelen < 7) in s390_register_info() 96 namelen = 2; in s390_register_info() 103 namelen = 3; in s390_register_info() 109 namelen = 1; in s390_register_info() 113 name[namelen++] = '1'; in s390_register_info() 115 name[namelen++] = regno + '0'; in s390_register_info() 122 namelen = 2; in s390_register_info() 130 namelen = 3; in s390_register_info() 144 name[namelen++] = '\0'; in s390_register_info() [all …]
|
D | arm_regs.c | 41 int regno, char *name, size_t namelen, in arm_register_info() argument 48 if (regno < 0 || regno > 320 || namelen < 5) in arm_register_info() 61 namelen = 2; in arm_register_info() 68 namelen = 3; in arm_register_info() 75 namelen = 2; in arm_register_info() 87 namelen = 2; in arm_register_info() 100 namelen = 2; in arm_register_info() 110 namelen = 3; in arm_register_info() 118 name[namelen++] = '\0'; in arm_register_info() 119 return namelen; in arm_register_info()
|
D | i386_regs.c | 41 int regno, char *name, size_t namelen, in i386_register_info() argument 48 if (regno < 0 || regno > 45 || namelen < 6) in i386_register_info() 101 namelen = 3; in i386_register_info() 113 namelen = 3; in i386_register_info() 121 namelen = 4; in i386_register_info() 128 namelen = 3; in i386_register_info() 143 namelen = 2; in i386_register_info() 151 name[namelen++] = '\0'; in i386_register_info() 152 return namelen; in i386_register_info()
|
D | m68k_regs.c | 41 int regno, char *name, size_t namelen, in m68k_register_info() argument 48 if (regno < 0 || regno > 24 || namelen < 5) in m68k_register_info() 61 namelen = 2; in m68k_register_info() 68 namelen = 2; in m68k_register_info() 78 namelen = 3; in m68k_register_info() 85 namelen = 2; in m68k_register_info() 94 name[namelen++] = '\0'; in m68k_register_info() 95 return namelen; in m68k_register_info()
|
D | sparc_regs.c | 41 int regno, char *name, size_t namelen, in sparc_register_info() argument 51 if (regno < 0 || regno >= 32 + nfp + nspec || namelen < 6) in sparc_register_info() 72 namelen) + 1 - name; in sparc_register_info() 80 namelen = 2; in sparc_register_info() 99 namelen = 2; in sparc_register_info() 105 namelen = 3; in sparc_register_info() 109 name[namelen++] = '\0'; in sparc_register_info() 110 return namelen; in sparc_register_info()
|
D | tilegx_regs.c | 42 int regno, char *name, size_t namelen, in tilegx_register_info() argument 49 if (regno < 0 || regno > 64 || namelen < 5) in tilegx_register_info() 62 namelen = 2; in tilegx_register_info() 70 namelen = 3; in tilegx_register_info() 127 name[namelen++] = '\0'; in tilegx_register_info() 128 return namelen; in tilegx_register_info()
|
D | aarch64_regs.c | 45 char *name, size_t namelen, const char *fmt, ...) in do_regtype() argument 52 int s = vsnprintf (name, namelen, fmt, ap); in do_regtype() 55 if (s < 0 || (unsigned) s >= namelen) in do_regtype() 62 int regno, char *name, size_t namelen, in aarch64_register_info() argument 74 do_regtype(setname, type, setnamep, typep, name, namelen, __VA_ARGS__) in aarch64_register_info()
|
/external/u-boot/fs/cramfs/ |
D | cramfs.c | 125 int namelen; in cramfs_resolve() local 135 namelen = CRAMFS_GET_NAMELEN (inode) << 2; in cramfs_resolve() 139 inodeoffset + sizeof (struct cramfs_inode) + namelen; in cramfs_resolve() 142 if (!namelen) in cramfs_resolve() 144 if (name[namelen - 1]) in cramfs_resolve() 146 namelen--; in cramfs_resolve() 149 if (!strncmp(filename, name, namelen) && in cramfs_resolve() 150 (namelen == strlen(filename))) { in cramfs_resolve() 177 namelen, namelen, name); in cramfs_resolve() 194 namelen, namelen, name, in cramfs_resolve() [all …]
|
/external/curl/lib/ |
D | curl_gethostname.c | 51 int Curl_gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) in Curl_gethostname() argument 57 (void) namelen; in Curl_gethostname() 69 strncpy(name, force_hostname, namelen); in Curl_gethostname() 74 err = gethostname(name, namelen); in Curl_gethostname() 83 err = gethostname(name, namelen); in Curl_gethostname() 87 name[namelen - 1] = '\0'; in Curl_gethostname()
|
/external/kmod/tools/ |
D | modinfo.c | 44 int namelen; member 49 static struct param *add_param(const char *name, int namelen, const char *param, int paramlen, cons… in add_param() argument 54 if (it->namelen == namelen && in add_param() 55 memcmp(it->name, name, namelen) == 0) in add_param() 66 it->namelen = namelen; in add_param() 89 int namelen, paramlen, typelen; in process_parm() local 99 namelen = colon - value; in process_parm() 112 it = add_param(name, namelen, param, paramlen, type, typelen, params); in process_parm() 144 p->namelen, p->name, p->typelen, p->type, in modinfo_params_do() 148 p->namelen, p->name, in modinfo_params_do() [all …]
|
/external/u-boot/scripts/dtc/libfdt/ |
D | fdt_ro.c | 160 const char *name, int namelen) in fdt_subnode_offset_namelen() argument 170 && fdt_nodename_eq_(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 184 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument 186 const char *end = path + namelen; in fdt_path_offset_namelen() 330 int namelen, in fdt_get_property_namelen_() argument 344 name, namelen)) { in fdt_get_property_namelen_() 360 int namelen, int *lenp) in fdt_get_property_namelen() argument 370 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, in fdt_get_property_namelen() 384 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument 389 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen() [all …]
|
/external/u-boot/lib/libfdt/ |
D | fdt_ro.c | 118 const char *name, int namelen) in fdt_subnode_offset_namelen() argument 128 && _fdt_nodename_eq(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 161 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument 163 const char *end = path + namelen; in fdt_path_offset_namelen() 171 const char *q = fdt_path_next_separator(path, namelen); in fdt_path_offset_namelen() 274 int namelen, int *lenp) in fdt_get_property_namelen() argument 286 name, namelen)) in fdt_get_property_namelen() 304 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument 308 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen() 352 const char *name, int namelen) in fdt_get_alias_namelen() argument [all …]
|
/external/dtc/libfdt/ |
D | fdt_ro.c | 159 const char *name, int namelen) in fdt_subnode_offset_namelen() argument 169 && _fdt_nodename_eq(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 183 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument 185 const char *end = path + namelen; in fdt_path_offset_namelen() 295 int namelen, int *lenp) in fdt_get_property_namelen() argument 307 name, namelen)) in fdt_get_property_namelen() 325 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument 329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen() 373 const char *name, int namelen) in fdt_get_alias_namelen() argument 381 return fdt_getprop_namelen(fdt, aliasoffset, name, namelen, NULL); in fdt_get_alias_namelen() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | config_winreg.c | 69 DWORD namelen, datalen, type; in wpa_config_read_blobs() local 71 namelen = TNAMELEN; in wpa_config_read_blobs() 73 ret = RegEnumValue(bhk, i, name, &namelen, NULL, &type, in wpa_config_read_blobs() 85 if (namelen >= TNAMELEN) in wpa_config_read_blobs() 86 namelen = TNAMELEN - 1; in wpa_config_read_blobs() 87 name[namelen] = TEXT('\0'); in wpa_config_read_blobs() 314 DWORD namelen, datalen, type; in wpa_config_read_network() local 316 namelen = 255; in wpa_config_read_network() 318 ret = RegEnumValue(nhk, i, name, &namelen, NULL, &type, in wpa_config_read_network() 330 if (namelen >= 255) in wpa_config_read_network() [all …]
|
/external/elfutils/libdwfl/ |
D | linux-kernel-modules.c | 313 check_suffix (const FTSENT *f, size_t namelen) in check_suffix() argument 316 if ((namelen ? f->fts_namelen == namelen + sizeof sfx - 1 \ in check_suffix() 717 const size_t namelen) in INTDEF() 719 const char *n = memchr (module_name, from, namelen); in INTDEF() 726 while ((p = memchr (n, from, namelen - (n - module_name))) != NULL) in INTDEF() 732 memcpy (a, n, namelen - (n - module_name) + 1); in INTDEF() 773 size_t namelen = strlen (module_name); in dwfl_linux_kernel_find_elf() local 786 char *alternate_name = malloc (namelen + 1); in dwfl_linux_kernel_find_elf() 792 if (!subst_name ('-', '_', module_name, alternate_name, namelen) && in dwfl_linux_kernel_find_elf() 793 !subst_name ('_', '-', module_name, alternate_name, namelen)) in dwfl_linux_kernel_find_elf() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | addinterface.cpp | 120 DWORD namelen; in addRegistryInterface() local 122 namelen = 255; in addRegistryInterface() 123 ret = RegEnumKeyEx(hk, i, name, &namelen, NULL, NULL, NULL, in addRegistryInterface() 132 if (namelen >= 255) in addRegistryInterface() 133 namelen = 255 - 1; in addRegistryInterface() 134 name[namelen] = '\0'; in addRegistryInterface() 137 QString s((QChar *) name, namelen); in addRegistryInterface()
|
/external/iputils/ninfod/ |
D | ninfod_name.c | 157 size_t namelen; in encode_dnsname() local 163 namelen = strlen(name); in encode_dnsname() 164 if (namelen == 0) in encode_dnsname() 166 if (namelen > 255 || buflen < namelen+1) in encode_dnsname() 170 while(i <= namelen) { in encode_dnsname() 176 e = name + namelen; in encode_dnsname() 261 static int nodeinfo_group(const char *dnsname, int namelen, in nodeinfo_group() argument
|
/external/oj-libjdwp/src/solaris/transport/socket/ |
D | socket_md.c | 52 dbgsysConnect(int fd, struct sockaddr *name, socklen_t namelen) { in dbgsysConnect() argument 53 int rv = connect(fd, name, namelen); in dbgsysConnect() 74 dbgsysAccept(int fd, struct sockaddr *name, socklen_t *namelen) { in dbgsysAccept() argument 77 rv = accept(fd, name, namelen); in dbgsysAccept() 154 dbgsysBind(int fd, struct sockaddr *name, socklen_t namelen) { in dbgsysBind() argument 155 return bind(fd, name, namelen); in dbgsysBind() 174 dbgsysGetSocketName(int fd, struct sockaddr *name, socklen_t *namelen) { in dbgsysGetSocketName() argument 175 return getsockname(fd, name, namelen); in dbgsysGetSocketName()
|
/external/boringssl/src/util/ar/ |
D | ar.go | 126 var namelen uint 127 n, err := fmt.Sscanf(name, "#1/%d", &namelen) 128 if err == nil && n == 1 && len(contents) >= int(namelen) { 129 name = string(contents[:namelen]) 130 contents = contents[namelen:]
|