Home
last modified time | relevance | path

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

12

/external/openscreen/platform/test/
Dpaths_internal_mac.cc16 uint32_t path_size = 0; in GetExePath() local
17 _NSGetExecutablePath(nullptr, &path_size); in GetExePath()
18 OSP_DCHECK(path_size > 0u); in GetExePath()
19 std::string exe_path(path_size, 0); in GetExePath()
20 int ret = _NSGetExecutablePath(data(exe_path), &path_size); in GetExePath()
/external/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 …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h127 uptr findPath(uptr from, const BV &targets, uptr *path, uptr path_size) { in findPath() argument
128 if (path_size == 0) in findPath()
137 if (uptr res = findPath(idx, targets, path + 1, path_size - 1)) in findPath()
145 uptr path_size) { in findShortestPath() argument
146 for (uptr p = 1; p <= path_size; p++) in findShortestPath()
Dsanitizer_deadlock_detector.h311 uptr path_size) { in findPathToLock() argument
315 uptr res = g_.findShortestPath(idx, tmp_bv_, path, path_size); in findPathToLock()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_bvgraph.h128 uptr findPath(uptr from, const BV &targets, uptr *path, uptr path_size) { in findPath() argument
129 if (path_size == 0) in findPath()
138 if (uptr res = findPath(idx, targets, path + 1, path_size - 1)) in findPath()
146 uptr path_size) { in findShortestPath() argument
147 for (uptr p = 1; p <= path_size; p++) in findShortestPath()
Dsanitizer_deadlock_detector.h317 uptr path_size) { in findPathToLock() argument
321 uptr res = g_.findShortestPath(idx, tmp_bv_, path, path_size); in findPathToLock()
/external/deqp-deps/amber/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()
/external/llvm-project/openmp/runtime/src/
Dz_Windows_NT_util.cpp652 UINT path_size; in __kmp_runtime_initialize() local
719 path_size = GetSystemDirectory(path.str, path.size); in __kmp_runtime_initialize()
720 KMP_DEBUG_ASSERT(path_size > 0); in __kmp_runtime_initialize()
721 if (path_size >= path.size) { in __kmp_runtime_initialize()
723 __kmp_str_buf_reserve(&path, path_size); in __kmp_runtime_initialize()
724 path_size = GetSystemDirectory(path.str, path.size); in __kmp_runtime_initialize()
725 KMP_DEBUG_ASSERT(path_size > 0); in __kmp_runtime_initialize()
727 if (path_size > 0 && path_size < path.size) { in __kmp_runtime_initialize()
730 path.used = path_size; in __kmp_runtime_initialize()
747 if (path_size > 0 && path_size < path.size) { in __kmp_runtime_initialize()
[all …]
/external/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()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_cluster_util.cc51 int32 path_size = cycles->FindPath(dst, src, max_path_size, path.data()); in DescribeCycle() local
52 if (path_size == 0) { in DescribeCycle()
70 path.resize(path_size); in DescribeCycle()
/external/icing/icing/legacy/index/
Dicing-filesystem.cc91 const int path_size = 1024; in LogOpenFileDescriptors() local
92 char path[path_size]; in LogOpenFileDescriptors()
96 snprintf(path, path_size, "/proc/self/fd/%d", fd); in LogOpenFileDescriptors()
/external/crosvm/sys_util/src/
Dnet.rs802 let path_size = 50; in sockaddr_un_pass() localVariable
804 sockaddr_un(Path::new(&"a".repeat(path_size))).expect("sockaddr_un failed"); in sockaddr_un_pass()
805 assert_eq!(len, (sun_path_offset() + path_size + 1) as u32); in sockaddr_un_pass()
810 for path in ref_sun_path.iter_mut().take(path_size) { in sockaddr_un_pass()
/external/icing/icing/file/
Dfilesystem.cc89 const int path_size = 1024; in LogOpenFileDescriptors() local
90 char path[path_size]; in LogOpenFileDescriptors()
94 snprintf(path, path_size, "/proc/self/fd/%d", fd); in LogOpenFileDescriptors()
/external/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()
/external/skqp/tests/
DSerializationTest.cpp776 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST() local
777 REPORTER_ASSERT(reporter, path_size > 4u); in DEF_TEST()
780 size_t storage_size = path_size - 4; in DEF_TEST()
784 storage_size = path_size; in DEF_TEST()
/external/protobuf/src/google/protobuf/compiler/
Dannotation_test_util.cc109 annotation->path_size() != path.size()) { in FindAnnotationsOnPath()
Dparser.cc489 return location_->path_size(); in CurrentPathSize()
1643 if (info.location(j).path_size() == range_number_index + 1) { in ParseExtensions()
/external/skia/tests/
DSerializationTest.cpp866 size_t path_size = SkAlign4(path_effect->serialize()->size()); in DEF_TEST() local
867 REPORTER_ASSERT(reporter, path_size > 4u); in DEF_TEST()
870 size_t storage_size = path_size - 4; in DEF_TEST()
874 storage_size = path_size; in DEF_TEST()
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/
DPlatformPOSIX.cpp806 size_t path_size = path.size(); in DoLoadImage() local
809 if (path_size > buffer_size) in DoLoadImage()
810 buffer_size = path_size; in DoLoadImage()
/external/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()
/external/llvm-project/clang/include/clang/AST/
DExpr.h3466 bool path_empty() const { return path_size() == 0; } in path_empty()
3467 unsigned path_size() const { return CastExprBits.BasePathSize; } in path_size() function
3469 path_iterator path_end() { return path_buffer() + path_size(); } in path_end()
3471 path_const_iterator path_end() const { return path_buffer() + path_size(); } in path_end()
3562 return path_size(); in numTrailingObjects()
3678 return path_size(); in numTrailingObjects()
DExprCXX.h442 return path_size(); in numTrailingObjects()
1741 return path_size(); in numTrailingObjects()
/external/clang/include/clang/AST/
DExpr.h2699 unsigned path_size() const { return CastExprBits.BasePathSize; } in path_size() function
2701 path_iterator path_end() { return path_buffer() + path_size(); } in path_end()
2703 path_const_iterator path_end() const { return path_buffer() + path_size(); } in path_end()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp633 Record.push_back(E->path_size()); in VisitCastExpr()
685 if (E->path_size() == 0) in VisitImplicitCastExpr()
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp948 Record.push_back(E->path_size()); in VisitCastExpr()
1010 if (E->path_size() == 0 && !E->hasStoredFPFeatures()) in VisitImplicitCastExpr()

12