Home
last modified time | relevance | path

Searched refs:path_size (Results 1 - 21 of 21) sorted by relevance

/third_party/ffmpeg/compat/
H A Dw32dlfcn.h34 DWORD path_size = 0, path_len; in get_module_filename() local
37 path_size = path_size ? FFMIN(2 * path_size, INT16_MAX + 1) : MAX_PATH; in get_module_filename()
38 new_path = av_realloc_array(path, path_size, sizeof *path); in get_module_filename()
44 // Returns path_size in case of insufficient buffer. in get_module_filename()
47 path_len = GetModuleFileNameW(module, path, path_size); in get_module_filename()
48 } while (path_len && path_size <= INT16_MAX && path_size <= path_len); in get_module_filename()
/third_party/ninja/src/
H A Ddeps_log.cc226 int path_size = size - 4; in Load()
227 assert(path_size > 0); // CanonicalizePath() rejects empty paths. in Load()
229 if (buf[path_size - 1] == '\0') --path_size; in Load()
230 if (buf[path_size - 1] == '\0') --path_size; in Load()
231 if (buf[path_size - 1] == '\0') --path_size; in Load()
232 StringPiece subpath(buf, path_size); in Load()
386 int path_size
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dprinter_unittest.cc234 const GeneratedCodeInfo::Annotation* foo = info.annotation(0).path_size() == 1 in TEST()
237 const GeneratedCodeInfo::Annotation* bar = info.annotation(0).path_size() == 1 in TEST()
240 ASSERT_EQ(1, foo->path_size()); in TEST()
241 ASSERT_EQ(2, bar->path_size()); in TEST()
274 const GeneratedCodeInfo::Annotation* foo = info.annotation(0).path_size() == 1 in TEST()
277 const GeneratedCodeInfo::Annotation* bar = info.annotation(0).path_size() == 1 in TEST()
280 ASSERT_EQ(1, foo->path_size()); in TEST()
281 ASSERT_EQ(2, bar->path_size()); in TEST()
310 ASSERT_EQ(1, foobar->path_size()); in TEST()
335 ASSERT_EQ(1, bazbam->path_size()); in TEST()
[all...]
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/
H A Damber_script.cc29 const size_t path_size = path.size(); in IsEndedWith() local
31 if (path_size < end_size) in IsEndedWith()
34 return path.compare(path_size - end_size, end_size, end) == 0; in IsEndedWith()
38 const size_t path_size = path.size(); in IsStartedWith() local
40 if (path_size < start_size) in IsStartedWith()
/third_party/libuv/docs/code/multi-echo-server/
H A Dmain.c52 size_t path_size = 500; in setup_workers() local
53 uv_exepath(worker_path, &path_size); in setup_workers()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_validator.cpp47 uint32_t path_size = GetModuleFileNameA((HINSTANCE)&__ImageBase, in load_dxil_mod() local
49 if (!path_size || path_size == sizeof(self_path)) { in load_dxil_mod()
/third_party/ffmpeg/libavformat/
H A Dutils.c360 int *port_ptr, char *path, int path_size, const char *url) in av_url_split()
372 if (path_size > 0) in av_url_split()
385 av_strlcpy(path, url, path_size); in av_url_split()
391 av_strlcpy(path, ls, path_size); in av_url_split()
357 av_url_split(char *proto, int proto_size, char *authorization, int authorization_size, char *hostname, int hostname_size, int *port_ptr, char *path, int path_size, const char *url) av_url_split() argument
H A Dlibssh.c192 static av_cold int libssh_connect(URLContext *h, const char *url, char *path, size_t path_size) in libssh_connect() argument
204 path, path_size, in libssh_connect()
208 av_strlcpy(path, "/", path_size); in libssh_connect()
H A Davformat.h2719 * @param path_size the size of the path buffer
2726 char *path, int path_size,
/third_party/node/deps/v8/tools/v8windbg/test/
H A Dv8windbg-test.cc135 DWORD path_size = GetModuleFileName(module, this_module_path, MAX_PATH); in RunTests() local
136 CHECK(path_size != 0); in RunTests()
/third_party/skia/third_party/externals/freetype/builds/mac/
H A Dftmac.c838 int path_size ) in lookup_lwfn_by_fond()
857 if ( noErr != FSRefMakePath( &par_ref, path_lwfn, path_size ) ) in lookup_lwfn_by_fond()
860 if ( ft_strlen( (char *)path_lwfn ) + 1 + base_lwfn[0] > path_size ) in lookup_lwfn_by_fond()
889 if ( ft_strlen( (char *)path_fond ) > path_size ) in lookup_lwfn_by_fond()
898 if ( i + 1 + base_lwfn[0] > path_size ) in lookup_lwfn_by_fond()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftmac.c505 size_t path_size ) in lookup_lwfn_by_fond()
521 if ( noErr != FSRefMakePath( &par_ref, path_lwfn, path_size ) ) in lookup_lwfn_by_fond()
524 if ( ft_strlen( (char *)path_lwfn ) + 1 + base_lwfn[0] > path_size ) in lookup_lwfn_by_fond()
/third_party/protobuf/src/google/protobuf/compiler/
H A Dannotation_test_util.cc109 annotation->path_size() != path.size()) { in FindAnnotationsOnPath()
H A Dparser.cc490 return location_->path_size(); in CurrentPathSize()
1676 if (info.location(j).path_size() == range_number_index + 1) { in ParseExtensions()
/third_party/skia/tests/
H A DSerializationTest.cpp871 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST() local
872 REPORTER_ASSERT(reporter, path_size > 4u); in DEF_TEST()
875 size_t storage_size = path_size - 4; in DEF_TEST()
879 storage_size = path_size; in DEF_TEST()
/third_party/node/deps/brotli/c/enc/
H A Dencode.c1279 size_t path_size; in BrotliCompressBufferQuality10() local
1285 path_size = BrotliZopfliComputeShortestPath(m, block_size, block_start, in BrotliCompressBufferQuality10()
1298 num_commands + path_size + 1); in BrotliCompressBufferQuality10()
1311 num_commands += path_size; in BrotliCompressBufferQuality10()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dencode.c1279 size_t path_size; in BrotliCompressBufferQuality10() local
1285 path_size = BrotliZopfliComputeShortestPath(m, block_size, block_start, in BrotliCompressBufferQuality10()
1298 num_commands + path_size + 1); in BrotliCompressBufferQuality10()
1311 num_commands += path_size; in BrotliCompressBufferQuality10()
/third_party/vulkan-loader/loader/
H A Dloader.c2756 size_t path_size = 0; in determine_data_file_path_size() local
2763 path_size += strlen(cur_path) + relative_path_size + 2; in determine_data_file_path_size()
2766 path_size += relative_path_size + 2; in determine_data_file_path_size()
2771 return path_size; in determine_data_file_path_size()
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.pb.h5944 int path_size() const;
6352 int path_size() const;
12276 inline int SourceCodeInfo_Location::path_size() const { in path_size() function in SourceCodeInfo_Location
12639 inline int GeneratedCodeInfo_Annotation::path_size() const { in path_size() function in GeneratedCodeInfo_Annotation
H A Ddescriptor.cc6728 if (loc->path_size() < pathv.size()) { in UpdateSourceCodeInfo()
6748 for (int j = 0; j < loc->path_size(); j++) { in UpdateSourceCodeInfo()
H A Ddescriptor_unittest.cc7784 ASSERT_EQ(2, foo_location.path_size()); in TEST_F()

Completed in 75 milliseconds