Searched refs:path_length (Results 1 – 10 of 10) sorted by relevance
/external/google-breakpad/src/common/linux/ |
D | safe_readlink_unittest.cc | 50 size_t path_length = strlen(buffer); in TEST() local 51 EXPECT_LT(0U, path_length); in TEST() 52 EXPECT_GT(sizeof(buffer), path_length); in TEST() 56 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2, path_length + 1)); in TEST() 57 EXPECT_EQ(path_length, strlen(buffer2)); in TEST() 61 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, path_length)); in TEST() 81 size_t path_length = strlen(buffer); in TEST() local 87 EXPECT_EQ(path_length, strlen(buffer2)); in TEST()
|
/external/pdfium/testing/utils/ |
D | path_service.cpp | 37 unsigned int path_length = 0; in GetExecutableDir() 38 _NSGetExecutablePath(NULL, &path_length); in GetExecutableDir() 39 if (path_length == 0) in GetExecutableDir() 42 path->reserve(path_length); in GetExecutableDir() 43 path->resize(path_length - 1); in GetExecutableDir() 44 if (_NSGetExecutablePath(&((*path)[0]), &path_length)) in GetExecutableDir()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | path.cc | 193 string::difference_type path_length = dst - path.begin(); in CleanPath() local 194 if (path_length != 0) { in CleanPath() 196 if (path_length > 1 && path[path_length - 1] == '/') { in CleanPath() 197 --path_length; in CleanPath() 199 path.resize(path_length); in CleanPath()
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | lib64.c | 62 size_t path_length, name_length; in get_long_name_buffer() local 65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer() 79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer() 82 name_length, path_length); in get_long_name_buffer() 87 if ((buffer = malloc(path_length + extra)) == NULL) { in get_long_name_buffer() 88 tst_resm(TFAIL, "malloc(%zi) failed: %s", path_length + extra, in get_long_name_buffer()
|
D | lib.c | 62 size_t path_length, name_length; in get_long_name_buffer() local 65 if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in get_long_name_buffer() 79 if ((strlen(tmp_path) + name_length + extra) > path_length) { in get_long_name_buffer() 82 name_length, path_length); in get_long_name_buffer() 87 if ((buffer = malloc(path_length + extra)) == NULL) { in get_long_name_buffer() 88 tst_resm(TFAIL, "malloc(%zi) failed: %s", path_length + extra, in get_long_name_buffer()
|
/external/webrtc/webrtc/base/ |
D | httpcommon-inl.h | 70 size_t path_length = (query - val); in do_set_full_path() local 71 if (0 == path_length) { in do_set_full_path() 76 path_.assign(val, path_length); in do_set_full_path() 78 query_.assign(query, len - path_length); in do_set_full_path()
|
/external/webrtc/webrtc/modules/desktop_capture/mac/ |
D | full_screen_chrome_window_detector.cc | 183 int path_length = proc_pidpath(pid, buffer, sizeof(buffer)); in IsChromeWindow() local 184 if (path_length <= 0) in IsChromeWindow()
|
/external/brotli/ |
D | CMakeLists.txt | 295 string(LENGTH "${path}" path_length) 310 if(path_length EQUAL value_length AND path STREQUAL value) 313 elseif(path_length GREATER value_length)
|
/external/libusb/libusb/ |
D | libusb.h | 1364 … libusb_get_port_path(libusb_context *ctx, libusb_device *dev, uint8_t* path, uint8_t path_length);
|
/external/libusb/include/libusb/ |
D | libusb.h | 1364 … libusb_get_port_path(libusb_context *ctx, libusb_device *dev, uint8_t* path, uint8_t path_length);
|