Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11IdImpl.java38 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
41 buffers[offset + n] = sNextId++; in glGenBuffers()
54 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
56 gl.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
61 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument
63 gl11ep.glDeleteFramebuffersOES(n, buffers, offset); in glDeleteFramebuffers()
DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
20 GLES20.glGenBuffers(n, buffers, offset); in glGenBuffers()
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
33 GLES20.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset); in glDeleteFramebuffers()
DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); in glGenBuffers() argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); in glDeleteBuffers() argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); in glDeleteFramebuffers() argument
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { in glGenBuffers() argument
20 GLES20.glGenBuffers(n, buffers, offset); in glGenBuffers()
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
33 GLES20.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { in glDeleteFramebuffers() argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset); in glDeleteFramebuffers()
DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); in glGenBuffers() argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); in glDeleteBuffers() argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); in glDeleteFramebuffers() argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dsparse_table_dict_content.h33 AK_FORCE_INLINE SparseTableDictContent(const ReadWriteByteArrayView *const buffers, in SparseTableDictContent() argument
35 : mExpandableLookupTableBuffer(buffers[LOOKUP_TABLE_BUFFER_INDEX], in SparseTableDictContent()
37 mExpandableAddressTableBuffer(buffers[ADDRESS_TABLE_BUFFER_INDEX], in SparseTableDictContent()
39 mExpandableContentBuffer(buffers[CONTENT_BUFFER_INDEX], in SparseTableDictContent()
Dlanguage_model_dict_content.h135 LanguageModelDictContent(const ReadWriteByteArrayView *const buffers, in LanguageModelDictContent() argument
137 : mTrieMap(buffers[TRIE_MAP_BUFFER_INDEX]), in LanguageModelDictContent()
138 mGlobalCounters(buffers[GLOBAL_COUNTERS_BUFFER_INDEX]), in LanguageModelDictContent()
Dshortcut_dict_content.h33 ShortcutDictContent(const ReadWriteByteArrayView *const buffers) in ShortcutDictContent() argument
34 : SparseTableDictContent(buffers, Ver4DictConstants::SHORTCUT_ADDRESS_TABLE_BLOCK_SIZE, in ShortcutDictContent()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDiagnostics.java436 byte[][] buffers = e.getValue(); in toString()
440 for (int i = 0; i < buffers.length; i++) { in toString()
441 size += buffers[i].length; in toString()
446 for (int i = 0; i < buffers.length; i++) { in toString()
447 System.arraycopy(buffers[i], 0, buffer, index, buffers[i].length); in toString()
448 index += buffers[i].length; in toString()
704 byte[][] buffers = new byte[data.getNumBuffers()][]; in captureBugreport()
706 buffers[i] = data.getBuffer(i).clone(); in captureBugreport()
708 report.ringBuffers.put(buffer.name, buffers); in captureBugreport()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp48 std::vector<ReadWriteByteArrayView> buffers; in openVer4DictBuffers() local
54 buffers.push_back(buffer.subView(position, bufferSize)); in openVer4DictBuffers()
61 if (buffers.size() != Ver4DictConstants::NUM_OF_CONTENT_BUFFERS_IN_BODY_FILE) { in openVer4DictBuffers()
66 formatVersion, buffers)); in openVer4DictBuffers()
Dver4_patricia_trie_writing_helper.h34 Ver4PatriciaTrieWritingHelper(Ver4DictBuffers *const buffers) in Ver4PatriciaTrieWritingHelper() argument
35 : mBuffers(buffers) {} in Ver4PatriciaTrieWritingHelper()
Dver4_patricia_trie_node_writer.h41 Ver4DictBuffers *const buffers, const PtNodeReader *const ptNodeReader, in Ver4PatriciaTrieNodeWriter() argument
44 : mTrieBuffer(trieBuffer), mBuffers(buffers), in Ver4PatriciaTrieNodeWriter()
Dver4_patricia_trie_policy.h44 Ver4PatriciaTriePolicy(Ver4DictBuffers::Ver4DictBuffersPtr buffers) in Ver4PatriciaTriePolicy() argument
45 : mBuffers(std::move(buffers)), mHeaderPolicy(mBuffers->getHeaderPolicy()), in Ver4PatriciaTriePolicy()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DVirtualCameraFuzzer.cpp180 hidl_vec<BufferDesc_1_1> buffers(vBufferDesc_1_1); in LLVMFuzzerTestOneInput() local
181 virtualCamera->doneWithFrame_1_1(buffers); in LLVMFuzzerTestOneInput()
267 hidl_vec<BufferDesc_1_1> buffers(vBufferDesc_1_1); in LLVMFuzzerTestOneInput() local
268 virtualCamera->importExternalBuffers(buffers, [](auto _result, auto _delta) {}); in LLVMFuzzerTestOneInput()
DHalCameraFuzzer.cpp122 hidl_vec<BufferDesc_1_1> buffers; in LLVMFuzzerTestOneInput() local
124 halCamera->changeFramesInFlight(buffers, &delta); in LLVMFuzzerTestOneInput()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp139 const std::vector<TestBuffer>& buffers) { in expectMultinomialDistributionWithinTolerance() argument
146 ASSERT_EQ(buffers.size(), 1u); in expectMultinomialDistributionWithinTolerance()
158 const int32_t* outputData = buffers[0].get<int32_t>(); in expectMultinomialDistributionWithinTolerance()
196 void checkResults(const TestModel& model, const std::vector<TestBuffer>& buffers, in checkResults() argument
198 ASSERT_EQ(model.main.outputIndexes.size(), buffers.size()); in checkResults()
204 const auto& result = buffers[i]; in checkResults()
243 void checkResults(const TestModel& model, const std::vector<TestBuffer>& buffers) { in checkResults() argument
246 expectMultinomialDistributionWithinTolerance(model, buffers); in checkResults()
292 checkResults(model, buffers, criteria); in checkResults()
/packages/services/Car/service/jni/evs/
DStreamHandler.cpp189 Return<void> StreamHandler::deliverFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in deliverFrame_1_1() argument
190 LOG(DEBUG) << "Received frames from the camera, bufferId = " << buffers[0].bufferId; in deliverFrame_1_1()
193 BufferDesc_1_1 frameDesc = buffers[0]; in deliverFrame_1_1()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp349 Return<EvsResult> EvsEmulatedCamera::doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in doneWithFrame_1_1() argument
352 for (auto&& buffer : buffers) { in doneWithFrame_1_1()
450 Return<void> EvsEmulatedCamera::importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers() argument
462 auto numBuffersToAdd = buffers.size(); in importExternalBuffers()
481 auto& b = buffers[i]; in importExternalBuffers()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.h47 Ver4PatriciaTrieWritingHelper(Ver4DictBuffers *const buffers) in Ver4PatriciaTrieWritingHelper() argument
48 : mBuffers(buffers) {} in Ver4PatriciaTrieWritingHelper()
Dver4_patricia_trie_node_writer.h60 Ver4DictBuffers *const buffers, const HeaderPolicy *const headerPolicy, in Ver4PatriciaTrieNodeWriter() argument
64 : mTrieBuffer(trieBuffer), mBuffers(buffers), mHeaderPolicy(headerPolicy), in Ver4PatriciaTrieNodeWriter()
Dver4_patricia_trie_policy.h66 Ver4PatriciaTriePolicy(Ver4DictBuffers::Ver4DictBuffersPtr buffers) in Ver4PatriciaTriePolicy() argument
67 : mBuffers(std::move(buffers)), mHeaderPolicy(mBuffers->getHeaderPolicy()), in Ver4PatriciaTriePolicy()
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c65 char *buffers[MAX_SEND_BUFFS]; member
139 if (msg.param.end_page.buffers[i] != NULL) { in _send_thread()
140 free(msg.param.end_page.buffers[i]); in _send_thread()
466 msg.param.end_page.buffers[i] = buff_pool[i]; in _print_page()
/packages/services/Car/cpp/evs/sampleDriver/
DEvsV4lCamera.cpp313 Return<EvsResult> EvsV4lCamera::doneWithFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in doneWithFrame_1_1() argument
316 for (auto&& buffer : buffers) { in doneWithFrame_1_1()
457 EvsV4lCamera::importExternalBuffers(const hidl_vec<BufferDesc_1_1>& buffers, in importExternalBuffers() argument
469 auto numBuffersToAdd = buffers.size(); in importExternalBuffers()
489 auto& b = buffers[i]; in importExternalBuffers()
/packages/providers/TelephonyProvider/assets/
DREADME34 (See https://developers.google.com/protocol-buffers/docs/overview#generating)
36 …(Text Format: https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protob…
/packages/services/Car/cpp/evs/apps/default/
DStreamHandler.cpp217 Return<void> StreamHandler::deliverFrame_1_1(const hidl_vec<BufferDesc_1_1>& buffers) { in deliverFrame_1_1() argument
222 BufferDesc_1_1 bufDesc = buffers[0]; in deliverFrame_1_1()

12