Home
last modified time | relevance | path

Searched refs:path_size (Results 1 – 22 of 22) sorted by relevance

/third_party/ninja/src/
Ddeps_log.cc226 int path_size = size - 4; in Load() local
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 = node->path().size(); in RecordId() local
387 int padding = (4 - path_size % 4) % 4; // Pad path to 4 byte boundary. in RecordId()
389 unsigned size = path_size + padding + 4; in RecordId()
400 if (fwrite(node->path().data(), path_size, 1, file_) < 1) { in RecordId()
/third_party/protobuf/src/google/protobuf/io/
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/
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/
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/
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/gstreamer/gstplugins_bad/sys/shm/
Dshmpipe.c170 unsigned int path_size; member
518 cb.payload.new_shm_area.path_size = pathlen; in sp_writer_resize()
668 assert (cb.payload.new_shm_area.path_size > 0); in sp_client_recv()
671 area_name = malloc (cb.payload.new_shm_area.path_size + 1); in sp_client_recv()
673 cb.payload.new_shm_area.path_size, 0); in sp_client_recv()
674 if (retval != cb.payload.new_shm_area.path_size) { in sp_client_recv()
824 cb.payload.new_shm_area.path_size = pathlen; in sp_writer_accept_client()
/third_party/node/deps/v8/tools/v8windbg/test/
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/ffmpeg/libavformat/
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()
Davformat.h2791 char *path, int path_size,
Dutils.c4838 int *port_ptr, char *path, int path_size, const char *url) argument
4850 if (path_size > 0)
4863 av_strlcpy(path, url, path_size);
4869 av_strlcpy(path, ls, path_size);
/third_party/skia/third_party/externals/freetype/builds/mac/
Dftmac.c838 int path_size ) in lookup_lwfn_by_fond() argument
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/
Dftmac.c505 size_t path_size ) in lookup_lwfn_by_fond() argument
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/
Dannotation_test_util.cc109 annotation->path_size() != path.size()) { in FindAnnotationsOnPath()
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/
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/skia/third_party/externals/brotli/c/enc/
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/node/deps/brotli/c/enc/
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/
Dloader.c2641 size_t path_size = 0; in determine_data_file_path_size() local
2648 path_size += strlen(cur_path) + relative_path_size + 2; in determine_data_file_path_size()
2651 path_size += relative_path_size + 2; in determine_data_file_path_size()
2656 return path_size; in determine_data_file_path_size()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.pb.h5944 int path_size() const;
6352 int path_size() const;
12276 inline int SourceCodeInfo_Location::path_size() const { in path_size() function
12639 inline int GeneratedCodeInfo_Annotation::path_size() const { in path_size() function
Ddescriptor.cc6728 if (loc->path_size() < pathv.size()) { in UpdateSourceCodeInfo()
6748 for (int j = 0; j < loc->path_size(); j++) { in UpdateSourceCodeInfo()
Ddescriptor_unittest.cc7784 ASSERT_EQ(2, foo_location.path_size()); in TEST_F()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h39483 int path_size; member