Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 110) sorted by relevance

12345

/system/core/libutils/include/utils/
DFastStrcmp.h43 static inline int fastcmp(const char* l, const char* r, const size_t s) { in fastcmp()
50 static inline int fasticmp(const char* l, const char* r, const size_t s) { in fasticmp()
59 const char* r = static_cast<const char*>(rv); in fastcmp() local
66 static inline int fastcmp(const char* l, const char* r) { in fastcmp()
71 static inline int fasticmp(const char* l, const char* r) { in fasticmp()
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/
DITestService.rs674 …pub const r#UnimplementedMethod: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST… constant
675 …pub const r#Deprecated: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TRA… constant
676 …pub const r#TestOneway: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TRA… constant
677 …pub const r#RepeatBoolean: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_… constant
678 …pub const r#RepeatByte: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TRA… constant
679 …pub const r#RepeatChar: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TRA… constant
680 …pub const r#RepeatInt: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TRAN… constant
681 …pub const r#RepeatLong: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TRA… constant
682 …pub const r#RepeatFloat: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TR… constant
683 …pub const r#RepeatDouble: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_T… constant
[all …]
DStructuredParcelable.rs61 pub const r#BIT0: i32 = 1; constant
62 pub const r#BIT1: i32 = 2; constant
63 pub const r#BIT2: i32 = 4; constant
/system/extras/simpleperf/
Drecord_test.cpp63 SampleRecord r(event_attr, 0, 1, 0, 0, 0, 0, 0, {}, {}, {}, 0); in TEST_F() local
124 SampleRecord r(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, {1}, std::vector<char>(stack_size), 10); in TEST_F() local
135 SampleRecord r(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, {1, PERF_CONTEXT_USER, 2}, {}, 0); in TEST_F() local
145 SampleRecord r(event_attr, 0, 1, 2, 3, 4, 5, 6, {}, {1, 5, 0, PERF_CONTEXT_USER, 6, 0}, {}, 0); in TEST_F() local
166 SampleRecord r(event_attr, 0, 1, 2, 3, 4, 5, 6, read_data, {}, {}, 0); in TEST_F() local
184 CommRecord r(event_attr, 1, 2, "init_name", 3, 4); in TEST_F() local
DMapRecordReader_test.cpp38 reader_->SetCallback([this](Record* r) { return CountRecord(r); }); in CreateMapRecordReader()
42 bool CountRecord(Record* r) { in CountRecord()
81 ASSERT_TRUE(thread.ReadMapRecords([this](Record* r) { return CountRecord(r); })); in TEST_F()
Dthread_tree.cpp391 const MmapRecord& r = *static_cast<const MmapRecord*>(&record); in Update() local
398 const Mmap2Record& r = *static_cast<const Mmap2Record*>(&record); in Update() local
408 const CommRecord& r = *static_cast<const CommRecord*>(&record); in Update() local
411 const ForkRecord& r = *static_cast<const ForkRecord*>(&record); in Update() local
415 const ExitRecord& r = *static_cast<const ExitRecord*>(&record); in Update() local
419 const auto& r = *static_cast<const KernelSymbolRecord*>(&record); in Update() local
Dcmd_debug_unwind.cpp242 [&](std::unique_ptr<Record> r) { return ProcessRecord(std::move(r)); })) { in Process()
252 bool ProcessRecord(std::unique_ptr<Record> r) { in ProcessRecord()
303 bool UnwindRecord(const SampleRecord& r, const PerfSampleRegsUserType& regs, in UnwindRecord()
377 [&](std::unique_ptr<Record> r) { return ProcessRecord(std::move(r)); })) { in Process()
383 bool ProcessRecord(std::unique_ptr<Record> r) { in ProcessRecord()
403 bool WriteMapsForSample(const SampleRecord& r) { in WriteMapsForSample()
522 [&](std::unique_ptr<Record> r) { return ProcessRecord(std::move(r)); })) { in Process()
529 bool ProcessRecord(std::unique_ptr<Record> r) { in ProcessRecord()
DMapRecordReader.cpp102 map_record_reader_.SetCallback([this](Record* r) { return WriteRecordToFile(r); }); in MapRecordThread()
179 auto r = ReadRecordFromBuffer(map_record_reader_.Attr(), header.type, buffer.data(), in ReadMapRecords() local
Dcmd_monitor.cpp257 map_record_reader_->SetCallback([this](Record* r) { return ProcessRecord(r); }); in PrepareMonitoring()
506 auto& r = *static_cast<SampleRecord*>(record); in ProcessRecord() local
593 auto r = static_cast<CommRecord*>(record); in UpdateRecord() local
603 bool MonitorCommand::UnwindRecord(SampleRecord& r) { in UnwindRecord()
Dcmd_record.cpp1423 map_record_reader_->SetCallback([this](Record* r) { return ProcessRecord(r); }); in CreateAndInitRecordFile()
1446 KernelSymbolRecord r(kallsyms); in DumpKernelSymbol() local
1612 auto& r = *static_cast<SampleRecord*>(record); in SaveRecordAfterUnwinding() local
1634 auto& r = *static_cast<SampleRecord*>(record); in SaveRecordWithoutUnwinding() local
1710 void UpdateMmapRecordForEmbeddedPath(RecordType& r, bool has_prot, uint32_t prot) { in UpdateMmapRecordForEmbeddedPath()
1758 auto r = static_cast<Mmap2Record*>(record); in UpdateRecord() local
1761 auto r = static_cast<CommRecord*>(record); in UpdateRecord() local
1771 bool RecordCommand::UnwindRecord(SampleRecord& r) { in UnwindRecord()
1812 bool RecordCommand::KeepFailedUnwindingResult(const SampleRecord& r, in KeepFailedUnwindingResult()
1866 auto callback = [this](Record* r) { in MergeMapRecords()
[all …]
Dcmd_report.cpp166 virtual void ReportCmdProcessSampleRecord(std::shared_ptr<SampleRecord>& r) { in ReportCmdProcessSampleRecord()
170 virtual void ReportCmdProcessSampleRecord(const SampleRecord& r) { in ReportCmdProcessSampleRecord()
177 SampleEntry* CreateSample(const SampleRecord& r, bool in_kernel, AccInfo* acc_info) override { in CreateSample()
192 SampleEntry* CreateBranchSample(const SampleRecord& r, const BranchStackItemType& item) override { in CreateBranchSample()
275 std::vector<uint64_t> GetCountsForSample(const SampleRecord& r) { in GetCountsForSample()
319 uint64_t GetPeriod(const SampleRecord& r) override { return r.period_data.period; } in GetPeriod()
330 void ReportCmdProcessSampleRecord(std::shared_ptr<SampleRecord>& r) override { in ReportCmdProcessSampleRecord()
343 uint64_t GetPeriod(const SampleRecord& r) override { in GetPeriod()
969 const auto& r = *static_cast<TracingDataRecord*>(record.get()); in ProcessRecord() local
979 std::shared_ptr<SampleRecord> r(static_cast<SampleRecord*>(record.release())); in ProcessSampleRecordInTraceOffCpuMode() local
DRecordReadThread_test.cpp171 SampleRecord* r = new SampleRecord(attr, i, i + 1, i + 2, i + 3, i + 4, i + 5, i + 6, {}, {}, in CreateFakeRecords() local
301 std::unique_ptr<Record> r = thread.GetRecord(); in TEST_F() local
335 auto read_record = [&](std::unique_ptr<Record>& r) { in TEST_F()
347 std::unique_ptr<Record> r; in TEST_F() local
386 std::unique_ptr<Record> r = thread.GetRecord(); in TEST_F() local
445 while (auto r = thread.GetRecord()) { in TEST_F() local
534 std::unique_ptr<Record> r = thread.GetRecord(); in TEST_F() local
DRecordFilter_test.cpp143 SampleRecord* r = GetRecord(1, 1); in TEST_F() local
168 SampleRecord* r = GetRecord(1, 1); in TEST_F() local
191 SampleRecord* r = GetRecord(1, 1); in TEST_F() local
/system/core/libutils/
DErrors_test.cpp59 auto r = f(true); in TEST() local
75 auto r = f(true); in TEST() local
121 auto r = f(false); in TEST() local
135 auto r = f(false); in TEST() local
149 auto r = f(false); in TEST() local
169 auto r = f(false); in TEST() local
/system/media/audio/include/system/audio_effects/
Daidl_effects_utils.h44 for (const auto& r : ranges) { in inRange() local
65 for (const auto& r : ranges) { in isRangeValid() local
/system/core/trusty/storage/proxy/
Dstorage.c184 int storage_file_delete(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_delete()
250 int storage_file_open(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_open()
382 int storage_file_close(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_close()
422 int storage_file_write(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_write()
461 int storage_file_read(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_read()
500 int storage_file_get_size(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_get_size()
533 int storage_file_set_size(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_set_size()
562 int storage_file_get_max_size(struct storage_msg* msg, const void* r, size_t req_len, in storage_file_get_max_size()
/system/media/audio_utils/tests/
Dgetch.c46 int r; in getch() local
/system/core/fastboot/
Dresult.h45 inline T Expect(Result<T, U> r) { in Expect()
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-rust-source/gen/android/aidl/versioned/tests/
DIFooInterface.rs109 …pub const r#originalApi: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CALL_TR… constant
110 …pub const r#acceptUnionAndReturnString: binder::binder_impl::TransactionCode = binder::binder_impl… constant
111 …pub const r#ignoreParcelablesAndRepeatInt: binder::binder_impl::TransactionCode = binder::binder_i… constant
112 …pub const r#returnsLengthOfFooArray: binder::binder_impl::TransactionCode = binder::binder_impl::F… constant
113 …pub const r#getInterfaceVersion: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST… constant
114 …pub const r#getInterfaceHash: binder::binder_impl::TransactionCode = binder::binder_impl::FIRST_CA… constant
/system/tools/aidl/tests/
Daidl_test_client_nested.cpp47 NestedResult r; in TEST_F() local
/system/chre/external/kiss_fft/
Dkiss_fft.h52 kiss_fft_scalar r; member
/system/core/fs_mgr/liblp/
Dutility_test.cpp64 uint64_t r; in AlignTo() local
99 bool operator==(const LinearExtent& l, const LinearExtent& r) { in operator ==()
/system/media/audio_utils/
Dminifloat.c44 float r = frexpf(v, &exp); in gain_from_float() local
/system/media/audio_utils/include/audio_utils/
DBalance.h160 const T r = T(1) / (f(1) - f0); // reciprocal multiplication in normalize() local
/system/core/toolbox/
Dgenerate-input.h-labels.py39 r = re.compile(r'#define\s+(\S+)\s+((?:0x)?\d+)') variable

12345