Searched defs:path_len (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/ui/gfx/
H A Dcolor_profile_win.cc16 DWORD path_len = MAX_PATH; local
19 BOOL res = GetICMProfile(screen_dc, &path_len, path);
H A Dtext_elider.cc241 const size_t path_len = parsed.path.len; local
243 base::string16 url_path = url_string.substr(path_start_index, path_len);
247 url_string.substr(0, path_start_index + path_len);
/external/chromium_org/win8/delegate_execute/
H A Dcrash_server_init.cc71 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path); local
/external/qemu/android/
H A Dsnaphost-android.c94 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/chromium_org/base/
H A Dos_compat_android.cc115 const int path_len = strlen(path); local
120 if (!base::StringPiece(path, path_len).ends_with(kSuffix)) {
155 path[path_len - kSuffixLen + pos] = rand_char;
H A Dfile_util_win.cc218 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path); local
219 if (path_len >= MAX_PATH || path_len <= 0)
/external/chromium_org/chrome_frame/
H A Dcrash_server_init.cc89 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path); local
H A Dcom_type_info_holder.cc58 DWORD path_len = ::GetModuleFileNameW(reinterpret_cast<HMODULE>(&__ImageBase), local
60 if (path_len == 0 || path_len == MAX_PATH) {
/external/linux-tools-perf/util/
H A Dpath.c138 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/
H A Dhttp_auth_cache.cc182 size_t* path_len) {
191 if (path_len)
192 *path_len = it->length();
181 HasEnclosingPath(const std::string& dir, size_t* path_len) argument
/external/chromium_org/net/http/
H A Dhttp_auth_cache.cc182 size_t* path_len) {
191 if (path_len)
192 *path_len = it->length();
181 HasEnclosingPath(const std::string& dir, size_t* path_len) argument
/external/chromium/third_party/libjingle/source/talk/base/
H A Dwin32filesystem.cc442 int path_len = 0; local
445 int needed = ::GetCurrentDirectory(path_len, path.get());
451 if (needed <= path_len) {
457 path_len = needed;
/external/chromium_org/chrome/common/mac/
H A Dmock_launchd.cc197 size_t path_len = local
199 DCHECK_EQ(pipe_name_.length(), path_len);
207 sun_path) + path_len + 1;
/external/chromium_org/ipc/
H A Dipc_channel_posix_unittest.cc150 int path_len = snprintf(server_address.sun_path, IPC::kMaxSocketNameLength, local
152 DCHECK_EQ(static_cast<int>(name.length()), path_len); local
154 sun_path) + path_len + 1;
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dwin32filesystem.cc442 int path_len = 0; local
445 int needed = ::GetCurrentDirectory(path_len, path.get());
451 if (needed <= path_len) {
457 path_len = needed;
/external/chromium_org/url/
H A Dgurl.cc398 int path_len = parsed_.path.len; local
400 path_len = parsed_.query.end() - parsed_.path.begin;
402 return std::string(spec_, parsed_.path.begin, path_len);
/external/qemu/elff/
H A Delf_file.cc156 size_t path_len = strlen(path) + 1; local
157 elf_file_path_ = new char[path_len];
163 memcpy(elf_file_path_, path, path_len);
/external/chromium_org/win8/metro_driver/
H A Dfile_picker.cc214 UINT32 path_len = 0; local
216 ::WindowsGetStringRawBuffer(file_path.Get(), &path_len);
220 if (path_len < open_file_name_->nMaxFile) {
H A Dfile_picker_ash.cc144 UINT32 path_len = 0; local
146 ::WindowsGetStringRawBuffer(file_path.Get(), &path_len);
/external/bluetooth/bluedroid/btif/co/
H A Dbta_fs_co.c669 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 );
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_upnp.c316 size_t host_len, path_len; local
374 path_len = path ? os_strlen(path) : 0;
375 alloc_len = host_len + 1 + 1 + path_len + 1;
398 os_memcpy(mem, path, path_len);
/external/wpa_supplicant_8/src/wps/
H A Dwps_upnp.c316 size_t host_len, path_len; local
374 path_len = path ? os_strlen(path) : 0;
375 alloc_len = host_len + 1 + 1 + path_len + 1;
398 os_memcpy(mem, path, path_len);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_upnp.c316 size_t host_len, path_len; local
374 path_len = path ? os_strlen(path) : 0;
375 alloc_len = host_len + 1 + 1 + path_len + 1;
398 os_memcpy(mem, path, path_len);
/external/chromium/base/
H A Dfile_util_win.cc547 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);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dcode.c22 DWORD path_len; local
29 path_len = GetTempPathW (MAX_PATH, path_name);
30 if (path_len <= 0 || path_len >= MAX_PATH)

Completed in 809 milliseconds

12