Home
last modified time | relevance | path

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

/system/incremental_delivery/incfs/
Dpath.h36 std::string_view relativize(std::string_view parent, std::string_view nested);
37 inline std::string_view relativize(const char* parent, const char* nested) { in relativize() argument
38 return relativize(std::string_view(parent), std::string_view(nested)); in relativize()
40 inline std::string_view relativize(std::string_view parent, const char* nested) { in relativize() argument
41 return relativize(parent, std::string_view(nested)); in relativize()
43 inline std::string_view relativize(const char* parent, std::string_view nested) { in relativize() argument
44 return relativize(std::string_view(parent), nested); in relativize()
47 std::string_view relativize(std::string&& parent, std::string_view nested) = delete;
48 std::string_view relativize(std::string_view parent, std::string&& nested) = delete;
Dpath.cpp163 std::string_view relativize(std::string_view parent, std::string_view nested) { in relativize() argument
164 if (!nested.starts_with(parent)) { in relativize()
165 return nested; in relativize()
167 if (nested.size() == parent.size()) { in relativize()
170 if (nested[parent.size()] != '/') { in relativize()
171 return nested; in relativize()
173 auto relative = nested.substr(parent.size()); in relativize()
/system/tools/xsdc/tests/resources/nested_type/api/
Dcurrent.txt2 package nested.type {
6 method public nested.type.Employee.Address getAddress();
10 method public void setAddress(nested.type.Employee.Address);
18 method public nested.type.Employee.Address.Extra getExtra();
19 method public nested.type.Employee.Address.ExtraAddress getExtra_address();
23 method public void setExtra(nested.type.Employee.Address.Extra);
24 method public void setExtra_address(nested.type.Employee.Address.ExtraAddress);
47 …method public static nested.type.Employee read(java.io.InputStream) throws javax.xml.datatype.Data…
55 …method public static void write(nested.type.XmlWriter, nested.type.Employee) throws java.io.IOExce…
/system/nvram/messages/tests/
Dio_test.cpp144 NestedInputStreamBuffer nested(&buf, SIZE_MAX); in TEST() local
145 EXPECT_FALSE(nested.Skip(SIZE_MAX)); in TEST()
150 NestedInputStreamBuffer nested(&buf, 5); in TEST() local
151 CheckRead(&nested, 5, 0); in TEST()
152 EXPECT_TRUE(nested.Done()); in TEST()
153 EXPECT_FALSE(nested.Skip(1)); in TEST()
158 NestedInputStreamBuffer nested(&buf, 10); in TEST() local
159 CheckRead(&nested, 10, 0); in TEST()
160 EXPECT_TRUE(nested.Done()); in TEST()
161 EXPECT_FALSE(nested.Skip(1)); in TEST()
[all …]
/system/connectivity/wificond/tests/
Dnl80211_packet_unittest.cpp252 NL80211NestedAttr nested(0); in TEST() local
253 EXPECT_TRUE(netlink_packet.GetAttribute(NL80211_ATTR_CQM, &nested)); in TEST()
254 EXPECT_TRUE(nested.GetAttributeValue(NL80211_ATTR_CQM_PKT_LOSS_EVENT, &value)); in TEST()
274 NL80211NestedAttr nested(0); in TEST() local
275 EXPECT_TRUE(netlink_packet.GetAttribute(NL80211_ATTR_STA_INFO, &nested)); in TEST()
/system/tools/xsdc/tests/resources/nested_type/
DAndroid.bp5 package_name: "nested.type",
/system/bt/gd/packet/parser/
Dfield_list.h133 FieldList Merge(FieldList nested) const { in Merge() argument
140 for (const auto& field : nested) { in Merge()
/system/tools/aidl/
Dast_cpp_unittest.cpp179 ArgList nested(std::move(args)); in TEST_F() local
180 CompareGeneratedCode(nested, "(foo())"); in TEST_F()
/system/tools/hidl/test/vendor/1.0/
Dtypes.hal50 // empty struct to test nested-type compilation
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h704 nested(false), finished(false), minalign_(1), force_defaults_(false),
726 nested = false;
888 assert(!nested);
895 nested = true;
904 assert(nested);
954 nested = false;
1079 assert(nested); // Hit if no corresponding StartVector.
1080 nested = false;
1086 nested = true;
1382 bool nested;
/system/media/camera/docs/
Dhtml.mako162 % for nested in node.namespaces:
163 ${ insert_toc_body(nested)}
239 % for nested in node.namespaces:
240 ${insert_namespace(nested)}
Dmetadata_template.mako55 % for nested in node.namespaces:
56 ${insert_namespace(nested)}
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java362 PersistableBundle nested = ret.getPersistableBundle(testPersistableBundleKey); in testRepeatNonEmptyPersistableBundle() local
363 assertThat(nested, is(notNullValue())); in testRepeatNonEmptyPersistableBundle()
364 …assertThat(nested.getInt(testNestedIntKey), is(testNestedPersistableBundle.getInt(testNestedIntKey… in testRepeatNonEmptyPersistableBundle()
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp271 auto nested = dir_path + "/couple/more/nested/levels"; in TEST_F() local
272 ASSERT_EQ(makeDirs(control_, nested), 0); in TEST_F()
273 ASSERT_TRUE(exists(nested)); in TEST_F()
/system/tools/xsdc/tests/
Dmain.cpp175 using namespace nested::type; in TEST_F()
/system/extras/simpleperf/
DAndroid.bp33 "-Wno-nested-anon-types",
/system/update_engine/
Dpylintrc360 # Maximum number of nested blocks for function / method body
361 max-nested-blocks=5
/system/extras/simpleperf/doc/
DREADME.md195 # create native_libs dir on device, and push unstripped libs in it (nested dirs are not supported).
/system/core/init/
DREADME.md683 a config file. It is not recursive, nested directories will
/system/chre/chre_api/doc/
DDoxyfile347 # any nested class or struct is added to the same group. By default this option
348 # is disabled and one has to add nested compounds explicitly via \ingroup.
/system/chre/pal/doc/
DDoxyfile347 # any nested class or struct is added to the same group. By default this option
348 # is disabled and one has to add nested compounds explicitly via \ingroup.
/system/media/audio_utils/
DDoxyfile388 # any nested class or struct is added to the same group. By default this option
389 # is disabled and one has to add nested compounds explicitly via \ingroup.