/ndk/sources/host-tools/make-3.81/ |
arscan.c | 435 int name_len; 469 sscanf (member_header_big.ar_namlen, "%4d", &name_len); 470 nread = read (desc, name, name_len); 472 if (nread != name_len) 478 name[name_len] = 0; 487 + name_len + 2); 501 sscanf (member_header.ar_namlen, "%4d", &name_len); 502 nread = read (desc, name, name_len); 504 if (nread != name_len) 510 name[name_len] = 0 433 int name_len; local [all...] |
/system/extras/ext4_utils/ |
contents.c | 63 u8 name_len = strlen(name); local 64 u16 rec_len = 8 + ALIGN(name_len, 4); 81 dentry->name_len = name_len; 83 memcpy(dentry->name, name, name_len); 368 size_t name_len = strlen(name); local 369 if (name_len > 255) 373 size_t needed_size = EXT4_XATTR_LEN(name_len) + EXT4_XATTR_SIZE(value_len); 379 memset(new_entry, 0, EXT4_XATTR_LEN(name_len)); 381 new_entry->e_name_len = name_len; [all...] |
/external/chromium/base/debug/ |
trace_event_win.h | 62 // If -1 is passed for name_len or extra_len, the strlen of the string will 65 size_t name_len, 99 // length |name_len| or |extra_len| respectively. 100 // Note: if name_len or extra_len are -1, the length of the corresponding 103 size_t name_len,
|
/external/e2fsprogs/lib/ext2fs/ |
unlink.c | 46 if ((dirent->name_len & 0xFF) != ls->namelen) 48 if (strncmp(ls->name, dirent->name, dirent->name_len & 0xFF))
|
dir_iterate.c | 85 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) 211 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) { 242 size = ((dirent->name_len & 0xFF) + 11) & ~3;
|
/external/libnfc-nci/src/nfc/llcp/ |
llcp_sdp.c | 103 UINT16 name_len = (UINT16) strlen (p_name); local 108 UINT8_TO_BE_STREAM (p, (1 + name_len)); 110 ARRAY_TO_BE_STREAM (p, p_name, name_len); 112 llcp_cb.sdp_cb.p_snl->len += LLCP_SDREQ_MIN_LEN + name_len; 128 UINT16 name_len; local 151 name_len = (UINT16) strlen (p_name); 154 if ( (available_bytes >= LLCP_SDREQ_MIN_LEN + name_len) 155 &&(llcp_cb.sdp_cb.p_snl->len + LLCP_SDREQ_MIN_LEN + name_len <= llcp_cb.lcb.effective_miu) )
|
/system/core/sh/ |
var.c | 171 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) 182 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) { 283 error("%.*s: is read only", vp->name_len, s); 289 (*vp->func)(s + vp->name_len + 1); 307 vp->name_len = nlen; 353 return v->text + v->name_len + 1; 379 return v->text + v->name_len + 1; 644 if (name[vp->name_len] == '=') 676 (*vp->func)(lvp->text + vp->name_len + 1); 755 if (vp->text[vp->name_len + 1] != '\0' [all...] |
var.h | 56 int name_len; /* length of name */ member in struct:var
|
/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';
|
/external/e2fsprogs/e2fsck/ |
pass2.c | 18 * - The length of the name in the directory entry (name_len) 299 a_len = de_a->name_len & 0xFF; 301 b_len = de_b->name_len & 0xFF; 354 else if (((dirent->name_len & 0xFF) != 1) || 366 dirent->name_len = 1; 390 nextdir->name_len = 0; 411 else if (((dirent->name_len & 0xFF) != 2) || 429 dirent->name_len = 2; 457 for ( i = 0; i < (dirent->name_len & 0xFF); i++) { 479 int filetype = dirent->name_len >> 8 643 unsigned int name_len = dirent->name_len & 0xFF; local [all...] |
message.c | 22 * %Dl <dirent>->name_len 374 len = dirent->name_len & 0xFF; 387 printf("%u", dirent->name_len & 0xFF); 390 printf("%u", dirent->name_len >> 8);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mac.cc | 141 uptr name_len = internal_strlen(name); local 144 if (len > name_len) { 146 if (!internal_memcmp(p, name, name_len) && 147 p[name_len] == '=') { // Match. 148 return *environ + name_len + 1; // String starting after =.
|
/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;
|
/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,
|
/external/e2fsprogs/debugfs/ |
ls.c | 63 thislen = ((dirent->name_len & 0xFF) < EXT2_NAME_LEN) ? 64 (dirent->name_len & 0xFF) : EXT2_NAME_LEN; 100 inode.i_mode, dirent->name_len >> 8,
|
/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] != ':')
|
/frameworks/rs/driver/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) {
|
/external/e2fsprogs/misc/ |
e2image.c | 363 printf("rec_len = %d, name_len = %d\n", rec_len, dirent->name_len); 378 if (dirent->name_len + 8 > rec_len) { 380 "bad name_len (%d)\n", (unsigned long) blk, 381 dirent->name_len); 382 dirent->name_len = rec_len - 8; 386 len = rec_len - dirent->name_len - 8; 388 memset(cp+dirent->name_len, 0, len); 389 if (dirent->name_len==1 && cp[0] == '.') 391 if (dirent->name_len==2 && cp[0] == '.' && cp[1] == '.' [all...] |
/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,
|
/external/opencv/cxcore/src/ |
cxswitcher.cpp | 498 size_t name_len, version_len; local 502 name_len = strlen(module->name); 506 name_len + 1 + version_len + 1 )); 510 module_copy->version = (char*)(module_copy + 1) + name_len + 1; 512 memcpy( (void*)module_copy->name, module->name, name_len + 1 ); 662 size_t i, name_len = strlen(name); 666 if( strlen(module->name) == name_len ) 668 for( i = 0; i < name_len; i++ ) 674 if( i == name_len )
|
/external/grub/stage2/ |
fsys_ext2fs.c | 178 __u8 name_len; /* Name length */ member in struct:ext2_dir_entry 191 #define EXT2_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT2_DIR_ROUND) & \ 762 int saved_c = dp->name[dp->name_len]; 764 dp->name[dp->name_len] = 0; 777 dp->name[dp->name_len] = saved_c;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
iso_fs.h | 136 unsigned char name_len[2]; /* 721 */ member in struct:iso_path_table 155 unsigned char name_len [ISODCL (33, 33)]; /* 711 */ member in struct:iso_directory_record
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
iso_fs.h | 136 unsigned char name_len[2]; /* 721 */ member in struct:iso_path_table 155 unsigned char name_len [ISODCL (33, 33)]; /* 711 */ member in struct:iso_directory_record
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
iso_fs.h | 136 unsigned char name_len[2]; /* 721 */ member in struct:iso_path_table 155 unsigned char name_len [ISODCL (33, 33)]; /* 711 */ member in struct:iso_directory_record
|
/external/compiler-rt/lib/asan/ |
asan_mac.cc | 102 uptr name_len = internal_strlen(name); 105 if (len > name_len) { 107 if (!internal_memcmp(p, name, name_len) && p[name_len] == '=') {
|