Home
last modified time | relevance | path

Searched refs:interner (Results 1 – 19 of 19) sorted by relevance

/external/perfetto/src/profiling/common/
Dinterner_unittest.cc26 Interner<std::string> interner; in TEST() local
28 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
31 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
35 Interner<std::string> interner; in TEST() local
37 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
38 Interned<std::string> other_interned_str = interner.Intern("bar"); in TEST()
42 ASSERT_EQ(interner.entry_count_for_testing(), 0u); in TEST()
46 Interner<std::string> interner; in TEST() local
48 Interned<std::string> interned_str = interner.Intern("foo"); in TEST()
50 Interned<std::string> interned_str2 = interner.Intern("foo"); in TEST()
[all …]
DBUILD.gn33 ":interner",
43 source_set("interner") {
48 sources = [ "interner.h" ]
54 ":interner",
108 ":interner",
Dinterner.h39 : data(std::forward<U...>(args...)), id(i), interner(in) {} in Entry()
53 Interner<T>* interner; member
82 entry_->interner->Return(entry_); in ~Interned()
/external/guava/guava/src/com/google/common/collect/
DInterners.java156 public static <E> Function<E, E> asFunction(Interner<E> interner) { in asFunction() argument
157 return new InternerFunction<E>(checkNotNull(interner)); in asFunction()
162 private final Interner<E> interner; field in Interners.InternerFunction
164 public InternerFunction(Interner<E> interner) { in InternerFunction() argument
165 this.interner = interner; in InternerFunction()
170 return interner.intern(input); in apply()
175 return interner.hashCode(); in hashCode()
182 return interner.equals(that.interner); in equals()
/external/guava/android/guava/src/com/google/common/collect/
DInterners.java156 public static <E> Function<E, E> asFunction(Interner<E> interner) { in asFunction() argument
157 return new InternerFunction<E>(checkNotNull(interner)); in asFunction()
162 private final Interner<E> interner; field in Interners.InternerFunction
164 public InternerFunction(Interner<E> interner) { in InternerFunction() argument
165 this.interner = interner; in InternerFunction()
170 return interner.intern(input); in apply()
175 return interner.hashCode(); in hashCode()
182 return interner.equals(that.interner); in equals()
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DInternersBenchmark.java29 Interner<String> interner = Interners.newWeakInterner(); in weakInterner() local
31 interner.intern(Double.toHexString(Math.random())); in weakInterner()
38 Interner<String> interner = Interners.newStrongInterner(); in strongInterner() local
40 interner.intern(Double.toHexString(Math.random())); in strongInterner()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DInternersBenchmark.java29 Interner<String> interner = Interners.newWeakInterner(); in weakInterner() local
31 interner.intern(Double.toHexString(Math.random())); in weakInterner()
38 Interner<String> interner = Interners.newStrongInterner(); in strongInterner() local
40 interner.intern(Double.toHexString(Math.random())); in strongInterner()
/external/perfetto/tools/trace_to_text/
Dpprof_builder.cc274 trace_processor::StringPool* interner) { in PreprocessInliningInfo() argument
288 inlines[symbol_set_id].emplace_back(interner->InternString(func_sysname), in PreprocessInliningInfo()
289 interner->InternString(filename), in PreprocessInliningInfo()
318 trace_processor::StringPool* interner, in PreprocessLocations() argument
325 PreprocessInliningInfo(tp, interner); in PreprocessLocations()
361 auto intern_function = [interner, &tracker, annotate_frames]( in PreprocessLocations()
364 std::string func_name = interner->Get(func_sysname_id).ToStdString(); in PreprocessLocations()
369 interner->InternString(base::StringView(func_name)); in PreprocessLocations()
395 intern_function(interner->InternString(func_sysname), in PreprocessLocations()
428 trace_processor::StringPool* interner) in GProfileBuilder() argument
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DInternersTest.java54 Interner<Object> interner = in testStrong_builder() local
56 InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; in testStrong_builder()
80 Interner<Object> interner = in testWeak_builder() local
82 InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; in testWeak_builder()
DBenchmarkHelpers.java387 Interner<E> interner = Interners.newWeakInterner(); in create() local
389 interner.intern(e); in create()
391 return interner; in create()
397 Interner<E> interner = Interners.newStrongInterner(); in create() local
399 interner.intern(e); in create()
401 return interner; in create()
/external/guava/guava-tests/test/com/google/common/collect/
DInternersTest.java54 Interner<Object> interner = in testStrong_builder() local
56 InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; in testStrong_builder()
80 Interner<Object> interner = in testWeak_builder() local
82 InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; in testWeak_builder()
DBenchmarkHelpers.java387 Interner<E> interner = Interners.newWeakInterner(); in create() local
389 interner.intern(e); in create()
391 return interner; in create()
397 Interner<E> interner = Interners.newStrongInterner(); in create() local
399 interner.intern(e); in create()
401 return interner; in create()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.cc409 compact_sched.interner().interned_comms_size() > in ProcessPagesForDataSource()
807 size_t iid = compact_buf->interner().InternComm(comm_ptr); in ParseSchedSwitchCompact()
832 size_t iid = compact_buf->interner().InternComm(comm_ptr); in ParseSchedWakingCompact()
Dcompact_sched.h222 CommInterner& interner() { return interner_; } in interner() function
Dcpu_reader_unittest.cc854 EXPECT_LT(0u, compact_buffer.interner().interned_comms_size()); in TEST()
/external/perfetto/src/profiling/perf/
DBUILD.gn66 "../common:interner",
/external/perfetto/src/profiling/memory/
DBUILD.gn247 "../common:interner",
/external/e2fsprogs/po/
Dde.po514 msgstr "interner Fehler: dup_blk für %llu wurde nicht gefunden\n"
523 msgstr "interner Fehler: EA-Blockliste für %llu wurde nicht gefunden"
/external/perfetto/
DAndroid.bp7013 // GN: //src/profiling/common:interner