/aosp12/hardware/ril/libril/ |
H A D | rilSocketQueue.h | 56 T *front; variable 98 front = NULL; in Ril_queue() 109 temp = this->front; in dequeue() 110 if(NULL != this->front->p_next) { in dequeue() 111 this->front = this->front->p_next; in dequeue() 113 this->front = NULL; in dequeue() 125 if(NULL == this->front) { in enqueue() 126 this->front = request; in enqueue() 129 request->p_next = this->front; in enqueue() 130 this->front = request; in enqueue() [all …]
|
/aosp12/system/chre/apps/test/chqts/src/shared/ |
H A D | nano_endian.cc | 22 for (size_t front = 0, end = size - 1; front < end; front++, end--) { in swapBytes() local 23 uint8_t tmp = bytes[front]; in swapBytes() 24 bytes[front] = bytes[end]; in swapBytes()
|
/aosp12/system/core/fastboot/ |
H A D | socket_mock.cpp | 47 if (events_.front().type != EventType::kSend) { in Send() 53 if (events_.front().message != message) { in Send() 54 ADD_FAILURE() << "Send() expected " << events_.front().message << ", but got " << message; in Send() 58 bool return_value = events_.front().status; in Send() 79 const Event& event = events_.front(); in Receive() 115 if (events_.front().type != EventType::kAccept) { in Accept() 120 std::unique_ptr<Socket> sock = std::move(events_.front().sock); in Accept()
|
/aosp12/system/bt/gd/packet/parser/ |
H A D | main.cc | 182 std::cout << "parsing: " << input_files.front() << std::endl; in main() 183 if (!parse_declarations_one_file(input_files.front(), &declarations)) { in main() 184 std::cerr << "Cannot parse " << input_files.front() << " correctly" << std::endl; in main() 189 …if (!generate_rust_source_one_file(declarations, input_files.front(), include_dir, out_dir, root_n… in main() 190 std::cerr << "Didn't generate rust source for " << input_files.front() << std::endl; in main() 195 …if (!generate_cpp_headers_one_file(declarations, input_files.front(), include_dir, out_dir, root_n… in main() 196 std::cerr << "Didn't generate cpp headers for " << input_files.front() << std::endl; in main() 200 … declarations, input_files.front(), include_dir, out_dir, root_namespace, num_shards)) { in main() 201 std::cerr << "Didn't generate pybind11 sources for " << input_files.front() << std::endl; in main()
|
/aosp12/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser.cpp | 105 return event_queue_.front().event; in event() 111 return event_queue_.front().data1; in comment() 115 return event_queue_.front().line_number; in line_number() 124 return event_queue_.front().data1; in text() 133 return event_queue_.front().data1; in namespace_prefix() 142 return event_queue_.front().data2; in namespace_uri() 168 return event_queue_.front().data1; in element_namespace() 177 return event_queue_.front().data2; in element_name() 185 return event_queue_.front().attributes.begin(); in begin_attributes() 189 return event_queue_.front().attributes.end(); in end_attributes() [all …]
|
/aosp12/system/core/property_service/libpropertyinfoserializer/ |
H A D | trie_builder.cpp | 55 auto child = current_node->FindChild(name_pieces.front()); in AddToTrie() 57 child = current_node->AddChild(name_pieces.front()); in AddToTrie() 69 if (!current_node->AddExactMatchContext(name_pieces.front(), context, type)) { in AddToTrie() 74 if (!current_node->AddPrefixContext(name_pieces.front(), context, type)) { in AddToTrie() 79 auto child = current_node->FindChild(name_pieces.front()); in AddToTrie() 81 child = current_node->AddChild(name_pieces.front()); in AddToTrie()
|
/aosp12/frameworks/av/media/codec2/components/flac/ |
H A D | C2SoftFlacDec.cpp | 169 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 170 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 171 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 182 work->worklets.front()->output.configUpdate.clear(); in process() 183 work->worklets.front()->output.flags = work->input.flags; in process() 194 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 260 work->worklets.front()->output.configUpdate.push_back( in process() 262 work->worklets.front()->output.configUpdate.push_back( in process() 310 work->worklets.front()->output.flags = work->input.flags; in process() 311 work->worklets.front()->output.buffers.clear(); in process() [all …]
|
/aosp12/system/chre/util/tests/ |
H A D | debug_dump_test.cc | 39 EXPECT_TRUE(strcmp(buffers.front().get(), str) == 0); in TEST() 53 EXPECT_TRUE(strcmp(buffers.front().get(), bothStr) == 0); in TEST() 81 EXPECT_TRUE(strcmp(buffers.front().get(), str1) == 0); in TEST() 92 EXPECT_TRUE(strcmp(buffers.front().get(), str1) == 0); in TEST() 125 EXPECT_TRUE(strcmp(buffers.front().get(), str1) == 0); in TEST() 133 EXPECT_TRUE(strcmp(buffers.front().get(), str3) == 0); in TEST() 154 EXPECT_TRUE(strcmp(buffers.front().get(), bothStr) == 0); in TEST()
|
/aosp12/frameworks/av/media/codec2/components/g711/ |
H A D | C2SoftG711Dec.cpp | 140 work->worklets.front()->output.flags = work->input.flags; in process() 151 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 166 work->worklets.front()->output.flags = work->input.flags; in process() 167 work->worklets.front()->output.buffers.clear(); in process() 168 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 200 work->worklets.front()->output.flags = work->input.flags; in process() 201 work->worklets.front()->output.buffers.clear(); in process() 202 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() 203 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
/aosp12/frameworks/av/media/codec2/components/opus/ |
H A D | C2SoftOpusDec.cpp | 178 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 179 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 180 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 214 work->worklets.front()->output.configUpdate.clear(); in process() 215 work->worklets.front()->output.flags = work->input.flags; in process() 227 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 349 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 350 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process() 424 work->worklets.front()->output.flags = work->input.flags; in process() 425 work->worklets.front()->output.buffers.clear(); in process() [all …]
|
/aosp12/system/tools/aidl/ |
H A D | generate_cpp_unittest.cpp | 52 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleInterface() 60 EXPECT_NE(nullptr, defined_types.front().get()->AsInterface()); in ParseSingleInterface() 62 return defined_types.front().get()->AsInterface(); in ParseSingleInterface() 70 options_.InputFiles().front(), options_, io_delegate_, &typenames_, &imported_files); in ParseSingleEnumDeclaration() 78 EXPECT_NE(nullptr, defined_types.front().get()->AsEnumDeclaration()); in ParseSingleEnumDeclaration() 80 return defined_types.front().get()->AsEnumDeclaration(); in ParseSingleEnumDeclaration()
|
/aosp12/frameworks/compile/mclinker/include/mcld/Object/ |
H A D | SectionMap.h | 101 const_reference front() const { return m_InputList.front(); } in front() function 102 reference front() { return m_InputList.front(); } in front() function 182 const_reference front() const { return m_OutputDescList.front(); } in front() function 183 reference front() { return m_OutputDescList.front(); } in front() function
|
/aosp12/frameworks/av/media/codec2/components/mp3/ |
H A D | C2SoftMp3Dec.cpp | 336 work->worklets.front()->output.configUpdate.clear(); in process() 337 work->worklets.front()->output.flags = work->input.flags; in process() 348 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 358 work->worklets.front()->output.flags = work->input.flags; in process() 359 work->worklets.front()->output.buffers.clear(); in process() 360 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 494 work->worklets.front()->output.flags = work->input.flags; in process() 495 work->worklets.front()->output.buffers.clear(); in process() 496 work->worklets.front()->output.buffers.push_back( in process() 498 work->worklets.front()->output.ordinal = work->input.ordinal; in process() [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | StringList.h | 45 const_reference front() const { return m_Tokens.front(); } in front() function 46 reference front() { return m_Tokens.front(); } in front() function
|
H A D | SectionsCmd.h | 43 const_reference front() const { return m_SectionCommands.front(); } in front() function 44 reference front() { return m_SectionCommands.front(); } in front() function
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 209 int32_t front; in obtainBuffer() local 224 front = cblk->u.mStreaming.mFront; in obtainBuffer() 257 front &= mFrameCountP2 - 1; in obtainBuffer() 258 part1 = mFrameCountP2 - front; in obtainBuffer() 739 mFlush, flush, front, rear, in flushBufferIfNeeded() 753 mFlushed += (newFront - front) & mask; in flushBufferIfNeeded() 785 stopLast, stop, front, rear, in getRear() 809 int32_t front; in obtainBuffer() local 815 front = cblk->u.mStreaming.mFront; in obtainBuffer() 842 front &= mFrameCountP2 - 1; in obtainBuffer() [all …]
|
/aosp12/frameworks/native/libs/gui/ |
H A D | BufferQueueConsumer.cpp | 178 if (!front->mIsStale) { in acquireBuffer() 192 mCore->mActiveBuffers.erase(front->mSlot); in acquireBuffer() 202 mCore->mQueue.erase(front); in acquireBuffer() 203 front = mCore->mQueue.begin(); in acquireBuffer() 207 nsecs_t desiredPresent = front->mTimestamp; in acquireBuffer() 211 front->mFrameNumber <= maxFrameNumber : true; in acquireBuffer() 219 front->mFrameNumber, maxFrameNumber); in acquireBuffer() 264 slot = front->mSlot; in acquireBuffer() 265 *outBuffer = *front; in acquireBuffer() 293 mCore->mQueue.erase(front); in acquireBuffer() [all …]
|
/aosp12/frameworks/av/media/codec2/components/vorbis/ |
H A D | C2SoftVorbisDec.cpp | 198 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 199 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 200 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 230 work->worklets.front()->output.configUpdate.clear(); in process() 231 work->worklets.front()->output.flags = work->input.flags; in process() 243 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 305 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 428 work->worklets.front()->output.flags = work->input.flags; in process() 429 work->worklets.front()->output.buffers.clear(); in process() 430 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() [all …]
|
/aosp12/frameworks/av/media/codec2/components/gsm/ |
H A D | C2SoftGsmDec.cpp | 174 work->worklets.front()->output.flags = work->input.flags; in process() 186 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process() 196 work->worklets.front()->output.flags = work->input.flags; in process() 197 work->worklets.front()->output.buffers.clear(); in process() 198 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 234 work->worklets.front()->output.flags = work->input.flags; in process() 235 work->worklets.front()->output.buffers.clear(); in process() 236 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() 237 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
/aosp12/frameworks/av/media/codec2/components/aac/ |
H A D | C2SoftAacDec.cpp | 476 Info &outInfo = mBuffersInfo.front(); in drainRingBuffer() 560 work->worklets.front()->output.configUpdate.clear(); in process() 561 work->worklets.front()->output.flags = work->input.flags; in process() 606 work->worklets.front()->output.flags = work->input.flags; in process() 608 work->worklets.front()->output.buffers.clear(); in process() 876 work->worklets.front()->output.configUpdate.push_back( in process() 881 work->worklets.front()->output.configUpdate.push_back( in process() 895 work->worklets.front()->output.configUpdate.push_back( in process() 900 work->worklets.front()->output.configUpdate.push_back( in process() 905 work->worklets.front()->output.configUpdate.push_back( in process() [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFSegmentFactory.h | 36 const ELFSegment* front() const { return m_Segments.front(); } in front() function 37 ELFSegment* front() { return m_Segments.front(); } in front() function
|
H A D | SectionData.h | 68 reference front() { return m_Fragments.front(); } in front() function 69 const_reference front() const { return m_Fragments.front(); } in front() function
|
H A D | RelocData.h | 76 const_reference front() const { return m_Relocations.front(); } in front() function 77 reference front() { return m_Relocations.front(); } in front() function
|
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 210 pending_thunks_.front()->GetPendingOffset() == aligned_offset) { in WriteThunks() 216 if (UNLIKELY(!WriteThunk(out, pending_thunks_.front()->GetCode()))) { in WriteThunks() 219 offset = aligned_offset + pending_thunks_.front()->CodeSize(); in WriteThunks() 303 unreserved_thunks_.front()->MaxNextOffset() >= next_aligned_offset) { in ReserveSpaceInternal() 306 ThunkData* thunk = unreserved_thunks_.front(); in ReserveSpaceInternal() 311 unreserved_thunks_.front()->MaxNextOffset() >= next_aligned_offset) { in ReserveSpaceInternal() 315 thunk = unreserved_thunks_.front(); in ReserveSpaceInternal() 323 DCHECK_LE(thunk_offset - unprocessed_method_call_patches_.front().GetPatchOffset(), in ReserveSpaceInternal() 336 unreserved_thunks_.front()->MaxNextOffset() >= next_aligned_offset); in ReserveSpaceInternal() 488 uint32_t patch_offset = unprocessed_method_call_patches_.front().GetPatchOffset(); in ResolveMethodCalls() [all …]
|
/aosp12/system/bt/gd/hal/ |
H A D | hci_hal_host_test.cc | 257 auto packet = incoming_packets_queue_.front(); in TEST_F() 267 auto packet = incoming_packets_queue_.front(); in TEST_F() 277 auto packet = incoming_packets_queue_.front(); in TEST_F() 287 auto packet = incoming_packets_queue_.front(); in TEST_F() 299 auto packet = incoming_packets_queue_.front(); in TEST_F() 302 packet = incoming_packets_queue_.front(); in TEST_F() 314 auto packet = incoming_packets_queue_.front(); in TEST_F() 317 packet = incoming_packets_queue_.front(); in TEST_F() 331 auto packet = incoming_packets_queue_.front(); in TEST_F() 344 auto packet = incoming_packets_queue_.front(); in TEST_F()
|