/external/boringssl/src/crypto/cipher_extra/ |
e_aesctrhmac.c | 33 block128_f block; member in struct:aead_aes_ctr_hmac_sha256_ctx 41 uint8_t block[SHA256_CBLOCK]; local 42 OPENSSL_memcpy(block, hmac_key, hmac_key_len); 43 OPENSSL_memset(block + hmac_key_len, 0x36, sizeof(block) - hmac_key_len); 47 block[i] ^= 0x36; 51 SHA256_Update(out_inner, block, sizeof(block)); 53 OPENSSL_memset(block + hmac_key_len, 0x5c, sizeof(block) - hmac_key_len) [all...] |
/external/libdrm/intel/ |
mm.c | 64 struct mem_block *heap, *block; local 73 block = (struct mem_block *)calloc(1, sizeof(struct mem_block)); 74 if (!block) { 79 heap->next = block; 80 heap->prev = block; 81 heap->next_free = block; 82 heap->prev_free = block; 84 block->heap = heap; 85 block->next = heap; 86 block->prev = heap [all...] |
/external/libvpx/libvpx/ |
webmdec.cc | 40 webm_ctx->block = NULL; 132 const mkvparser::Block *block = local 133 reinterpret_cast<const mkvparser::Block *>(webm_ctx->block); 153 } else if (block == NULL || 154 webm_ctx->block_frame_index == block->GetFrameCount() || 155 block->GetTrackNumber() != webm_ctx->video_track_index) { 167 block = block_entry->GetBlock(); 168 if (block == NULL) return -1 [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_mm.c | 72 struct mem_block *heap, *block; local 81 block = CALLOC_STRUCT(mem_block); 82 if (!block) { 87 heap->next = block; 88 heap->prev = block; 89 heap->next_free = block; 90 heap->prev_free = block; 92 block->heap = heap; 93 block->next = heap; 94 block->prev = heap [all...] |
/external/mesa3d/src/mesa/main/ |
mm.c | 63 struct mem_block *heap, *block; local 72 block = calloc(1, sizeof(struct mem_block)); 73 if (!block) { 78 heap->next = block; 79 heap->prev = block; 80 heap->next_free = block; 81 heap->prev_free = block; 83 block->heap = heap; 84 block->next = heap; 85 block->prev = heap [all...] |
/external/v8/src/crankshaft/ |
hydrogen-environment-liveness.cc | 48 HBasicBlock* block, BitVector* live) { 51 for (HSuccessorIterator it(block->end()); !it.Done(); it.Advance()) { 65 block->last_environment()->closure())); 84 HBasicBlock* block, 86 // Liveness at the end of each block: union of liveness in successors. 88 for (HSuccessorIterator it(block->end()); !it.Done(); it.Advance()) { 135 // target block. Here we make use of the fact that the end of an 137 // HGoto (to return_target block), with no environment lookups in 162 // for each block until it doesn't change any more. For efficiency, visit 163 // blocks in reverse order and walk backwards through each block. W 178 HBasicBlock* block = graph()->blocks()->at(block_id); local 210 HBasicBlock* block = graph()->blocks()->at(block_id); local [all...] |
hydrogen-range-analysis.cc | 14 Pending(HBasicBlock* block, int last_changed_range) 15 : block_(block), last_changed_range_(last_changed_range) {} 17 HBasicBlock* block() const { return block_; } function in class:v8::internal::Pending 37 HBasicBlock* block(graph()->entry_block()); 39 while (block != NULL) { 40 TraceRange("Analyzing block B%d\n", block->block_id()); 43 if (block->predecessors()->length() == 1) { 44 HBasicBlock* pred = block->predecessors()->first(); 47 block); 107 HBasicBlock* block = graph()->blocks()->at(i); local [all...] |
/external/vboot_reference/firmware/lib20/ |
common.c | 133 int vb2_verify_keyblock(struct vb2_keyblock *block, 142 if(size < sizeof(*block)) { 143 VB2_DEBUG("Not enough space for key block header.\n"); 146 if (memcmp(block->magic, KEY_BLOCK_MAGIC, KEY_BLOCK_MAGIC_SIZE)) { 147 VB2_DEBUG("Not a valid verified boot key block.\n"); 150 if (block->header_version_major != KEY_BLOCK_HEADER_VERSION_MAJOR) { 151 VB2_DEBUG("Incompatible key block header version.\n"); 154 if (size < block->keyblock_size) { 155 VB2_DEBUG("Not enough data for key block.\n"); 160 sig = &block->keyblock_signature [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
vp8_quantize.c | 18 void vp8_fast_quantize_b_c(BLOCK *b, BLOCKD *d) { 48 void vp8_regular_quantize_b_c(BLOCK *b, BLOCKD *d) { 101 for (i = 0; i < 16; ++i) x->quantize_b(&x->block[i], &x->e_mbd.block[i]); 103 if (has_2nd_order) x->quantize_b(&x->block[24], &x->e_mbd.block[24]); 112 x->quantize_b(&x->block[i], &x->e_mbd.block[i]); 119 for (i = 16; i < 24; ++i) x->quantize_b(&x->block[i], &x->e_mbd.block[i]) [all...] |
/external/python/cpython3/Modules/_blake2/impl/ |
blake2s.c | 172 /* init2 xors IV with input parameter block */ 189 /* Some sort of default parameter block initialization, for sequential blake2s */ 236 uint8_t block[BLAKE2S_BLOCKBYTES]; local 237 memset( block, 0, BLAKE2S_BLOCKBYTES ); 238 memcpy( block, key, keylen ); 239 blake2s_update( S, block, BLAKE2S_BLOCKBYTES ); 240 secure_zero_memory( block, BLAKE2S_BLOCKBYTES ); /* Burn the key from stack */ 246 BLAKE2_LOCAL_INLINE(int) blake2s_compress( blake2s_state *S, const uint8_t block[BLAKE2S_BLOCKBYTES] ) 262 const __m128i m0 = LOADU( block + 00 ); 263 const __m128i m1 = LOADU( block + 16 ) [all...] |
/external/gemmlowp/meta/generators/ |
neon_emitter.py | 716 def EmitLoadColBlock(self, unused_registers, load_type, cols, elements, block, 718 """Load a block of column major data.""" 719 assert cols is len(block) 728 self.Lane(8, block[0], i), input_deref, stride) 733 self.Lane(16, block[i / 4], i % 4), input_deref, 736 self.EmitVUzp(8, block[0], block[1]) 739 self.EmitVLoadOffsetA(3, 8, [self.Lane(8, row, i) for row in block], 744 self.Lane(32, block[i % 4], i / 4), input_deref, 747 self.EmitVTrn(16, block[0], block[2] [all...] |
/art/compiler/optimizing/ |
graph_test.cc | 48 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); local 49 graph->AddBlock(block); 51 block->AddInstruction(got); 52 return block; 56 HBasicBlock* block = CreateGotoBlock(graph); local 57 graph->SetEntryBlock(block); 58 return block; 62 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); local 63 graph->AddBlock(block); 65 block->AddInstruction(return_instr) 70 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph); local 279 HBasicBlock* block = CreateGotoBlock(graph); local [all...] |
graph_checker.cc | 34 // Anything that returns is allowed to jump into the exit block. 38 // Anything that always throws is allowed to jump into the exit block. 45 static bool IsExitTryBoundaryIntoExitBlock(HBasicBlock* block) { 46 if (!block->IsSingleTryBoundary()) { 50 HTryBoundary* boundary = block->GetLastInstruction()->AsTryBoundary(); 51 return block->GetPredecessors().size() == 1u && 56 void GraphChecker::VisitBasicBlock(HBasicBlock* block) { 57 current_block_ = block; 62 // Check consistency with respect to predecessors of `block`. 66 sorted_predecessors.assign(block->GetPredecessors().begin(), block->GetPredecessors().end()) 894 HBasicBlock* block = instruction->GetBlock(); local 1024 HBasicBlock* block = instruction->GetBlock(); local [all...] |
/external/boringssl/src/crypto/cmac/ |
cmac.c | 68 uint8_t block[AES_BLOCK_SIZE]; member in struct:cmac_ctx_st 69 // block_used contains the number of valid bytes in |block|. 81 OPENSSL_cleanse(ctx->block, sizeof(ctx->block)); 181 OPENSSL_memcpy(ctx->block + ctx->block_used, in, todo); 189 // latter case we don't want to process this block now because it might be 190 // the last block and that block is treated specially. 197 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, ctx->block, AES_BLOCK_SIZE)) { 211 OPENSSL_memcpy(ctx->block, in, in_len) [all...] |
/external/webp/src/dec/ |
tree_dec.c | 293 VP8MBData* const block = dec->mb_data_ + mb_x; local 299 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0]) 303 block->segment_ = 0; // default for intra 305 if (dec->use_skip_proba_) block->skip_ = VP8GetBit(br, dec->skip_p_); 307 block->is_i4x4_ = !VP8GetBit(br, 145); // decide for B_PRED first 308 if (!block->is_i4x4_) { 313 block->imodes_[0] = ymode; 317 uint8_t* modes = block->imodes_; 351 block->uvmode_ = !VP8GetBit(br, 142) ? DC_PRED
|
/prebuilts/go/darwin-x86/src/crypto/cipher/ |
cbc.go | 5 // Cipher block chaining (CBC) mode. 7 // CBC provides confidentiality by xoring (chaining) each plaintext block 8 // with the previous ciphertext block before applying the block cipher. 15 b Block 21 func newCBC(b Block, iv []byte) *cbc { 40 // NewCBCEncrypter returns a BlockMode which encrypts in cipher block chaining 41 // mode, using the given Block. The length of iv must be the same as the 42 // Block's block size [all...] |
/prebuilts/go/linux-x86/src/crypto/cipher/ |
cbc.go | 5 // Cipher block chaining (CBC) mode. 7 // CBC provides confidentiality by xoring (chaining) each plaintext block 8 // with the previous ciphertext block before applying the block cipher. 15 b Block 21 func newCBC(b Block, iv []byte) *cbc { 40 // NewCBCEncrypter returns a BlockMode which encrypts in cipher block chaining 41 // mode, using the given Block. The length of iv must be the same as the 42 // Block's block size [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Trie2Writable.java | 45 this.firstFreeBlock = 0; /* no free block in the list */ 51 * - the bad-UTF-8-data block 52 * - the null data block 73 /* reference counts for the bad-UTF-8-data block */ 79 * Reference counts for the null data block: all blocks except for the ASCII blocks. 80 * Plus 1 so that we don't drop this block during compaction. 95 * set the remaining indexes in the BMP index-2 block 96 * to the null data block 110 /* set the indexes in the null index-2 block */ 117 /* set the index-1 indexes for the linear index-2 block */ 157 int i2, block; local 305 int block; local 398 int block, rest, repeatBlock; local 582 int i2, block; local 630 int block; local 645 int block; local 666 int i1, i2, j, i2Block, prevI2Block, block, prevBlock; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Trie2Writable.java | 43 this.firstFreeBlock = 0; /* no free block in the list */ 49 * - the bad-UTF-8-data block 50 * - the null data block 71 /* reference counts for the bad-UTF-8-data block */ 77 * Reference counts for the null data block: all blocks except for the ASCII blocks. 78 * Plus 1 so that we don't drop this block during compaction. 93 * set the remaining indexes in the BMP index-2 block 94 * to the null data block 108 /* set the indexes in the null index-2 block */ 115 /* set the index-1 indexes for the linear index-2 block */ 155 int i2, block; local 303 int block; local 396 int block, rest, repeatBlock; local 580 int i2, block; local 628 int block; local 643 int block; local 664 int i1, i2, j, i2Block, prevI2Block, block, prevBlock; local [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_lower_regs_to_ssa.c | 53 nir_block *block; 56 block = phi_src->pred; 58 block = instr->block; 61 nir_ssa_def *def = nir_phi_builder_value_get_block_def(value, block); 73 nir_block *block = nir_cf_node_as_block(nir_cf_node_prev(&nif->cf_node)); 79 nir_ssa_def *def = nir_phi_builder_value_get_block_def(value, block); 101 nir_phi_builder_value_set_block_def(value, instr->block, &dest->ssa); 192 nir_phi_builder_value_get_block_def(value, alu->instr.block); 209 nir_phi_builder_value_set_block_def(value, alu->instr.block, [all...] |
/external/v8/src/compiler/ |
liveness-analyzer.cc | 25 for (auto block : blocks_) { 26 block->Print(os); 49 void LivenessAnalyzer::Queue(LivenessAnalyzerBlock* block) { 50 if (!block->IsQueued()) { 51 block->SetQueued(); 52 queue_.push(block); 65 for (auto block : blocks_) { 66 Queue(block); 73 LivenessAnalyzerBlock* block = queue_.front(); local 75 block->Process(&working_area, nullptr) [all...] |
/prebuilts/go/darwin-x86/src/encoding/pem/ |
example_test.go | 33 block, rest := pem.Decode(pubPEMData) 34 if block == nil || block.Type != "PUBLIC KEY" { 35 log.Fatal("failed to decode PEM block containing public key") 38 pub, err := x509.ParsePKIXPublicKey(block.Bytes) 48 block := &pem.Block{ 56 if err := pem.Encode(os.Stdout, block); err != nil {
|
/prebuilts/go/linux-x86/src/encoding/pem/ |
example_test.go | 33 block, rest := pem.Decode(pubPEMData) 34 if block == nil || block.Type != "PUBLIC KEY" { 35 log.Fatal("failed to decode PEM block containing public key") 38 pub, err := x509.ParsePKIXPublicKey(block.Bytes) 48 block := &pem.Block{ 56 if err := pem.Encode(os.Stdout, block); err != nil {
|
/external/skia/src/core/ |
SkStream.cpp | 460 struct SkDynamicMemoryWStream::Block { 461 Block* fNext; 493 Block* block = fHead; local 494 while (block != nullptr) { 495 Block* next = block->fNext; 496 sk_free(block); 497 block = next; 530 size = SkTMax<size_t>(count, SkDynamicMemoryWStream_MinBlockSize - sizeof(Block)); 533 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); local 551 Block* block = fHead; local 569 Block* block = fHead; local 607 Block* block = fHead; local 657 const Block* block = fHead; local 677 SkDynamicMemoryWStream::Block* block = fHead; local [all...] |
/external/skqp/src/core/ |
SkStream.cpp | 442 struct SkDynamicMemoryWStream::Block { 443 Block* fNext; 475 Block* block = fHead; local 476 while (block != nullptr) { 477 Block* next = block->fNext; 478 sk_free(block); 479 block = next; 512 size = SkTMax<size_t>(count, SkDynamicMemoryWStream_MinBlockSize - sizeof(Block)); 515 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); local 533 Block* block = fHead; local 551 Block* block = fHead; local 589 Block* block = fHead; local 639 const Block* block = fHead; local 659 SkDynamicMemoryWStream::Block* block = fHead; local [all...] |