Searched refs:name_len (Results 1 – 9 of 9) sorted by relevance
/system/extras/ext4_utils/ |
D | contents.c | 49 u8 name_len = strlen(name); in add_dentry() local 50 u16 rec_len = 8 + ALIGN(name_len, 4); in add_dentry() 67 dentry->name_len = name_len; in add_dentry() 69 memcpy(dentry->name, name, name_len); in add_dentry() 156 dentry->name_len = 0; in make_directory()
|
D | ext4.h | 537 __le16 name_len; member 544 __u8 name_len; member 562 #define EXT4_DIR_REC_LEN(name_len) (((name_len) + 8 + EXT4_DIR_ROUND) & ~EXT4_DIR_ROUND) argument
|
/system/core/toolbox/ |
D | schedtop.c | 96 size_t name_len; in add_thread() local 124 name_len = strlen(name); in add_thread() 141 name_len = name_end - name; in add_thread() 143 if (name_len >= sizeof(info->name)) in add_thread() 144 name_len = sizeof(info->name) - 1; in add_thread() 145 memcpy(info->name, name, name_len); in add_thread() 146 info->name[name_len] = '\0'; in add_thread()
|
/system/core/sh/ |
D | var.c | 171 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) in initvar() 182 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) { in initvar() 283 error("%.*s: is read only", vp->name_len, s); in setvareq() 289 (*vp->func)(s + vp->name_len + 1); in setvareq() 307 vp->name_len = nlen; in setvareq() 353 return v->text + v->name_len + 1; in lookupvar() 379 return v->text + v->name_len + 1; in bltinlookup() 644 if (name[vp->name_len] == '=') in mklocal() 676 (*vp->func)(lvp->text + vp->name_len + 1); in poplocalvars() 755 if (vp->text[vp->name_len + 1] != '\0') in unsetvar() [all …]
|
D | var.h | 56 int name_len; /* length of name */ member
|
/system/core/fastboot/ |
D | usb_windows.c | 118 unsigned long name_len = 0; in do_usb_open() local 123 &name_len, in do_usb_open() 125 if (0 != name_len) { in do_usb_open() 126 ret->interface_name = (char*)malloc(name_len); in do_usb_open() 132 &name_len, in do_usb_open()
|
/system/core/adb/ |
D | usb_windows.c | 222 unsigned long name_len = 0; in do_usb_open() local 227 &name_len, in do_usb_open() 229 if (0 != name_len) { in do_usb_open() 230 ret->interface_name = (char*)malloc(name_len); in do_usb_open() 236 &name_len, in do_usb_open()
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
D | console.c | 805 U16 name_len = (U16)strlen( name ); in console_searchToken() local 812 (name_len == ALIAS_LEN) && in console_searchToken() 822 if (!console_stricmp( p_token->name, name, name_len ) ) in console_searchToken()
|
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
D | console.c | 495 U16 name_len = (U16)os_strlen( name ); in Console_searchToken() local 502 (name_len == ALIAS_LEN) && in Console_searchToken() 512 if (!Console_stricmp( p_token->name, name, name_len ) ) in Console_searchToken()
|