/development/host/windows/usb/api/ |
adb_interface.cpp | 43 ULONG name_len = static_cast<ULONG>(interface_name_.length() + 1);
local 44 if ((NULL == buffer) || (*buffer_char_size < name_len)) {
45 *buffer_char_size = name_len;
60 static_cast<int>(name_len),
|
/external/e2fsprogs/lib/ext2fs/ |
dirblock.c | 28 unsigned int name_len, rec_len; local 42 dirent->name_len = ext2fs_swab16(dirent->name_len); 44 name_len = dirent->name_len; 47 dirent->name_len = ext2fs_swab16(dirent->name_len); 54 } else if (((name_len & 0xFF) + 8) > rec_len) 96 dirent->name_len = ext2fs_swab16(dirent->name_len); [all...] |
/frameworks/compile/linkloader/android/ |
test-librsloader.c | 33 size_t name_len; member in struct:func_entry_t 57 size_t name_len = strlen(name); local 59 if (name_len == tab[i].name_len && strcmp(name, tab[i].name) == 0) {
|
/external/bluetooth/glib/gmodule/ |
gmodule-ar.c | 56 long name_len; local 81 name_len = atol(ar_header.ar_namlen); 83 member = g_malloc(name_len+1); 87 if (read(fd, (void*)member, name_len) != name_len) 94 member[name_len] = 0;
|
gmodule-beos.c | 138 int32 type, name_len; local 156 name_len = 256; 159 status = get_nth_image_symbol (id, n, name, &name_len, &type, &p); 174 name_len = 256; 177 status = get_nth_image_symbol (id, n, name, &name_len, &type, &p);
|
/system/extras/ext4_utils/ |
contents.c | 54 u8 name_len = strlen(name); local 55 u16 rec_len = 8 + ALIGN(name_len, 4); 72 dentry->name_len = name_len; 74 memcpy(dentry->name, name, name_len); 161 dentry->name_len = 0;
|
/external/libvpx/ |
args.c | 60 int name_len = strlen(def->long_name); local 62 if (strlen(arg.argv[0]) >= name_len + 2 64 && !strncmp(arg.argv[0] + 2, def->long_name, name_len) 65 && (arg.argv[0][name_len+2] == '=' 66 || arg.argv[0][name_len+2] == '\0')) 70 arg.val = arg.name[name_len] == '=' ? arg.name + name_len + 1 : NULL;
|
/external/oprofile/libutil/ |
op_file.c | 92 int name_len; local 94 name_len = strlen(basedir) + strlen("/") + strlen(ent->d_name) + 1; 95 name = xmalloc(name_len);
|
/external/bluetooth/bluez/src/ |
eir.c | 236 size_t name_len; local 238 name_len = strlen(name); 240 if (name_len > 0) { 242 if (name_len > 48) { 243 name_len = 48; 249 ptr[0] = name_len + 1; 251 memcpy(ptr + 2, name, name_len); 253 eir_len += (name_len + 2); 254 ptr += (name_len + 2);
|
/external/grub/stage2/ |
fsys_iso9660.c | 179 unsigned int name_len = idr->name_len.l; local 182 if (name_len == 1) 188 if (name_len > 2 && CHECK2(name + name_len - 2, ';', '1')) 190 name_len -= 2; /* truncate trailing file version */ 191 if (name_len > 1 && name[name_len - 1] == '.') 192 name_len--; /* truncate trailing dot */ 198 rr_len = (idr->length.l - idr->name_len. [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
ans.c | 46 int answer_len,name_len,data_len,found_len; local 65 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) 67 pos += name_len; 80 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) 82 pos += name_len;
|
/frameworks/compile/linkloader/ |
main.cpp | 110 size_t name_len; member in struct:func_entry_t 132 size_t name_len = strlen(name); local 134 if (name_len == tab[i].name_len && strcmp(name, tab[i].name) == 0) {
|
/system/core/fastboot/ |
usb_windows.c | 119 unsigned long name_len = 0; local 124 &name_len, 126 if (0 != name_len) { 127 ret->interface_name = (char*)malloc(name_len); 133 &name_len,
|
/system/core/sh/ |
var.h | 56 int name_len; /* length of name */ member in struct:var
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 200 uint32_t name_len; local 201 if (fread(&name_len, sizeof(name_len), 1, proxy) != 1) { 205 name_len = ntohl(name_len); 206 if (name_len <= 0) { 210 if (fread(hp->h_name, name_len, 1, proxy) != 1) { 214 result = name_len;
|
/development/tools/emulator/system/camera/ |
QemuClient.cpp | 95 const size_t name_len = strlen(name); local 114 memcpy(mQuery, name, name_len + 1);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/ |
SDL_syscdrom.c | 208 int name_len; local 212 name_len = SDL_strlen(checklist[i].name); 214 if (SDL_memcmp(checklist[i].name, devent->d_name, name_len) == 0)
|
/external/v8/src/ |
log-utils.cc | 246 size_t name_len = strlen(name); local 248 static_cast<int>(name_len + sizeof(kCodeLogExt))); 249 memcpy(code_name.start(), name, name_len); 250 memcpy(code_name.start() + name_len, kCodeLogExt, sizeof(kCodeLogExt));
|
/system/core/adb/ |
usb_windows.c | 222 unsigned long name_len = 0; local 227 &name_len, 229 if (0 != name_len) { 230 ret->interface_name = (char*)malloc(name_len); 236 &name_len,
|
/system/core/toolbox/ |
schedtop.c | 98 size_t name_len; local 126 name_len = strlen(name); 143 name_len = name_end - name; 145 if (name_len >= sizeof(info->name)) 146 name_len = sizeof(info->name) - 1; 147 memcpy(info->name, name, name_len); 148 info->name[name_len] = '\0';
|
/bootable/recovery/ |
recovery.c | 509 int name_len = strlen(de->d_name); local 513 if (name_len == 1 && de->d_name[0] == '.') continue; 514 if (name_len == 2 && de->d_name[0] == '.' && 521 dirs[d_size] = malloc(name_len + 2); 523 dirs[d_size][name_len] = '/'; 524 dirs[d_size][name_len+1] = '\0'; 527 name_len >= 4 && 528 strncasecmp(de->d_name + (name_len-4), ".zip", 4) == 0) {
|
/external/bluetooth/glib/gio/ |
gwin32appinfo.c | 399 DWORD name_len, nbytes; local 406 name_len = 256; 411 &name_len, 420 name_len == 1) 427 name_len = 256; 432 name_len = 256; 436 &name_len, 442 *prognames = g_list_prepend (*prognames, g_memdup (name, (name_len + 1) * 2)); 444 name_len = 256; 454 DWORD name_len, type local 630 DWORD name_len; local [all...] |
/external/chromium/net/http/ |
http_util.cc | 283 size_t name_len = strlen(name); local 288 name + name_len, 298 if (it + name_len >= headers.end() || it[name_len] != ':')
|
/external/tcpdump/ |
smbutil.c | 225 name_len(const unsigned char *s, const unsigned char *maxbuf) function 703 len = name_len(buf, maxbuf); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_mschapv2.c | 294 size_t len, name_len, i; local 324 name_len = end - name; 335 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-MSCHAPV2: Name", name, name_len); 351 user_len = name_len;
|