Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 16 of 16) sorted by relevance

/system/extras/kexec_tools/
Dkexecload.c74 struct kexec_segment segment[2]; in main() local
141 segment[0].buf = zimage_buffer; in main()
142 segment[0].bufsz = zimage_size; in main()
143 segment[0].mem = (void *) ((uintptr_t) start_address + KEXEC_ARM_ZIMAGE_OFFSET); in main()
144 segment[0].memsz = zimage_size; in main()
146 segment[1].buf = atag_buffer; in main()
147 segment[1].bufsz = atag_size; in main()
148 segment[1].mem = (void *) ((uintptr_t) start_address + KEXEC_ARM_ATAGS_OFFSET); in main()
149 segment[1].memsz = atag_size; in main()
152 2, (void *) segment, KEXEC_ARCH_DEFAULT | KEXEC_ON_CRASH); in main()
Dkexec.h20 struct kexec_segment *segment, unsigned long flags) { in kexec_load() argument
21 return syscall(__NR_kexec_load, entry, nr_segments, segment, flags); in kexec_load()
/system/server_configurable_flags/libflags/
Dserver_configurable_flags.cc50 static bool ValidateCharacters(const std::string& segment) { in ValidateCharacters() argument
51 for (char c : segment) { in ValidateCharacters()
59 static bool ValidateExperimentSegment(const std::string& segment) { in ValidateExperimentSegment() argument
60 return ValidateCharacters(segment) && !segment.empty() && segment[0] != '.' && in ValidateExperimentSegment()
61 *segment.rbegin() != '.'; in ValidateExperimentSegment()
/system/bt/audio_bluetooth_hw/
Dutils.cc37 for (const auto& segment : segments) { in ParseAudioParams() local
38 if (segment.length() == 0) { in ParseAudioParams()
41 std::vector<std::string> kv = android::base::Split(segment, "="); in ParseAudioParams()
43 LOG(WARNING) << __func__ << ": Invalid audio parameter " << segment; in ParseAudioParams()
/system/core/libcutils/
Dfs.cpp211 char* segment = buf + 1; in fs_mkdirs() local
212 char* p = segment; in fs_mkdirs()
217 if (!strcmp(segment, "..") || !strcmp(segment, ".") || !strcmp(segment, "")) { in fs_mkdirs()
223 if (fstatat(fd, segment, &sb, AT_SYMLINK_NOFOLLOW) != 0) { in fs_mkdirs()
226 if (mkdirat(fd, segment, mode) != 0) { in fs_mkdirs()
255 if ((next_fd = openat(fd, segment, O_NOFOLLOW | O_CLOEXEC)) == -1) { in fs_mkdirs()
265 segment = p + 1; in fs_mkdirs()
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc66 static uint8_t rw_t1t_get_lock_bits_for_segment(uint8_t segment,
197 start = p_t1t->segment * T1T_SEGMENT_SIZE; in rw_t1t_extract_lock_bytes()
816 p_t1t->segment = 0; in rw_t1t_handle_rall_rsp()
1160 p_t1t->segment = 0; in rw_t1t_handle_ndef_rall_rsp()
1176 p_t1t->segment++; in rw_t1t_handle_ndef_rall_rsp()
1187 RW_T1T_BLD_ADDS((adds), (p_t1t->segment)); in rw_t1t_handle_ndef_rall_rsp()
1234 p_t1t->segment = (p_t1t->block_read * T1T_BLOCK_SIZE) / T1T_SEGMENT_SIZE; in rw_t1t_handle_ndef_read_rsp()
1252 p_t1t->block_read = ((p_t1t->segment + 1) * T1T_BLOCKS_PER_SEGMENT) - 1; in rw_t1t_handle_ndef_read_rsp()
1277 p_t1t->segment++; in rw_t1t_handle_ndef_read_rsp()
1279 RW_T1T_BLD_ADDS((adds), (p_t1t->segment)); in rw_t1t_handle_ndef_read_rsp()
[all …]
Drw_t2t_ndef.cc421 p_t2t->segment = 0; in rw_t2t_handle_tlv_detect_rsp()
1979 lower_offset = p_t2t->segment * RW_T2T_SEGMENT_BYTES; in rw_t2t_update_attributes()
1981 upper_offset = (p_t2t->segment + 1) * RW_T2T_SEGMENT_BYTES; in rw_t2t_update_attributes()
2049 static uint8_t rw_t2t_get_lock_bits_for_segment(uint8_t segment, in rw_t2t_get_lock_bits_for_segment() argument
2071 lower_offset = segment * RW_T2T_SEGMENT_BYTES; in rw_t2t_get_lock_bits_for_segment()
2072 if (segment == 0) { in rw_t2t_get_lock_bits_for_segment()
2075 upper_offset = (segment + 1) * RW_T2T_SEGMENT_BYTES; in rw_t2t_get_lock_bits_for_segment()
2206 if (p_t2t->segment == 0) { in rw_t2t_update_lock_attributes()
2242 p_t2t->segment, &start_lock_byte, &start_lock_bit, &end_lock_byte); in rw_t2t_update_lock_attributes()
2317 p_t2t->segment = (uint8_t)(index / RW_T2T_SEGMENT_BYTES); in rw_t2t_is_lock_res_byte()
[all …]
Drw_t1t.cc936 tNFC_STATUS RW_T1tReadSeg(uint8_t segment) { in RW_T1tReadSeg() argument
946 if (segment >= T1T_MAX_SEGMENTS) { in RW_T1tReadSeg()
947 LOG(ERROR) << StringPrintf("RW_T1tReadSeg - Invalid Segment: %u", segment); in RW_T1tReadSeg()
952 RW_T1T_BLD_ADDS((adds), (segment)); in RW_T1tReadSeg()
/system/teeui/libteeui/src/
Dutils.cpp172 auto segment = b - a; in intersect() local
173 if (auto p = intersect(line, lineA, segment, a)) { in intersect()
174 auto seg_len = segment.length(); in intersect()
175 auto aDist = (segment * (*p - a)) / seg_len; in intersect()
176 if (aDist >= 0.0 && aDist < segment.length()) { in intersect()
180 bool enter = rotate90(segment) * line < 0; in intersect()
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller_test.cc102 auto segment = CreateSdu({'a', 'b', 'c', 'd'}); in TEST_F() local
104 … SegmentationAndReassembly::UNSEGMENTED, std::move(segment)); in TEST_F()
195 auto segment = CreateSdu({'a', 'b', 'c', 'd'}); in TEST_F() local
197 1, 0, Final::NOT_SET, 0, SegmentationAndReassembly::UNSEGMENTED, std::move(segment)); in TEST_F()
Denhanced_retransmission_mode_channel_data_controller.cc577 …void _send_i_frame(SegmentationAndReassembly sar, std::unique_ptr<CopyablePacketBuilder> segment, … in _send_i_frame()
583 sdu_size, std::move(segment)); in _send_i_frame()
586 std::move(segment)); in _send_i_frame()
591 std::move(segment)); in _send_i_frame()
594 std::move(segment)); in _send_i_frame()
600 …data(SegmentationAndReassembly sar, uint16_t sdu_size, std::unique_ptr<packet::RawBuilder> segment, in send_data()
602 std::shared_ptr<packet::RawBuilder> shared_segment(segment.release()); in send_data()
708 …cation(SegmentationAndReassembly sar, uint16_t sdu_size, const packet::PacketView<true>& segment) { in data_indication()
709 controller_->stage_for_reassembly(sar, sdu_size, segment); in data_indication()
Dle_credit_based_channel_data_controller_test.cc130 auto segment = CreateSdu({'a', 'b', 'c', 'd'}); in TEST_F() local
131 auto builder = FirstLeInformationFrameBuilder::Create(0x41, 4, std::move(segment)); in TEST_F()
/system/extras/simpleperf/
DETMDecoder.cpp826 for (auto& segment : segments_) { in ReadMem() local
827 if (vaddr >= segment.vaddr && vaddr + size <= segment.vaddr + segment.file_size) { in ReadMem()
828 uint64_t offset = vaddr - segment.vaddr + segment.file_offset; in ReadMem()
/system/nfc/src/nfc/include/
Drw_int.h190 uint8_t segment; /* Current Tag segment */ member
420 uint8_t segment; /* Current operating segment */ member
Drw_api.h342 extern tNFC_STATUS RW_T1tReadSeg(uint8_t segment);
/system/core/libunwindstack/
DAndroidVersions.md66 * Support for the linker read-only segment option (b/109657296).