Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 9 of 9) sorted by relevance

/system/extras/ext4_utils/
Dcontents.c49 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()
Dext4.h537 __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/
Dschedtop.c96 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/
Dvar.c171 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 …]
Dvar.h56 int name_len; /* length of name */ member
/system/core/fastboot/
Dusb_windows.c118 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/
Dusb_windows.c222 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/
Dconsole.c805 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/
Dconsole.c495 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()