/packages/modules/Virtualization/authfs/src/ |
D | common.rs | 29 alignment: usize, field 33 pub fn new(remaining: usize, offset: u64, alignment: usize) -> Self { in new() 34 ChunkedSizeIter { remaining, offset, alignment } in new() 47 self.alignment - (self.offset % self.alignment as u64) as usize, in next()
|
/packages/modules/NeuralNetworks/runtime/ |
D | CompilationBuilder.cpp | 246 uint32_t* alignment) const { in getPreferredMemoryAlignmentForInput() 247 CHECK(alignment != nullptr); in getPreferredMemoryAlignmentForInput() 264 *alignment = mPlan.getMemoryPreference(IOType::INPUT, index).alignment; in getPreferredMemoryAlignmentForInput() 291 uint32_t* alignment) const { in getPreferredMemoryAlignmentForOutput() 292 CHECK(alignment != nullptr); in getPreferredMemoryAlignmentForOutput() 309 *alignment = mPlan.getMemoryPreference(IOType::OUTPUT, index).alignment; in getPreferredMemoryAlignmentForOutput()
|
D | CompilationBuilder.h | 63 int getPreferredMemoryAlignmentForInput(uint32_t index, uint32_t* alignment) const; 65 int getPreferredMemoryAlignmentForOutput(uint32_t index, uint32_t* alignment) const;
|
D | ExecutionPlan.cpp | 181 uint32_t alignment, uint32_t padding) { in addTemporary() argument 183 *totalSizeOfTemporaries = roundUp(*totalSizeOfTemporaries, alignment); in addTemporary() 281 << ", alignment = " << temp.second.alignment in vlogDump() 288 uint32_t alignment, uint32_t padding) { in declare() argument 292 << ", initialLength = " << initialLength << ", alignment = " << alignment in declare() 299 paddedLength, alignment, padding}); in declare() 350 temp.offset = addTemporary(&newSize, temp.paddedLength, temp.alignment, kNoPadding).offset; in allocate() 1262 const auto loc = addTemporary(&totalSizeOfTemporaries, size, memoryPreference.alignment, in makeController() 1358 memoryPreference.alignment, memoryPreference.padding); in makeController() 1376 size, memoryPreference.alignment, memoryPreference.padding); in makeController() [all …]
|
D | NeuralNetworks.cpp | 1624 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput() argument 1627 if (!compilation || !alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput() 1633 return c->getPreferredMemoryAlignmentForInput(index, alignment); in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForInput() 1650 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput() argument 1653 if (!compilation || !alignment) { in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput() 1659 return c->getPreferredMemoryAlignmentForOutput(index, alignment); in ANeuralNetworksCompilation_getPreferredMemoryAlignmentForOutput()
|
/packages/services/Car/cpp/evs/support_library/ |
D | FormatConvert.cpp | 25 template<unsigned alignment> 27 static_assert((alignment && !(alignment & (alignment - 1))), in align() 30 unsigned mask = alignment - 1; in align()
|
/packages/services/Car/cpp/evs/apps/default/ |
D | FormatConvert.cpp | 22 template<unsigned alignment> 24 static_assert((alignment && !(alignment & (alignment - 1))), in align() 27 unsigned mask = alignment - 1; in align()
|
/packages/services/Car/cpp/evs/sampleDriver/ |
D | bufferCopy.cpp | 31 template<unsigned alignment> 33 static_assert((alignment && !(alignment & (alignment - 1))), in align() 36 unsigned mask = alignment - 1; in align()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestGenerated.cpp | 321 uint32_t alignment = 0, padding = 0; in validateCompilationMemoryPreferences() local 322 ASSERT_EQ(compilation.getPreferredMemoryAlignmentForInput(i, &alignment), in validateCompilationMemoryPreferences() 325 EXPECT_TRUE(isPowerOfTwo(alignment)) << "alignment: " << alignment; in validateCompilationMemoryPreferences() 330 uint32_t alignment = 0, padding = 0; in validateCompilationMemoryPreferences() local 331 ASSERT_EQ(compilation.getPreferredMemoryAlignmentForOutput(i, &alignment), in validateCompilationMemoryPreferences() 335 EXPECT_TRUE(isPowerOfTwo(alignment)) << "alignment: " << alignment; in validateCompilationMemoryPreferences()
|
D | TestNeuralNetworksWrapper.h | 315 Result getPreferredMemoryAlignmentForInput(uint32_t index, uint32_t* alignment) const { in getPreferredMemoryAlignmentForInput() argument 319 mCompilation, index, alignment))); in getPreferredMemoryAlignmentForInput() 335 Result getPreferredMemoryAlignmentForOutput(uint32_t index, uint32_t* alignment) const { in getPreferredMemoryAlignmentForOutput() argument 339 mCompilation, index, alignment))); in getPreferredMemoryAlignmentForOutput()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | OperandTypes.t | 26 %% alignment is a function of length (not data type), and assumes that there 27 %% is a maximum alignment requirement. If a new operand type is added with a 28 %% stricter alignment requirement, then `getAlignmentForLength` may need to
|
D | Types.t | 243 // For pointer buffers, the alignment is satisfied if the address of the pointer is a multiple 244 // of the "alignment" value. For memory pools, the alignment is satisfied if the offset of the 245 // sub-region specified by DataLocation is a multiple of the "alignment" value. 246 uint32_t alignment;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | MultiLineTexture.java | 40 Layout.Alignment alignment) { in newInstance() argument 43 maxWidth, alignment, 1, 0, true, null, 0); in newInstance()
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | LocalJobParams.java | 62 public int alignment = 0; field in LocalJobParams 100 + " alignment=" + alignment in toString()
|
/packages/modules/NeuralNetworks/common/ |
D | SharedMemory.cpp | 35 DataLocation MutableMemoryBuilder::append(size_t length, size_t alignment, size_t padding) { in append() argument 37 mSize = roundUp(mSize, alignment); in append()
|
D | Types.cpp | 56 const size_t alignment = getAlignmentForLength(length); in append() local 57 const size_t offset = roundUp(size(), alignment); in append()
|
D | TypeUtils.cpp | 771 return os << "MemoryPreference{.alignment=" << memoryPreference.alignment in operator <<() 967 return a.alignment == b.alignment && a.padding == b.padding; in operator ==()
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworksWrapper.h | 521 Result getPreferredMemoryAlignmentForInput(uint32_t index, uint32_t* alignment) const { argument 525 mCompilation, index, alignment))); 541 Result getPreferredMemoryAlignmentForOutput(uint32_t index, uint32_t* alignment) const { argument 545 mCompilation, index, alignment)));
|
D | NeuralNetworks.h | 2092 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment) 2162 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment)
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 438 Result getPreferredMemoryAlignmentForInput(uint32_t index, uint32_t* alignment) const { in getPreferredMemoryAlignmentForInput() argument 441 mCompilation, index, alignment)); in getPreferredMemoryAlignmentForInput() 450 Result getPreferredMemoryAlignmentForOutput(uint32_t index, uint32_t* alignment) const { in getPreferredMemoryAlignmentForOutput() argument 453 mCompilation, index, alignment)); in getPreferredMemoryAlignmentForOutput()
|
/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache.cpp | 219 constexpr size_t alignment = alignof(size_t) - 1; in align_sizet() local 220 return (size + alignment) & ~alignment; in align_sizet()
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 358 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment); 368 const ANeuralNetworksCompilation* compilation, uint32_t index, uint32_t* alignment);
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 767 int alignment = ((*env)->GetIntField(env, javaJobParams, _LocalJobParamsField__alignment)); in _convertJobParams_to_C() local 768 if (alignment != 0) { in _convertJobParams_to_C() 772 if (alignment & ((*env)->GetStaticIntField( in _convertJobParams_to_C() 777 if (alignment & ((*env)->GetStaticIntField( in _convertJobParams_to_C() 782 if (alignment & ((*env)->GetStaticIntField( in _convertJobParams_to_C() 787 if ((alignment & ((*env)->GetStaticIntField( in _convertJobParams_to_C()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | SharedMemory.h | 38 DataLocation append(size_t length, size_t alignment = kMinMemoryAlignment,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | CHANGELOG.md | 15 * Fix alignment of 64bit platforms (#328)
|