/frameworks/base/tools/aapt2/util/ |
H A D | BigBuffer.cpp | 29 Block& block = blocks_.back(); local 30 if (block.block_size_ - block.size >= size) { 31 void* out_buffer = block.buffer.get() + block.size; 32 block.size += size; 40 Block block = {}; local 42 // Zero-allocate the block's buffer. 43 block.buffer = std::unique_ptr<uint8_t[]>(new uint8_t[actual_size]()); 44 CHECK(block 56 Block& block = blocks_.back(); local 68 Block block = {}; local [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | DataBinderWriter.kt | 23 block("class $className") { 26 block("public $className()") { 29 block("public android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent, android.view.View view, int layoutId)") { 30 block("switch(layoutId)") { 42 block("") { 46 block("if (\"${it.tag}_0\".equals(tag))") { 63 block("android.databinding.ViewDataBinding getDataBinder(android.databinding.DataBindingComponent bindingComponent, android.view.View[] views, int layoutId)") { 64 block("switch(layoutId)") { 67 block("case ${firstVal.modulePackage}.R.layout.${firstVal.layoutname}:") { 75 block("i [all...] |
/frameworks/ml/nn/runtime/test/specs/ |
H A D | depth_to_space_float_1.mod.py | 3 block = Int32Scalar("block_size", 2) variable 6 model = model.Operation("DEPTH_TO_SPACE", i1, block).To(output)
|
H A D | depth_to_space_float_2.mod.py | 3 block = Int32Scalar("block_size", 2) variable 6 model = model.Operation("DEPTH_TO_SPACE", i1, block).To(output)
|
H A D | depth_to_space_float_3.mod.py | 3 block = Int32Scalar("block_size", 2) variable 6 model = model.Operation("DEPTH_TO_SPACE", i1, block).To(output)
|
H A D | depth_to_space_quant8_1.mod.py | 3 block = Int32Scalar("radius", 2) variable 6 model = model.Operation("DEPTH_TO_SPACE", i1, block).To(output)
|
H A D | depth_to_space_quant8_2.mod.py | 3 block = Int32Scalar("radius", 2) variable 6 model = model.Operation("DEPTH_TO_SPACE", i1, block).To(output)
|
H A D | space_to_depth_float_1.mod.py | 3 block = Int32Scalar("block_size", 2) variable 6 model = model.Operation("SPACE_TO_DEPTH", i1, block).To(output)
|
H A D | space_to_depth_float_2.mod.py | 3 block = Int32Scalar("block_size", 2) variable 6 model = model.Operation("SPACE_TO_DEPTH", i1, block).To(output)
|
H A D | space_to_depth_float_3.mod.py | 3 block = Int32Scalar("block_size", 2) variable 6 model = model.Operation("SPACE_TO_DEPTH", i1, block).To(output)
|
H A D | space_to_depth_quant8_1.mod.py | 3 block = Int32Scalar("radius", 2) variable 6 model = model.Operation("SPACE_TO_DEPTH", i1, block).To(output)
|
H A D | space_to_depth_quant8_2.mod.py | 3 block = Int32Scalar("radius", 2) variable 6 model = model.Operation("SPACE_TO_DEPTH", i1, block).To(output)
|
/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 80 BufferBlock* block = mFreeBlocks; local 81 while (block) { 82 BufferBlock* next = block->next; 83 delete block; 84 block = next; 138 BufferBlock* block = new BufferBlock(patch->positionOffset, patch->getSize()); local 139 block->next = mFreeBlocks; 140 mFreeBlocks = block; 179 // Find a block where we can fit the mesh 181 BufferBlock* block local 254 BufferBlock* block = mFreeBlocks; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ConditionVariable.java | 25 * open(), close() and block() are sticky. If open() is called before block(), 26 * block() will not block, and instead return immediately. 59 * Any threads that later approach block() will not block unless close() 77 * Any threads that call block() will block until someone calls open. 92 public void block() method in class:ConditionVariable 117 public boolean block(lon method in class:ConditionVariable [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | CallbackWrapperWriter.kt | 48 block("public final class $className $extendsImplements ${klass.canonicalName}") { 52 block("public $className($listenerInterfaceName listener, int sourceId)") { 58 block("public ${method.returnType.canonicalName} ${method.name}(${wrapper.argsWithTypes()})") { 67 block("public interface $listenerInterfaceName") {
|
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 73 if (block == 0 || block > maxBlock) { 74 block = maxBlock; 76 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)]; 80 if (count > block) { 81 count = block; 100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, size_t block) argument 109 if (block == 0 || block > maxBloc [all...] |
H A D | AudioBufferProviderSource.cpp | 82 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, size_t block) argument 87 if (CC_UNLIKELY(block == 0)) { 88 block = ~0; 96 if (CC_LIKELY(count > block)) { 97 count = block; 99 // 1 <= count <= block 108 // FIXME simplify logic - does the initial count and block checks again for no reason;
|
/frameworks/base/libs/androidfw/tests/ |
H A D | AppAsLib_test.cpp | 38 ssize_t block = table.getResource(app::R::integer::number1, &val); local 39 ASSERT_GE(block, 0); 57 ssize_t block = table.getResource(lib::R::integer::number1, &val); local 58 ASSERT_GE(block, 0); 76 ssize_t block = table.getResource(lib::R::integer::number1, &val); local 77 ASSERT_GE(block, 0);
|
H A D | Idmap_test.cpp | 64 ssize_t block = target_table_.getResource(R::string::test2, &val, false); local 65 ASSERT_GE(block, 0); 67 const ResStringPool* pool = target_table_.getTableStringBlock(block); 81 ASSERT_NE(block, new_block); 117 ssize_t block = table.getResource(kNonOverlaidResourceId, &val, false /*mayBeBag*/); local 118 ASSERT_GE(block, 0); 123 block = target_table_.getResource(kNonOverlaidResourceId, &val, false /*mayBeBag*/); 124 ASSERT_LT(block, 0);
|
H A D | Split_test.cpp | 87 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, local 90 // The returned block should tell us which string pool to get the value, if it 92 EXPECT_GE(block, 0); 115 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, local 118 EXPECT_GE(block, 0); 164 ssize_t block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, local 166 EXPECT_GE(block, 0); 174 block = table.getResource(R::string::test1, &val, MAY_NOT_BE_BAG, 0, 176 ASSERT_GE(block, 0); 219 ssize_t block local [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | HlsSampleDecryptor.cpp | 117 // encrypted_block: protected block uses 10% skip encryption 310 ALOGE("decryptBlock: size (%zu) not a multiple of block size", size); 321 AString HlsSampleDecryptor::aesBlockToStr(uint8_t block[AES_BLOCK_SIZE]) { 324 if (block == NULL) { 328 block[0], block[1], block[2], block[3], block[4], block[ [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_image.c | 47 /* x- and y-coordinates for each block, defined in h264bsd_intra_prediction.c */ 183 u32 block; local 209 for (block = 0; block < 16; block++) 211 x = h264bsdBlockX[block]; 212 y = h264bsdBlockY[block]; 214 pRes = residual[block]; 230 /* Residual is zero => copy prediction block to output */ 274 for (block [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AttributeResolution.cpp | 109 ssize_t block = -1; local 131 block = def_style_entry->stringBlock; 144 theme->resolveAttributeReference(&value, block, &resid, &type_set_flags, &config); 145 if (new_block >= 0) block = new_block; 158 if (new_block >= 0) block = new_block; 172 block = -1; 183 block != -1 ? static_cast<uint32_t>(res.getTableCookie(block)) 292 ssize_t block = kXmlBlock; local 318 block 433 ssize_t block = kXmlBlock; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastcodemb.h | 32 Int(*DCT)(Int block[ ], Int coeff[ ], approxDCT *); 55 Int getBlockSAV(Int block[]); 60 Int AppVCA1_dct(Int block[], Int out[ ], approxDCT *function); 61 Int AppVCA2_dct(Int block[], Int out[ ], approxDCT *function); 62 Int AppVCA3_dct(Int block[], Int out[ ], approxDCT *function); 63 Int AppVCA4_dct(Int block[], Int out[ ], approxDCT *function); 64 Int AppVCA5_dct(Int block[], Int out[ ], approxDCT *function); 97 void BlockIDCTMotionComp(Int *block, UChar *bitmapcol, UChar bitmaprow,
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 305 ResXMLTree& block, bool _appendComment) 307 , sourcePos(in->getPrintableSource(), block.getLineNumber()) 331 ResXMLTree& block, 337 PendingAttribute attr(myPackage, in, block, inStyleable); 350 ssize_t identIdx = block.indexOfAttribute(NULL, "name"); 352 attr.ident = String16(block.getAttributeStringValue(identIdx, &len)); 362 block.getComment(&len) ? block.getComment(&len) : nulStr); 364 ssize_t typeIdx = block.indexOfAttribute(NULL, "format"); 366 String16 typeStr = String16(block 330 compileAttribute(const sp<AaptFile>& in, ResXMLTree& block, const String16& myPackage, ResourceTable* outTable, String16* outIdent = NULL, bool inStyleable = false) argument 591 parseAndAddBag(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& parentIdent, const String16& itemIdent, int32_t curFormat, bool isFormatted, const String16& , PseudolocalizationMethod pseudolocalize, const bool overwrite, ResourceTable* outTable) argument 688 parseAndAddEntry(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& curTag, bool curIsStyled, int32_t curFormat, bool isFormatted, const String16& product, PseudolocalizationMethod pseudolocalize, const bool overwrite, KeyedVector<type_ident_pair_t, bool>* skippedResourceNames, ResourceTable* outTable) argument 787 ResXMLTree block; local [all...] |