/system/logging/liblog/ |
D | log_event_list.cpp | 356 android_log_list_element elem; in android_log_read_next_internal() local 359 memset(&elem, 0, sizeof(elem)); in android_log_read_next_internal() 366 elem.type = EVENT_TYPE_UNKNOWN; in android_log_read_next_internal() 370 elem.type = EVENT_TYPE_LIST_STOP; in android_log_read_next_internal() 372 elem.complete = true; in android_log_read_next_internal() 373 return elem; in android_log_read_next_internal() 382 elem.type = EVENT_TYPE_LIST_STOP; in android_log_read_next_internal() 383 elem.complete = !context->count[0] && (!context->list_nest_depth || in android_log_read_next_internal() 399 return elem; in android_log_read_next_internal() 402 elem.type = EVENT_TYPE_UNKNOWN; in android_log_read_next_internal() [all …]
|
/system/logging/logd/ |
D | LogBufferElement.cpp | 46 LogBufferElement::LogBufferElement(const LogBufferElement& elem) in LogBufferElement() argument 47 : uid_(elem.uid_), in LogBufferElement() 48 pid_(elem.pid_), in LogBufferElement() 49 tid_(elem.tid_), in LogBufferElement() 50 sequence_(elem.sequence_), in LogBufferElement() 51 realtime_(elem.realtime_), in LogBufferElement() 52 msg_len_(elem.msg_len_), in LogBufferElement() 53 log_id_(elem.log_id_) { in LogBufferElement() 55 memcpy(msg_, elem.msg_, msg_len_); in LogBufferElement() 58 LogBufferElement::LogBufferElement(LogBufferElement&& elem) noexcept in LogBufferElement() argument [all …]
|
D | LogTags.cpp | 321 android_log_list_element elem; in ReadPersistEventLogTags() local 326 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() 327 if (elem.type != EVENT_TYPE_LIST) { in ReadPersistEventLogTags() 330 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() 331 if (elem.type != EVENT_TYPE_INT) { in ReadPersistEventLogTags() 334 Tag = elem.data.int32; in ReadPersistEventLogTags() 335 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() 336 if (elem.type != EVENT_TYPE_STRING) { in ReadPersistEventLogTags() 339 Name = std::string(elem.data.string, elem.len); in ReadPersistEventLogTags() 340 elem = android_log_read_next(ctx); in ReadPersistEventLogTags() [all …]
|
D | LogBufferElement.h | 33 LogBufferElement(const LogBufferElement& elem); 34 LogBufferElement(LogBufferElement&& elem) noexcept;
|
D | SerializedLogEntry.h | 44 SerializedLogEntry(const SerializedLogEntry& elem) = delete; 45 SerializedLogEntry& operator=(const SerializedLogEntry& elem) = delete;
|
D | SimpleLogBuffer.cpp | 104 void SimpleLogBuffer::LogInternal(LogBufferElement&& elem) { in LogInternal() argument 105 log_id_t log_id = elem.log_id(); in LogInternal() 107 logs_.emplace_back(std::move(elem)); in LogInternal()
|
D | SimpleLogBuffer.h | 53 virtual void LogInternal(LogBufferElement&& elem) REQUIRES(logd_lock);
|
/system/authgraph/core/src/ |
D | lib.rs | 65 elem: T, in vec_try_fill_with_alloc_err() 70 v.resize(len, elem); in vec_try_fill_with_alloc_err() 88 { $elem:expr ; $len:expr } => { 89 $crate::vec_try_fill_with_alloc_err($elem, $len)
|
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 70 bool XMLAssert(bool cond, const tinyxml2::XMLElement* elem, const char* msg) { in XMLAssert() argument 72 printf("%s (line %d)\n", msg, elem->GetLineNum()); in XMLAssert() 77 const std::string XMLAttribute(const tinyxml2::XMLElement* elem, const std::string key, in XMLAttribute() argument 79 if (!elem->Attribute(key.c_str())) { in XMLAttribute() 83 return elem->Attribute(key.c_str()); in XMLAttribute() 86 bool XMLYesNo(const tinyxml2::XMLElement* elem, const std::string key, bool* res, in XMLYesNo() argument 88 if (!elem->Attribute(key.c_str())) { in XMLYesNo() 92 const std::string val = elem->Attribute(key.c_str()); in XMLYesNo()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | vector_serialization.h | 33 for (const auto &elem : native_vector) { in SerializeVector() local 34 offset_vector.push_back(elem.Serialize(builder)); in SerializeVector()
|
/system/libfmq/tests/ |
D | msgq_rust_test_client.rs | 73 for (i, elem) in data.iter_mut().enumerate() { 74 *elem = i as _;
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 350 const OcsdTraceElement& elem, 383 const OcsdTraceElement& elem) override { in TraceElemIn() argument 386 callback->ProcessElement(index_sop, trc_chan_id, elem, instruction_decoder_.instr_info); in TraceElemIn() 426 const OcsdTraceElement& elem, const ocsd_instr_info*) { in ProcessElement() argument 427 return element_printer_.TraceElemIn(index_sop, trc_chan_id, elem); in ProcessElement() 452 const OcsdTraceElement& elem, in ProcessElement() argument 454 if (elem.getType() == OCSD_GEN_TRC_ELEM_INSTR_RANGE) { in ProcessElement() 456 const MapEntry* map = map_locator_.FindMap(trace_id, elem.st_addr); in ProcessElement() 461 uint64_t start_addr = map->GetVaddrInFile(elem.st_addr); in ProcessElement() 473 instr_range.end_addr = map->GetVaddrInFile(elem.en_addr - elem.last_instr_sz); in ProcessElement() [all …]
|
/system/keymaster/android_keymaster/ |
D | authorization_set.cpp | 264 bool AuthorizationSet::push_back(keymaster_key_param_t elem) { in push_back() argument 271 if (is_blob_tag(elem.tag)) { in push_back() 272 if (indirect_data_capacity_ - indirect_data_size_ < elem.blob.data_length) in push_back() 273 if (!reserve_indirect(2 * (indirect_data_capacity_ + elem.blob.data_length))) in push_back() 276 memcpy(indirect_data_ + indirect_data_size_, elem.blob.data, elem.blob.data_length); in push_back() 277 elem.blob.data = indirect_data_ + indirect_data_size_; in push_back() 278 indirect_data_size_ += elem.blob.data_length; in push_back() 281 elems_[elems_size_++] = elem; in push_back()
|
/system/logging/liblog/tests/ |
D | liblog_test.cpp | 2015 android_log_list_element elem = {}; in android_log_buffer_to_string() local 2027 elem = android_log_read_next(context); in android_log_buffer_to_string() 2028 switch ((int)elem.type) { in android_log_buffer_to_string() 2053 outCount = snprintf(strOut, strOutLen + 1, "%" PRId32, elem.data.int32); in android_log_buffer_to_string() 2068 outCount = snprintf(strOut, strOutLen + 1, "%" PRId64, elem.data.int64); in android_log_buffer_to_string() 2083 outCount = snprintf(strOut, strOutLen + 1, "%f", elem.data.float32); in android_log_buffer_to_string() 2093 elem.complete = true; in android_log_buffer_to_string() 2098 if (elem.complete) { in android_log_buffer_to_string() 2102 elem.data.string = const_cast<char*>("<unknown>"); in android_log_buffer_to_string() 2103 elem.len = strlen(elem.data.string); in android_log_buffer_to_string() [all …]
|
/system/keymint/common/src/ |
D | lib.rs | 126 { $elem:expr ; $len:expr } => { 127 kmr_wire::vec_try_fill_with_alloc_err($elem, $len, || $crate::alloc_err!($len))
|
/system/update_engine/aosp/ |
D | binder_service_android.cc | 192 [&callback](const android::sp<IUpdateEngineCallback>& elem) { in UnbindCallback() argument 193 return IUpdateEngineCallback::asBinder(elem).get() == callback; in UnbindCallback()
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 1150 byte[] elem = new byte[128]; in client() 1152 elem[j] = (byte)k; in client() 1154 in.add(elem); in client() 1169 byte[] elem = new byte[128 - i]; in client() 1171 elem[j] = (byte)k; in client() 1173 in.add(elem); in client() 1195 boolean[] elem = new boolean[128]; in client() 1197 elem[j] = (k & 4) != 0; in client() 1199 in.add(elem); in client() 1213 double[] elem = new double[128]; in client() local [all …]
|
/system/keymint/wire/src/ |
D | lib.rs | 64 elem: T, in vec_try_fill_with_alloc_err() 70 v.resize(len, elem); in vec_try_fill_with_alloc_err() 148 { $elem:expr ; $len:expr } => { 149 $crate::vec_try_fill_with_alloc_err($elem, $len, || $crate::CborError::AllocationFailed)
|
/system/tools/aidl/ |
D | parser.cpp | 294 std::find_if(stack_.begin(), stack_.end(), [&](const auto& elem) { return elem == ref; }); in IsCircularReference() argument
|
/system/nvram/messages/include/nvram/messages/ |
D | proto.hpp | 210 for (const ElementType& elem : vector) { in Encode() local 211 if (!EncodeField<ElementCodec>(elem, writer)) { in Encode()
|
/system/tools/xsdc/build/ |
D | xsdc.go | 274 for _, elem := range module.properties.Root_elements { 275 args = args + " -r " + elem
|
/system/tools/hidl/ |
D | AST.cpp | 894 [definedTypes](const auto &elem) { in addDefinedTypes() argument 895 if (!elem.second->isTypeDef()) { in addDefinedTypes() 896 definedTypes->insert(elem.first); in addDefinedTypes()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 2248 bool Verify(size_t elem, size_t elem_len) const { 2251 auto upper_bound = elem + elem_len; 2256 return Check(elem_len < size_ && elem <= size_ - elem_len); 2259 template<typename T> bool VerifyAlignment(size_t elem) const { 2260 return Check((elem & (sizeof(T) - 1)) == 0 || !check_alignment_); 2264 template<typename T> bool Verify(size_t elem) const { 2265 return VerifyAlignment<T>(elem) && Verify(elem, sizeof(T));
|
/system/core/libsparse/ |
D | output_file.cpp | 59 #define container_of(inner, outer_t, elem) ((outer_t*)((char*)(inner)-offsetof(outer_t, elem))) argument
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 367 bool push_back(keymaster_key_param_t elem);
|