Searched refs:block (Results 76 - 100 of 863) sorted by relevance

1234567891011>>

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DNonVolatileStore.cpp58 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block) argument
69 sprintf (filename, "%s%u", fn.c_str(), block);
79 nfc_hal_nv_ci_read (actualRead, NFC_HAL_NV_CO_OK, block);
84 nfc_hal_nv_ci_read (actualRead, NFC_HAL_NV_CO_FAIL, block);
91 nfc_hal_nv_ci_read (0, NFC_HAL_NV_CO_FAIL, block);
114 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block) argument
126 sprintf (filename, "%s%u", fn.c_str(), block);
/external/valgrind/main/none/tests/amd64/
H A Dpcmpxstrx64.c56 ULong block[ 2/*in:argL*/ // 0 0 local
63 assert(sizeof(block) == 80);
65 UChar* blockC = (UChar*)&block[0];
94 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5);
123 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5);
152 printf(" rcx %016llx flags %08llx\n", block[8], block[9] & 0x8D5);
181 printf(" rcx %016llx flags %08llx\n", block[
390 ULong block[ 2/*in:argL*/ // 0 0 local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DRFC3394WrapEngine.java84 byte[] block = new byte[inLen + iv.length];
87 System.arraycopy(iv, 0, block, 0, iv.length);
88 System.arraycopy(in, 0, block, iv.length, inLen);
96 System.arraycopy(block, 0, buf, 0, iv.length);
97 System.arraycopy(block, 8 * i, buf, iv.length, 8);
110 System.arraycopy(buf, 0, block, 0, 8);
111 System.arraycopy(buf, 8, block, 8 * i, 8);
115 return block;
136 byte[] block = new byte[inLen - iv.length];
141 System.arraycopy(in, iv.length, block,
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dbmove.c46 blk_t block, orig; local
49 block = orig = *block_nr;
55 if (ext2fs_test_block_bitmap(pb->reserve, block)) {
57 if (++block >= fs->super->s_blocks_count)
58 block = fs->super->s_first_data_block;
59 if (block == orig) {
63 } while (ext2fs_test_block_bitmap(pb->reserve, block) ||
64 ext2fs_test_block_bitmap(pb->alloc_map, block));
71 retval = io_channel_write_blk(fs->io, block, 1, pb->buf);
76 *block_nr = block;
[all...]
H A Ddirblock.c2 * dirblock.c --- directory block routines.
22 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, argument
31 retval = io_channel_read_blk(fs->io, block, 1, buf);
61 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, argument
64 return ext2fs_read_dir_block2(fs, block, buf, 0);
68 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block, argument
101 retval = io_channel_write_blk(fs->io, block, 1, buf);
105 return io_channel_write_blk(fs->io, block, 1, (char *) inbuf);
110 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block, argument
113 return ext2fs_write_dir_block2(fs, block, inbu
[all...]
/external/yaffs2/yaffs2/direct/
H A Dyaffs_flashif.c43 yflash_Page page[32]; // The pages in the block
51 yflash_Block **block; member in struct:__anon16055
75 ramdisk.block = YMALLOC(sizeof(yflash_Block *) * ramdisk.nBlocks);
77 if(!ramdisk.block) return 0;
81 ramdisk.block[i] = NULL;
86 if((ramdisk.block[i] = YMALLOC(sizeof(yflash_Block))) == 0)
101 YFREE(ramdisk.block[i]);
103 YFREE(ramdisk.block);
129 memcpy(ramdisk.block[blk]->page[pg].data,data,512);
137 memcpy(&ramdisk.block[bl
[all...]
/external/regex-re2/util/
H A Darena.cc50 // We do not know for sure whether or not the first block is aligned,
72 AllocatedBlock *block; local
73 // Find the next block.
76 block = &first_blocks_[blocks_alloced_++];
79 // Adds another block to the vector.
81 // block points to the last block of the vector.
82 block = &overflow_blocks_->back();
85 block->mem = reinterpret_cast<char*>(malloc(block_size));
86 block
129 AllocatedBlock *block = AllocNewBlock(block_size_); local
[all...]
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DSsaConverter.java56 * The exit block, added here, is not considered for edge splitting
127 * requiring each block with a final instruction that returns a
150 * New blocks are added to the end of the block list during
154 SsaBasicBlock block = blocks.get(i);
155 if (nodeNeedsUniquePredecessor(block)) {
156 block.insertNewPredecessor();
162 * @param block {@code non-null;} block in question
166 private static boolean nodeNeedsUniquePredecessor(SsaBasicBlock block) { argument
168 * Any block wit
266 needsNewSuccessor(SsaBasicBlock block, SsaBasicBlock succ) argument
[all...]
/external/dropbear/libtomcrypt/src/mac/omac/
H A Domac_process.c39 if ((omac->buflen > (int)sizeof(omac->block)) || (omac->buflen < 0) ||
40 (omac->blklen > (int)sizeof(omac->block)) || (omac->buflen > omac->blklen)) {
61 /* ok if the block is full we xor in prev, encrypt and replace prev */
64 omac->block[x] ^= omac->prev[x];
66 if ((err = cipher_descriptor[omac->cipher_idx].ecb_encrypt(omac->block, omac->prev, &omac->key)) != CRYPT_OK) {
74 XMEMCPY(omac->block + omac->buflen, in, n);
/external/quake/quake/src/QW/client/
H A Dzone.c32 int tag; // a tag of 0 is a free block
57 The rover can be left pointing at a non-empty block
76 memblock_t *block; local
78 // set the entire zone to one free block
80 zone->blocklist.next = zone->blocklist.prev = block =
82 zone->blocklist.tag = 1; // in use block
85 zone->rover = block;
87 block->prev = block->next = &zone->blocklist;
88 block
101 memblock_t *block, *other; local
221 memblock_t *block; local
249 memblock_t *block; local
[all...]
/external/quake/quake/src/WinQuake/
H A Dzone.cpp32 int tag; // a tag of 0 is a free block
57 The rover can be left pointing at a non-empty block
76 memblock_t *block; local
78 // set the entire zone to one free block
80 zone->blocklist.next = zone->blocklist.prev = block =
82 zone->blocklist.tag = 1; // in use block
85 zone->rover = block;
87 block->prev = block->next = &zone->blocklist;
88 block
101 memblock_t *block, *other; local
221 memblock_t *block; local
249 memblock_t *block; local
[all...]
/external/opencv/cxcore/src/
H A Dcxdatastructs.cpp55 #define CV_GET_LAST_ELEM( seq, block ) \
56 ((block)->data + ((block)->count - 1)*((seq)->elem_size))
162 CvMemBlock *block; local
171 for( block = storage->bottom; block != 0; k++ )
173 CvMemBlock *temp = block;
175 block = block->next;
256 /* Moves stack pointer to next block
270 CvMemBlock *block; local
529 CvSeqBlock *block; local
572 CvSeqBlock *block; local
745 CvSeqBlock *block; local
876 CvSeqBlock *block = seq->first; local
998 CvSeqBlock *block = first_block; local
1221 CvSeqBlock *block; local
1389 CvSeqBlock *block; local
1428 CvSeqBlock *block; local
1462 CvSeqBlock *block; local
1587 CvSeqBlock *block; local
1717 CvSeqBlock* block = seq->first; local
1851 CvSeqBlock *block, *first_block = 0, *last_block = 0; local
2011 CvSeqBlock block; local
2130 CvSeqBlock* block; member in struct:CvSeqReaderPos
[all...]
/external/compiler-rt/BlocksRuntime/tests/
H A Drecursive-block.c36 //printf("will call inner block %p\n", (void *)inner);
47 voidVoid block = testFunction(); local
49 block();
50 Block_release(block);
/external/libnfc-nci/src/nfa/hci/
H A Dnfa_hci_ci.c40 void nfa_nv_ci_read (UINT16 num_bytes_read, tNFA_NV_CO_STATUS status, UINT8 block) argument
57 p_msg->nv_read.block = block;
/external/openssl/crypto/engine/
H A Denginetest.c97 ENGINE *block[512]; local
122 memset(block, 0, 512 * sizeof(ENGINE *));
226 if(((block[loop] = ENGINE_new()) == NULL) ||
227 !ENGINE_set_id(block[loop], id) ||
228 !ENGINE_set_name(block[loop], name))
230 printf("Couldn't create block of ENGINE structures.\n"
237 if(!ENGINE_add(block[loop]))
240 loop, ENGINE_get_id(block[loop]),
241 ENGINE_get_name(block[loop]));
261 OPENSSL_free((void *)ENGINE_get_id(block[loo
[all...]
/external/valgrind/main/helgrind/tests/
H A Dannotate_hbefore.c95 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; local
105 : /*in*/ "S"(&block[0])
108 assert(block[3] == 0 || block[3] == 1);
109 return block[3] & 1;
118 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; local
130 : /*in*/ "S"(&block[0])
133 assert(block[3] == 0 || block[3] == 1);
134 return block[
144 UWord block[2] = { (UWord)addr, nyu }; local
[all...]
/external/valgrind/main/none/tests/x86/
H A Dbt_everything.c147 UChar* block; local
153 block = calloc(200,1);
154 block += 100;
162 case 0: c = btsl_mem(block, bitoff); break;
163 case 1: c = btrl_mem(block, bitoff); break;
164 case 2: c = btcl_mem(block, bitoff); break;
165 case 3: c = btl_mem(block, bitoff); break;
172 block -= 100;
175 UChar ch = block[n];
176 /* printf("%d ", (int)block[
[all...]
/external/webkit/Source/WebKit2/UIProcess/API/C/
H A DWKFrame.cpp152 WKFrameGetResourceDataBlock block = (WKFrameGetResourceDataBlock)context; local
153 block(data, error);
154 Block_release(block);
157 void WKFrameGetMainResourceData_b(WKFrameRef frameRef, WKFrameGetResourceDataBlock block) argument
159 WKFrameGetMainResourceData(frameRef, callGetResourceDataBlockAndDispose, Block_copy(block));
162 void WKFrameGetResourceData_b(WKFrameRef frameRef, WKURLRef resourceURL, WKFrameGetResourceDataBlock block) argument
164 WKFrameGetResourceData(frameRef, resourceURL, callGetResourceDataBlockAndDispose, Block_copy(block));
176 WKFrameGetWebArchiveBlock block = (WKFrameGetWebArchiveBlock)context; local
177 block(archiveData, error);
178 Block_release(block);
181 WKFrameGetWebArchive_b(WKFrameRef frameRef, WKFrameGetWebArchiveBlock block) argument
[all...]
/external/bzip2/
H A Dblocksort.c9 lossless, block-sorting data compression.
195 ((UChar*)eclass) [0 .. nblock-1] holds block
199 ((UChar*)eclass) [0 .. nblock-1] holds block
253 /*-- set sentinel bits for block-end detection --*/
316 Reconstruct the original block in
321 VPrintf0 ( " reconstructing block ...\n" );
349 UChar* block,
360 c1 = block[i1]; c2 = block[i2];
364 c1 = block[i
347 mainGtU( UInt32 i1, UInt32 i2, UChar* block, UInt16* quadrant, UInt32 nblock, Int32* budget ) argument
485 mainSimpleSort( UInt32* ptr, UChar* block, UInt16* quadrant, Int32 nblock, Int32 lo, Int32 hi, Int32 d, Int32* budget ) argument
621 mainQSort3( UInt32* ptr, UChar* block, UInt16* quadrant, Int32 nblock, Int32 loSt, Int32 hiSt, Int32 dSt, Int32* budget ) argument
751 mainSort( UInt32* ptr, UChar* block, UInt16* quadrant, UInt32* ftab, Int32 nblock, Int32 verb, Int32* budget ) argument
1034 UChar* block = s->block; local
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DBlockAddresses.java27 * the blocks of a particular method. Each block has a corresponding
32 * block (indexed by basic block label) */
36 * of each basic block (indexed by basic block label) */
40 * final instruction) of each basic block (indexed by basic block
47 * @param method {@code non-null;} the method to have block addresses for
61 * Gets the instance for the start of the given block.
63 * @param block {
66 getStart(BasicBlock block) argument
86 getLast(BasicBlock block) argument
108 getEnd(BasicBlock block) argument
[all...]
/external/webkit/Source/JavaScriptCore/heap/
H A DMarkedBlock.cpp44 void MarkedBlock::destroy(MarkedBlock* block) argument
46 for (size_t i = block->firstAtom(); i < block->m_endAtom; i += block->m_atomsPerCell)
47 reinterpret_cast<JSCell*>(&block->atoms()[i])->~JSCell();
48 block->m_allocation.deallocate();
/external/webkit/Source/WebCore/rendering/
H A DRenderArena.cpp81 void* block = ::malloc(debugHeaderSize + size); local
82 RenderArenaDebugHeader* header = static_cast<RenderArenaDebugHeader*>(block);
86 return static_cast<char*>(block) + debugHeaderSize;
118 void* block = static_cast<char*>(ptr) - debugHeaderSize; local
119 RenderArenaDebugHeader* header = static_cast<RenderArenaDebugHeader*>(block);
124 ::free(block);
/external/icu4c/common/
H A Dutrie.c83 /* preallocate and reset the first data block (block index 0) */
87 /* preallocate and reset the first block (number 0) and Latin-1 (U+0000..U+00ff) after that */
93 /* do this at least for trie->index[0] even if that block is only partly used for Latin-1 */
190 * @return -1 if no new data block available (out of memory in data array)
203 /* allocate a new data block */
211 /* copy-on-write for a block from a setRange() */
221 int32_t block; local
228 block=utrie_getDataBlock(trie, c);
229 if(block<
239 int32_t block; local
261 utrie_fillBlock(uint32_t *block, UChar32 start, UChar32 limit, uint32_t value, uint32_t initialValue, UBool overwrite) argument
289 int32_t block, rest, repeatBlock; local
377 int32_t block, i; local
408 int32_t indexLength, block; local
562 int32_t block; local
937 uint16_t block; local
1064 int32_t l, i, j, block, prevBlock, nullBlock, offset; local
[all...]
/external/libnfc-nci/halimpl/bcm2079x/hal/int/
H A Dnfc_hal_nv_co.h85 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block);
105 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
/external/libnfc-nci/src/hal/int/
H A Dnfc_hal_nv_co.h85 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block);
105 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);

Completed in 615 milliseconds

1234567891011>>