/aosp_15_r20/system/extras/simpleperf/ |
H A D | report_utils_test.cpp | 161 std::vector<CallChainReportEntry> entries = builder.Build(thread, fake_ips, 0); in TEST_F() local 162 ASSERT_EQ(entries.size(), 2); in TEST_F() 163 ASSERT_EQ(entries[0].ip, 0x2000); in TEST_F() 164 ASSERT_STREQ(entries[0].symbol->Name(), "java_method1"); in TEST_F() 165 ASSERT_EQ(entries[0].dso->Path(), fake_dex_file_path); in TEST_F() 166 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F() 167 ASSERT_EQ(entries[0].execution_type, CallChainExecutionType::INTERPRETED_JVM_METHOD); in TEST_F() 168 ASSERT_EQ(entries[1].ip, 0x3000); in TEST_F() 169 ASSERT_STREQ(entries[1].symbol->Name(), "java_method2"); in TEST_F() 170 ASSERT_EQ(entries[1].dso->Path(), fake_dex_file_path); in TEST_F() [all …]
|
/aosp_15_r20/build/soong/java/ |
H A D | androidmk.go | 46 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) { 47 entries.SetBool("LOCAL_IS_HOST_MODULE", true) 48 entries.SetPath("LOCAL_PREBUILT_MODULE_FILE", output) 50 entries.SetPath("LOCAL_SOONG_DEX_JAR", library.dexJarFile.Path()) 52 entries.SetPath("LOCAL_SOONG_INSTALLED_MODULE", library.hostdexInstallFile) 53 entries.SetPath("LOCAL_SOONG_HEADER_JAR", library.headerJarFile) 54 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", library.implementationAndResourcesJar) 55 entries.SetString("LOCAL_MODULE_STEM", library.Stem()+"-hostdex") 92 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) { 94 entries.AddStrings("LOCAL_SOONG_LOGTAGS_FILES", library.logtagsSrcs.Strings()...) [all …]
|
/aosp_15_r20/build/soong/cc/ |
H A D | androidmk.go | 62 func (c *Module) subAndroidMk(config android.Config, entries *android.AndroidMkInfo, obj interface{… 69 androidmk.prepareAndroidMKProviderInfo(config, c, entries) 95 entries := &providerData.PrimaryInfo 97 entries.AddStrings("LOCAL_SOONG_LOGTAGS_FILES", c.logtagsPaths.Strings()...) 105 …entries.SetString("LOCAL_SYSTEM_SHARED_LIBRARIES", strings.Join(c.Properties.AndroidMkSystemShared… 107 entries.AddStrings("LOCAL_SHARED_LIBRARIES", c.Properties.AndroidMkSharedLibs...) 110 entries.AddStrings("LOCAL_RUNTIME_LIBRARIES", c.Properties.AndroidMkRuntimeLibs...) 112 entries.SetString("LOCAL_SOONG_LINK_TYPE", c.makeLinkType) 114 entries.SetBool("LOCAL_IN_VENDOR", true) 116 entries.SetBool("LOCAL_IN_PRODUCT", true) [all …]
|
/aosp_15_r20/external/jemalloc_new/test/unit/ |
H A D | qr.c | 5 /* Number of ring entries, in [2..26]. */ 18 init_entries(ring_t *entries) { in init_entries() argument 22 qr_new(&entries[i], link); in init_entries() 23 entries[i].id = 'a' + i; in init_entries() 28 test_independent_entries(ring_t *entries) { in test_independent_entries() argument 34 qr_foreach(t, &entries[i], link) { in test_independent_entries() 43 qr_reverse_foreach(t, &entries[i], link) { in test_independent_entries() 51 t = qr_next(&entries[i], link); in test_independent_entries() 52 assert_ptr_eq(t, &entries[i], in test_independent_entries() 57 t = qr_prev(&entries[i], link); in test_independent_entries() [all …]
|
H A D | ql.c | 5 /* Number of ring entries, in [2..26]. */ 47 init_entries(list_t *entries, unsigned nentries) { in init_entries() argument 51 entries[i].id = 'a' + i; in init_entries() 52 ql_elm_new(&entries[i], link); in init_entries() 57 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries) { in test_entries_list() argument 61 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch"); in test_entries_list() 62 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list() 67 assert_c_eq(t->id, entries[i].id, "Element id mismatch"); in test_entries_list() 73 assert_c_eq(t->id, entries[nentries-i-1].id, in test_entries_list() 79 t = ql_next(head, &entries[i], link); in test_entries_list() [all …]
|
/aosp_15_r20/external/icing/icing/result/ |
H A D | snippet-retriever_test.cc | 72 for (const SnippetProto::EntryProto& entry : snippet.entries()) { in GetPropertyPaths() 187 EXPECT_THAT(snippet.entries(), SizeIs(1)); in TEST_F() 188 EXPECT_THAT(snippet.entries(0).property_name(), Eq("body")); in TEST_F() 190 GetString(&document, snippet.entries(0).property_name()); in TEST_F() 191 EXPECT_THAT(GetWindows(content, snippet.entries(0)), ElementsAre("")); in TEST_F() 213 EXPECT_THAT(snippet.entries(), SizeIs(1)); in TEST_F() 214 EXPECT_THAT(snippet.entries(0).property_name(), Eq("body")); in TEST_F() 216 GetString(&document, snippet.entries(0).property_name()); in TEST_F() 217 EXPECT_THAT(GetWindows(content, snippet.entries(0)), ElementsAre("three")); in TEST_F() 239 EXPECT_THAT(snippet.entries(), SizeIs(1)); in TEST_F() [all …]
|
H A D | result-retriever-v2_snippet_test.cc | 323 EXPECT_THAT(result_snippet_one.entries(), SizeIs(2)); in TEST_F() 324 EXPECT_THAT(result_snippet_one.entries(0).property_name(), Eq("body")); in TEST_F() 326 &result_document_one, result_snippet_one.entries(0).property_name()); in TEST_F() 327 EXPECT_THAT(GetWindows(content, result_snippet_one.entries(0)), in TEST_F() 329 EXPECT_THAT(GetMatches(content, result_snippet_one.entries(0)), in TEST_F() 331 EXPECT_THAT(result_snippet_one.entries(1).property_name(), Eq("subject")); in TEST_F() 333 result_snippet_one.entries(1).property_name()); in TEST_F() 334 EXPECT_THAT(GetWindows(content, result_snippet_one.entries(1)), in TEST_F() 336 EXPECT_THAT(GetMatches(content, result_snippet_one.entries(1)), in TEST_F() 343 EXPECT_THAT(result_snippet_two.entries(), SizeIs(2)); in TEST_F() [all …]
|
/aosp_15_r20/external/MPAndroidChart/MPChartLib/src/test/java/com/github/mikephil/charting/test/ |
H A D | AxisRendererTest.java | 25 float[] entries = yAxis.mEntries; in testComputeAxisValues() local 27 assertEquals(6, entries.length); in testComputeAxisValues() 28 assertEquals(20, entries[1] - entries[0], 0.01); // interval 20 in testComputeAxisValues() 29 assertEquals(0, entries[0], 0.01); in testComputeAxisValues() 30 assertEquals(100, entries[entries.length - 1], 0.01); in testComputeAxisValues() 38 entries = yAxis.mEntries; in testComputeAxisValues() 40 assertEquals(3, entries.length); in testComputeAxisValues() 41 assertEquals(50, entries[1] - entries[0], 0.01); // interval 50 in testComputeAxisValues() 42 assertEquals(0, entries[0], 0.01); in testComputeAxisValues() 43 assertEquals(100, entries[entries.length - 1], 0.01); in testComputeAxisValues() [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/modules/HealthFitness/apk/HealthConnectLibrary/android_common_apex34/kapt/gen/stubs/com/android/healthconnect/controller/data/entries/ |
D | EntriesViewModel.java | 1 package com.android.healthconnect.controller.data.entries; 7 import com.android.healthconnect.controller.data.entries.api.ILoadDataAggregationsUseCase; 8 import com.android.healthconnect.controller.data.entries.api.ILoadDataEntriesUseCase; 9 import com.android.healthconnect.controller.data.entries.api.ILoadMedicalEntriesUseCase; 10 import com.android.healthconnect.controller.data.entries.api.ILoadMenstruationDataUseCase; 11 import com.android.healthconnect.controller.data.entries.api.LoadAggregationInput; 12 import com.android.healthconnect.controller.data.entries.api.LoadDataEntriesInput; 13 import com.android.healthconnect.controller.data.entries.api.LoadMedicalEntriesInput; 14 import com.android.healthconnect.controller.data.entries.api.LoadMenstruationDataInput; 15 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod; [all …]
|
D | AppEntriesFragment.java | 1 package com.android.healthconnect.controller.data.entries; 15 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empt… 16 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… 17 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… 18 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With; 19 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod; 20 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationView; 40 * Fragment to show health data entries by date. 43 …entries/AppEntriesFragment;", "", "()V", "adapter", "Lcom/android/healthconnect/controller/shared/… 57 …private final com.android.healthconnect.controller.data.entries.EntriesViewModel entriesViewModel$… [all …]
|
D | AllEntriesFragment.java | 1 package com.android.healthconnect.controller.data.entries; 15 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Empt… 16 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… 17 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.Load… 18 import com.android.healthconnect.controller.data.entries.EntriesViewModel.EntriesFragmentState.With; 19 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationPeriod; 20 import com.android.healthconnect.controller.data.entries.datenavigation.DateNavigationView; 38 * Fragment to show health data entries. 41 …entries/AllEntriesFragment;", "", "()V", "adapter", "Lcom/android/healthconnect/controller/shared/… 53 …private final com.android.healthconnect.controller.data.entries.EntriesViewModel entriesViewModel$… [all …]
|
/aosp_15_r20/bootable/libbootloader/gbl/libstorage/src/ |
H A D | gpt.rs | 63 /// Starting block for the partition entries array. 64 pub entries: u64, field 65 /// Number of partition entries. 69 /// CRC of the partition entries array. 93 /// Updates entries and header crc according to the given entries buffer. 94 fn update_entries_crc(&mut self, entries: &[u8]) { in update_entries_crc() 96 self.entries_crc = crc32(&entries[..size.try_into().unwrap()]); in update_entries_crc() 101 /// Computes the number of blocks for the 128 partition entries reserved space in GPT. 121 // GPT spec requires that at least 128 entries worth of space be reserved. in check_header() 123 // Minimum space needed: 2 * (header + entries) + MBR. in check_header() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/indexmap/src/map/ |
D | core.rs | 22 use crate::{Bucket, Entries, HashValue}; 28 /// entries is a dense vec of entries in their order. 29 entries: Vec<Bucket<K, V>>, field 33 fn get_hash<K, V>(entries: &[Bucket<K, V>]) -> impl Fn(&usize) -> u64 + '_ { in get_hash() 34 move |&i| entries[i].hash.get() in get_hash() 40 entries: &'a [Bucket<K, V>], in equivalent() 42 move |&i| Q::equivalent(key, &entries[i].key) in equivalent() 66 let mut entries = Vec::with_capacity(indices.capacity()); in clone() localVariable 67 entries.clone_from(&self.entries); in clone() 68 IndexMapCore { indices, entries } in clone() [all …]
|
/aosp_15_r20/external/google-fruit/include/fruit/impl/component_storage/ |
H A D | partial_component_storage.defn.h | 34 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument 35 (void)entries; in addBindings() 52 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument 53 previous_storage.addBindings(entries); in addBindings() 70 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument 71 previous_storage.addBindings(entries); in addBindings() 89 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument 90 entries.push_back(InjectorStorage::createComponentStorageEntryForBindInstance<C, C>(instance)); in addBindings() 91 previous_storage.addBindings(entries); in addBindings() 109 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() argument [all …]
|
/aosp_15_r20/external/googleapis/google/logging/v2/ |
H A D | logging.proto | 48 // Deletes all the log entries in a log for the _Default Log Bucket. The log 49 // reappears if it receives new entries. Log entries written shortly before 50 // the delete operation might not be deleted. Entries received after the 63 // Writes log entries to Logging. This API method is the 64 // only way to send log entries to Logging. This method 67 // A single request may contain log entries for a maximum of 1000 73 post: "/v2/entries:write" 76 option (google.api.method_signature) = "log_name,resource,labels,entries"; 79 // Lists log entries. Use this method to retrieve log entries that originated 81 // entries, see [Exporting [all …]
|
/aosp_15_r20/external/cpuinfo/src/x86/cache/ |
H A D | descriptor.c | 38 * "Instruction TLB: 4 KByte pages, 4-way set associative, 32 entries" in cpuinfo_x86_decode_cache_descriptor() 40 * "Instruction TLB: 4-KB Pages, 4-way set associative, 32 entries" in cpuinfo_x86_decode_cache_descriptor() 43 .entries = 32, in cpuinfo_x86_decode_cache_descriptor() 51 * "Instruction TLB: 4 MByte pages, fully associative, 2 entries" in cpuinfo_x86_decode_cache_descriptor() 53 * "Instruction TLB: 4-MB Pages, fully associative, 2 entries" in cpuinfo_x86_decode_cache_descriptor() 56 .entries = 2, in cpuinfo_x86_decode_cache_descriptor() 64 * "Data TLB: 4 KByte pages, 4-way set associative, 64 entries" in cpuinfo_x86_decode_cache_descriptor() 66 * "Data TLB: 4-KB Pages, 4-way set associative, 64 entries" in cpuinfo_x86_decode_cache_descriptor() 69 .entries = 64, in cpuinfo_x86_decode_cache_descriptor() 77 * "Data TLB: 4 MByte pages, 4-way set associative, 8 entries" in cpuinfo_x86_decode_cache_descriptor() [all …]
|
/aosp_15_r20/external/cronet/net/log/ |
H A D | net_log_unittest.cc | 44 auto entries = net_log_observer.GetEntries(); in TEST() local 45 EXPECT_EQ(0u, entries.size()); in TEST() 61 entries = net_log_observer.GetEntries(); in TEST() 62 ASSERT_EQ(2u, entries.size()); in TEST() 64 EXPECT_EQ(NetLogEventType::CANCELLED, entries[0].type); in TEST() 65 EXPECT_EQ(NetLogSourceType::NONE, entries[0].source.type); in TEST() 66 EXPECT_NE(NetLogSource::kInvalidId, entries[0].source.id); in TEST() 67 EXPECT_EQ(ticks0, entries[0].source.start_time); in TEST() 68 EXPECT_EQ(NetLogEventPhase::NONE, entries[0].phase); in TEST() 69 EXPECT_EQ(ticks0, entries[0].time); in TEST() [all …]
|
/aosp_15_r20/hardware/google/gfxstream/scripts/ |
D | generate-dispatch-headers.sh | 30 scripts/gen-entries.py --mode=$mode $entries_file --output=$output_path 53 functions_header $ENTRIES_DIR/render_egl.entries $HEADER_OUT_DIR/RenderEGL_functions.h 54 functions_header $ENTRIES_DIR/render_egl_extensions.entries $HEADER_OUT_DIR/RenderEGL_extensions_fu… 55 functions_header $ENTRIES_DIR/render_egl_snapshot.entries $HEADER_OUT_DIR/RenderEGL_snapshot_functi… 57 funcargs_header $ENTRIES_DIR/gles1_extensions.entries $HEADER_OUT_DIR/gles1_extensions_functions.h 58 funcargs_header $ENTRIES_DIR/gles1_only.entries $HEADER_OUT_DIR/gles1_only_functions.h 59 funcargs_header $ENTRIES_DIR/gles2_extensions.entries $HEADER_OUT_DIR/gles2_extensions_functions.h 60 funcargs_header $ENTRIES_DIR/gles2_only.entries $HEADER_OUT_DIR/gles2_only_functions.h 61 funcargs_header $ENTRIES_DIR/gles31_only.entries $HEADER_OUT_DIR/gles31_only_functions.h 62 funcargs_header $ENTRIES_DIR/gles3_extensions.entries $HEADER_OUT_DIR/gles3_extensions_functions.h [all …]
|
/aosp_15_r20/external/protobuf/objectivec/ |
H A D | GPBDictionary.h | 60 /** Number of entries stored in this dictionary. */ 77 * Initializes this dictionary, copying the entries from the given dictionary. 79 * @param dictionary Dictionary containing the entries to add to this dictionary. 81 * @return A newly initialized dictionary with the entries of the given dictionary. 118 * @param otherDictionary Dictionary containing entries to be added to this 139 * Removes all entries in this dictionary. 155 /** Number of entries stored in this dictionary. */ 172 * Initializes this dictionary, copying the entries from the given dictionary. 174 * @param dictionary Dictionary containing the entries to add to this dictionary. 176 * @return A newly initialized dictionary with the entries of the given dictionary. [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/objectivec/ |
H A D | GPBDictionary.h | 60 /** Number of entries stored in this dictionary. */ 77 * Initializes this dictionary, copying the entries from the given dictionary. 79 * @param dictionary Dictionary containing the entries to add to this dictionary. 81 * @return A newly initialized dictionary with the entries of the given dictionary. 118 * @param otherDictionary Dictionary containing entries to be added to this 139 * Removes all entries in this dictionary. 155 /** Number of entries stored in this dictionary. */ 172 * Initializes this dictionary, copying the entries from the given dictionary. 174 * @param dictionary Dictionary containing the entries to add to this dictionary. 176 * @return A newly initialized dictionary with the entries of the given dictionary. [all …]
|
/aosp_15_r20/external/clang/lib/CodeGen/ |
H A D | SwiftCallingConv.cpp | 262 // Fast path: we can just add entries to the end. in addEntry() 263 if (Entries.empty() || Entries.back().End <= begin) { in addEntry() 264 Entries.push_back({begin, end, type}); in addEntry() 269 // TODO: do a binary search if Entries is big enough for it to matter. in addEntry() 270 size_t index = Entries.size() - 1; in addEntry() 272 if (Entries[index - 1].End <= begin) break; in addEntry() 278 if (Entries[index].Begin >= end) { in addEntry() 282 Entries.insert(Entries.begin() + index, {begin, end, type}); in addEntry() 291 if (Entries[index].Begin == begin && Entries[index].End == end) { in addEntry() 293 if (Entries[index].Type == type) return; in addEntry() [all …]
|
/aosp_15_r20/external/pigweed/pw_tokenizer/py/pw_tokenizer/ |
H A D | tokens.py | 232 def _add_entry(entries: _TokenToEntries, entry: TokenizedStringEntry) -> None: 234 entries.setdefault(entry.token, []), 236 key=TokenizedStringEntry.key, # Keep lists of entries sorted by key. 243 def __init__(self, entries: Iterable[TokenizedStringEntry] = ()): 252 self.add(entries) 278 Returns token database entries from all domains. 286 """Returns a mapping of domains to tokens to a sequence of entries. 293 def entries(self) -> ValuesView[TokenizedStringEntry]: member in Database 301 for token, entries in self.token_to_entries.items(): 302 if len(entries) > 1: [all …]
|
/aosp_15_r20/frameworks/native/libs/input/tests/ |
H A D | TouchResampling_test.cpp | 71 void publishInputEventEntries(const std::vector<InputEventEntry>& entries); 72 void consumeInputEventEntries(const std::vector<InputEventEntry>& entries, 123 void TouchResamplingTest::publishInputEventEntries(const std::vector<InputEventEntry>& entries) { in publishInputEventEntries() argument 124 for (const InputEventEntry& entry : entries) { in publishInputEventEntries() 158 * All entries are compared against a single MotionEvent, but the same data structure 162 void TouchResamplingTest::consumeInputEventEntries(const std::vector<InputEventEntry>& entries, in consumeInputEventEntries() argument 164 ASSERT_GE(entries.size(), 1U) << "Must have at least 1 InputEventEntry to compare against"; in consumeInputEventEntries() 174 ASSERT_EQ(entries.size() - 1, motionEvent->getHistorySize()); in consumeInputEventEntries() 175 for (size_t i = 0; i < entries.size(); i++) { // most recent sample is last in consumeInputEventEntries() 177 const InputEventEntry& entry = entries[i]; in consumeInputEventEntries() [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | logging_v2.projects.sinks.html | 82 …entries to a destination. The export of newly-ingested log entries begins immediately, unless the … 109 …entries to a destination. The export of newly-ingested log entries begins immediately, unless the … 116 …entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery da… 118 …tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps,… 123 …reated, must have permission to write to the destination or else the log entries are not exported.… 124 …lse, # Optional. If set to true, then this sink is disabled and it does not export any log entries. 125 …"exclusions": [ # Optional. Log entries that match any of these exclusion filters will n… 126 …pecifies a set of log entries that are filtered out by a sink. If your Google Cloud resource recei… 129 …to True, then this exclusion is disabled and it does not exclude any log entries. You can update a… 130 …entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/a… [all …]
|
D | logging_v2.folders.sinks.html | 82 …entries to a destination. The export of newly-ingested log entries begins immediately, unless the … 109 …entries to a destination. The export of newly-ingested log entries begins immediately, unless the … 116 …entries to one of the following destinations in any project: a Cloud Storage bucket, a BigQuery da… 118 …tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps,… 123 …reated, must have permission to write to the destination or else the log entries are not exported.… 124 …lse, # Optional. If set to true, then this sink is disabled and it does not export any log entries. 125 …"exclusions": [ # Optional. Log entries that match any of these exclusion filters will n… 126 …pecifies a set of log entries that are filtered out by a sink. If your Google Cloud resource recei… 129 …to True, then this exclusion is disabled and it does not exclude any log entries. You can update a… 130 …entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/a… [all …]
|