Searched refs:namelen (Results 1 - 11 of 11) sorted by relevance

/system/bt/osi/src/socket_utils/
H A Dsocket_local_client.cc37 size_t namelen; local
42 namelen = strlen(name);
45 if ((namelen + 1) > sizeof(p_addr->sun_path)) {
55 memcpy(p_addr->sun_path + 1, name, namelen);
59 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX);
61 if (namelen >
72 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX);
74 if (namelen >
84 namelen = strlen(name);
86 if (namelen >
[all...]
/system/core/libcutils/
H A Dsocket_local_client_unix.c51 size_t namelen; local
56 namelen = strlen(name);
59 if ((namelen + 1) > sizeof(p_addr->sun_path)) {
69 memcpy(p_addr->sun_path + 1, name, namelen);
73 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX);
75 if (namelen > sizeof(*p_addr)
86 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX);
88 if (namelen > sizeof(*p_addr)
98 namelen = strlen(name);
100 if (namelen > sizeo
[all...]
/system/core/sdcard/
H A Dfuse.cpp66 memset(node->name, 0xef, node->namelen);
109 size_t namelen; local
112 namelen = node->graft_pathlen;
115 namelen = node->namelen;
118 namelen = node->namelen;
121 if (bufsize < namelen + 1) {
127 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 1);
134 memcpy(buf + pathlen, name, namelen
150 size_t namelen = strlen(name); local
343 size_t namelen = strlen(name); local
387 size_t namelen = strlen(name); local
557 size_t namelen = strlen(name); local
[all...]
H A Dfuse.h124 size_t namelen; member in struct:node
129 * namelen for both fields.
H A Dsdcard.cpp246 global.root.namelen = strlen(source_path);
/system/core/liblog/
H A Dlogd_reader.c137 size_t namelen; local
142 namelen = strlen(name);
145 if ((namelen + 1) > sizeof(p_addr->sun_path)) {
155 memcpy(p_addr->sun_path + 1, name, namelen);
159 namelen = strlen(name) + strlen(FILESYSTEM_SOCKET_PREFIX);
161 if (namelen >
172 namelen = strlen(name) + strlen(ANDROID_RESERVED_SOCKET_PREFIX);
174 if (namelen >
184 namelen = strlen(name);
186 if (namelen >
[all...]
/system/core/adb/
H A Dfile_sync_service.h70 uint32_t namelen; member in struct:syncmsg::__anon1403
H A Dfile_sync_service.cpp167 msg.dent.namelen = d_name_length;
181 msg.dent.namelen = 0;
H A Dfile_sync_client.cpp625 size_t len = msg.dent.namelen;
/system/core/init/
H A Dproperty_service.cpp142 size_t namelen = name.size(); local
144 if (namelen < 1) return false;
146 if (name[namelen - 1] == '.') return false;
150 for (size_t i = 0; i < namelen; i++) {
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.cc76 uint8_t namelen; member in struct:__anon183
354 bta_hf_client_indicators[i].namelen) != 0)

Completed in 729 milliseconds