/external/linux-tools-perf/util/ |
path.c | 138 int path_len = strlen(path), suffix_len = strlen(suffix); local 141 if (!path_len) 144 if (is_dir_sep(path[path_len - 1])) { 147 path_len = chomp_trailing_dir_sep(path, path_len); 150 else if (path[--path_len] != suffix[--suffix_len]) 154 if (path_len && !is_dir_sep(path[path_len - 1])) 156 return strndup(path, chomp_trailing_dir_sep(path, path_len));
|
/external/chromium/net/http/ |
http_auth_cache.h | 164 // space. |*path_len| is set to the length of the enclosing path if 165 // such a path exists and |path_len| is non-NULL. If no enclosing 166 // path is found, |*path_len| is left unmodified. 170 // true and set |*path_len| to 0. 171 bool HasEnclosingPath(const std::string& dir, size_t* path_len);
|
http_auth_cache.cc | 182 size_t* path_len) { 191 if (path_len) 192 *path_len = it->length();
|
/external/qemu/android/ |
snaphost-android.c | 94 const int path_len = strlen(android_hw->disk_snapStorage_path) + local 96 char* bkp_path = malloc(path_len); 98 E("Unable to allocate %d bytes for HW config path!", path_len); 102 snprintf(bkp_path, path_len, "%s.%s.ini",
|
/external/dbus/dbus/ |
dbus-object-tree.h | 58 int *path_len);
|
dbus-sysdeps-unix.c | 771 size_t path_len; local 789 path_len = strlen (path); 795 path_len++; /* Account for the extra nul byte added to the start of sun_path */ 797 if (path_len > _DBUS_MAX_SUN_PATH_LENGTH) 805 strncpy (&addr.sun_path[1], path, path_len); 816 if (path_len > _DBUS_MAX_SUN_PATH_LENGTH) 824 strncpy (addr.sun_path, path, path_len); 827 if (connect (fd, (struct sockaddr*) &addr, _DBUS_STRUCT_OFFSET (struct sockaddr_un, sun_path) + path_len) < 0) 910 size_t path_len; local 950 path_len = strlen (path) [all...] |
dbus-object-tree.c | 1070 * @param path_len length of stored path 1076 int *path_len) 1152 if (path_len) 1153 *path_len = n_components; [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
win32filesystem.cc | 442 int path_len = 0; local 445 int needed = ::GetCurrentDirectory(path_len, path.get()); 451 if (needed <= path_len) { 457 path_len = needed;
|
/external/bluetooth/bluedroid/btif/co/ |
bta_fs_co.c | 669 int err, path_len; local 674 path_len = strlen( p_path )+1; 675 BTIF_TRACE_DEBUG2( "bta_fs_co_rmdir( app_id: %d ): path_len: %d", app_id, path_len ); 677 BTIF_TRACE_DEBUG1( "bta_fs_co_rmdir():path_len: %d, p_path", app_id ); 682 dirName = (char*) calloc(1, path_len+1); 689 BTIF_TRACE_WARNING2( "bta_fs_co_rmdir( app_id: %d ) for path_len: %d::out of memory", 690 app_id, path_len ); [all...] |
/frameworks/base/cmds/installd/ |
utils.c | 841 const size_t path_len = strlen(path); local 842 if (path_len <= 0) { 851 if (path[path_len - 1] == '/') { 859 rec->len = path_len; 865 size_t dst_size = path_len + 2; 911 size_t path_len; local 925 path_len = strlen(path); 933 || (path_len > (size_t) (subdir - path) && (strchr(subdir, '/') != NULL))) {
|
/external/chromium/base/ |
file_util_win.cc | 547 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path); local 548 if (path_len >= MAX_PATH || path_len <= 0) 608 DWORD path_len = GetLongPathName(temp_name, temp_name, MAX_PATH); local 609 if (path_len > MAX_PATH + 1 || path_len == 0) { 615 temp_file_str.assign(temp_name, path_len); [all...] |
/external/qemu/elff/ |
elf_file.cc | 156 size_t path_len = strlen(path) + 1;
local 157 elf_file_path_ = new char[path_len];
163 memcpy(elf_file_path_, path, path_len);
|
/ndk/sources/host-tools/ndk-stack/elff/ |
elf_file.cc | 156 size_t path_len = strlen(path) + 1; local 157 elf_file_path_ = new char[path_len]; 163 memcpy(elf_file_path_, path, path_len);
|
/sdk/emulator/qtools/ |
trace_reader.cpp | 34 int ii, len, base_len, dir_len, path_len, qtrace_len; local 63 path_len = dir_len + base_len + qtrace_len + strlen(ext) + 1; 64 fname = new char[path_len]; [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_upnp.c | 316 size_t host_len, path_len; local 376 path_len = path ? os_strlen(path) : 0; 377 alloc_len = host_len + 1 + 1 + path_len + 1; 400 os_memcpy(mem, path, path_len); [all...] |
/external/qemu/block/ |
vvfat.c | 1742 int path_len = strlen(path); local [all...] |
/external/qemu/ |
trace.c | 233 int ii, len, base_len, dir_len, path_len, qtrace_len; local 262 path_len = dir_len + base_len + qtrace_len + strlen(ext) + 1; 263 fname = malloc(path_len); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-nodeps.jar | |