Home
last modified time | relevance | path

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

/external/chromium_org/third_party/sqlite/src/tool/
Dshowwal.c52 unsigned char *aData; in getContent() local
53 aData = malloc(nByte); in getContent()
54 if( aData==0 ) out_of_memory(); in getContent()
56 read(fd, aData, nByte); in getContent()
57 return aData; in getContent()
66 unsigned char *aData, /* Content to print */ in print_byte_range() argument
90 fprintf(stdout,"%02x ", aData[i+j]); in print_byte_range()
97 fprintf(stdout,"%c", isprint(aData[i+j]) ? aData[i+j] : '.'); in print_byte_range()
107 unsigned char *aData, /* Content being decoded */ in print_decode_line() argument
113 int val = aData[ofst]; in print_decode_line()
[all …]
Dshowdb.c59 unsigned char *aData; in getContent() local
60 aData = malloc(nByte+32); in getContent()
61 if( aData==0 ) out_of_memory(); in getContent()
62 memset(aData, 0, nByte+32); in getContent()
64 read(db, aData, nByte); in getContent()
65 return aData; in getContent()
76 unsigned char *aData; in print_byte_range() local
92 aData = getContent(ofst, nByte); in print_byte_range()
99 fprintf(stdout,"%02x ", aData[i+j]); in print_byte_range()
106 fprintf(stdout,"%c", isprint(aData[i+j]) ? aData[i+j] : '.'); in print_byte_range()
[all …]
Dshowjournal.c49 unsigned char *aData, /* Content being decoded */ in print_decode_line() argument
54 unsigned val = aData[ofst]; in print_decode_line()
56 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); in print_decode_line()
62 sprintf(&zBuf[i], " %02x", aData[ofst+j]); in print_decode_line()
63 val = val*256 + aData[ofst+j]; in print_decode_line()
100 unsigned char *aData; in print_page() local
102 aData = read_content(pageSize+8, iOfst); in print_page()
104 print_decode_line(aData, 0, 4, zTitle); in print_page()
105 free(aData); in print_page()
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/
Dvectorbuffer.cpp41 TNodeBuffer::TNode* TNodeBuffer::TNode::New(TNode* aPred, const TDesC8& aData) in New() argument
47 node->iSucc = reinterpret_cast<TNode*>(start + aData.Size()); in New()
50 __ASSERT_DEBUG(node->Size() == aData.Size(), VECPANIC(KErrCorrupt)); in New()
52 Mem::Copy(start, aData.Ptr(), aData.Size()); in New()
Dvectorbuffer.h27 static TNode* New(TNode* aPrev, const TDesC8& aData); in NONSHARABLE_CLASS()
48 TInt Append(const TDesC8& aData); in NONSHARABLE_CLASS()
106 TInt TVectorBuffer<C>::Append(const TDesC8& aData) //ei ole ok! in Append() argument
108 const TInt len = aData.Length(); in Append()
120 return Append(aData); in Append()
127 iBottom = TNode::New(iBottom, aData); in Append()
199 TInt Append(const T& aData); in NONSHARABLE_CLASS()
211 TInt TVector<T, C>::Append(const T& aData) in Append() argument
213 const TPckgC<T> data(aData); in Append()
/external/chromium_org/third_party/sqlite/src/src/
Dtest_wsd.c28 ProcessLocalVar *aData[PLS_HASHSIZE]; member
66 for(pVar=pGlobal->aData[iHash]; pVar && pVar->pKey!=K; pVar=pVar->pNext); in sqlite3_wsd_find()
74 pVar->pNext = pGlobal->aData[iHash]; in sqlite3_wsd_find()
75 pGlobal->aData[iHash] = pVar; in sqlite3_wsd_find()
Dtest_journal.c360 unsigned char *aData; in openTransaction() local
365 aData = sqlite3_malloc(pMain->nPagesize); in openTransaction()
370 if( !pMain->pWritable || !pMain->aCksum || !aData ){ in openTransaction()
382 rc = sqlite3OsRead(p, aData, pMain->nPagesize, 0); in openTransaction()
384 u32 nDbsize = decodeUint32(&aData[28]); in openTransaction()
385 if( nDbsize>0 && memcmp(&aData[24], &aData[92], 4)==0 ){ in openTransaction()
392 iTrunk = decodeUint32(&aData[32]); in openTransaction()
397 rc = sqlite3OsRead(p, aData, pMain->nPagesize, iOff); in openTransaction()
398 nLeaf = decodeUint32(&aData[4]); in openTransaction()
400 u32 pgno = decodeUint32(&aData[8+4*iLeaf]); in openTransaction()
[all …]
Dbtree.c853 ((P)->aData + ((P)->maskPage & get2byte(&(P)->aData[(P)->cellOffset+2*(I)])))
1076 data = pPage->aData; in defragmentPage()
1147 u8 * const data = pPage->aData; /* Local cache of pPage->aData */ in allocateSpace()
1247 unsigned char *data = pPage->aData; in freeSpace()
1377 assert( pPage->aData == sqlite3PagerGetData(pPage->pDbPage) ); in btreeInitPage()
1394 data = pPage->aData; in btreeInitPage()
1482 unsigned char *data = pPage->aData; in zeroPage()
1518 pPage->aData = sqlite3PagerGetData(pDbPage); in btreePageFromDbPage()
1620 assert( pPage->aData ); in releasePage()
1623 assert( sqlite3PagerGetData(pPage->pDbPage)==pPage->aData ); in releasePage()
[all …]
Dtest_stat.c285 u8 *aData = sqlite3PagerGetData(p->pPg); in statDecodePage() local
286 u8 *aHdr = &aData[p->iPgno==1 ? 100 : 0]; in statDecodePage()
299 nUnused += get2byte(&aData[iOff+2]); in statDecodePage()
300 iOff = get2byte(&aData[iOff]); in statDecodePage()
315 iOff = get2byte(&aData[nHdr+i*2]); in statDecodePage()
317 pCell->iChildPg = sqlite3Get4byte(&aData[iOff]); in statDecodePage()
325 iOff += getVarint32(&aData[iOff], nPayload); in statDecodePage()
328 iOff += sqlite3GetVarint(&aData[iOff], &dummy); in statDecodePage()
341 pCell->aOvfl[0] = sqlite3Get4byte(&aData[iOff+nLocal]); in statDecodePage()
Dwal.c584 u32 *aData = (u32 *)a; in walChecksumBytes() local
599 s1 += *aData++ + s2; in walChecksumBytes()
600 s2 += *aData++ + s1; in walChecksumBytes()
601 }while( aData<aEnd ); in walChecksumBytes()
604 s1 += BYTESWAP32(aData[0]) + s2; in walChecksumBytes()
605 s2 += BYTESWAP32(aData[1]) + s1; in walChecksumBytes()
606 aData += 2; in walChecksumBytes()
607 }while( aData<aEnd ); in walChecksumBytes()
655 u8 *aData, /* Pointer to page data */ in walEncodeFrame() argument
667 walChecksumBytes(nativeCksum, aData, pWal->szPage, aCksum, aCksum); in walEncodeFrame()
[all …]
Dpager.c2044 static u32 pager_cksum(Pager *pPager, const u8 *aData){ in pager_cksum() argument
2048 cksum += aData[i]; in pager_cksum()
2117 char *aData; /* Temporary storage for the page */ in pager_playback_one_page() local
2126 aData = pPager->pTmpSpace; in pager_playback_one_page()
2127 assert( aData ); /* Temp storage must have already been allocated */ in pager_playback_one_page()
2147 rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4); in pager_playback_one_page()
2166 if( !isSavepnt && pager_cksum(pPager, (u8*)aData)!=cksum ){ in pager_playback_one_page()
2180 if( pgno==1 && pPager->nReserve!=((u8*)aData)[20] ){ in pager_playback_one_page()
2181 pPager->nReserve = ((u8*)aData)[20]; in pager_playback_one_page()
2228 PAGERID(pPager), pgno, pager_datahash(pPager->pageSize, (u8*)aData), in pager_playback_one_page()
[all …]
DbtreeInt.h291 u8 *aData; /* Pointer to disk image of the page data */ member
Dbackup.c616 void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){ in sqlite3BackupUpdate() argument
628 rc = backupOnePage(p, iPage, aData); in sqlite3BackupUpdate()
/external/chromium_org/third_party/sqlite/src/ext/fts3/
Dfts3_write.c50 char *aData; member
136 char *aData; /* Pointer to block from malloc() */ member
159 char *aData; /* Node data */ member
432 p->aData = (char *)&p[1]; in fts3PendingListAppendVarint()
444 p->aData = (char *)&p[1]; in fts3PendingListAppendVarint()
448 p->nData += sqlite3Fts3PutVarint(&p->aData[p->nData], i); in fts3PendingListAppendVarint()
449 p->aData[p->nData] = '\0'; in fts3PendingListAppendVarint()
479 assert( p->aData[p->nData]==0 ); in fts3PendingListAppend()
935 pReader->aNode = pReader->aDoclist = pList->aData; in fts3SegReaderNext()
1533 assert( pTree->aData==(char *)&pTree[1] ); in fts3NodeAddTerm()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteCursorTest.java251 for (String aData : data) { in testGetString()
252 assertThat(cursor.getString(1), equalTo(aData)); in testGetString()
263 for (int aData : data) { in testGetInt()
264 assertThat(cursor.getInt(0), equalTo(aData)); in testGetInt()
/external/clang/test/CodeGen/
Daddress-space.c35 float aData[1]; member
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRStringStream.h123 - (void) setData: (NSString *) aData;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRStringStream.h123 - (void) setData: (NSString *) aData;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRStringStream.h123 - (void) setData: (NSString *) aData;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRStringStream.m378 - (void) setData: (NSString *) aData
380 if (data != aData) {
382 data = [NSString stringWithString:aData];
/external/sqlite/dist/orig/
Dsqlite3.c40460 static u32 pager_cksum(Pager *pPager, const u8 *aData){
40464 cksum += aData[i];
40533 char *aData; /* Temporary storage for the page */
40542 aData = pPager->pTmpSpace;
40543 assert( aData ); /* Temp storage must have already been allocated */
40563 rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4);
40582 if( !isSavepnt && pager_cksum(pPager, (u8*)aData)!=cksum ){
40596 if( pgno==1 && pPager->nReserve!=((u8*)aData)[20] ){
40597 pPager->nReserve = ((u8*)aData)[20];
40644 PAGERID(pPager), pgno, pager_datahash(pPager->pageSize, (u8*)aData),
[all …]
/external/sqlite/dist/
Dsqlite3.c40488 static u32 pager_cksum(Pager *pPager, const u8 *aData){
40492 cksum += aData[i];
40561 char *aData; /* Temporary storage for the page */
40570 aData = pPager->pTmpSpace;
40571 assert( aData ); /* Temp storage must have already been allocated */
40591 rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4);
40610 if( !isSavepnt && pager_cksum(pPager, (u8*)aData)!=cksum ){
40624 if( pgno==1 && pPager->nReserve!=((u8*)aData)[20] ){
40625 pPager->nReserve = ((u8*)aData)[20];
40672 PAGERID(pPager), pgno, pager_datahash(pPager->pageSize, (u8*)aData),
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c38487 static u32 pager_cksum(Pager *pPager, const u8 *aData){
38491 cksum += aData[i];
38560 char *aData; /* Temporary storage for the page */
38569 aData = pPager->pTmpSpace;
38570 assert( aData ); /* Temp storage must have already been allocated */
38590 rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4);
38609 if( !isSavepnt && pager_cksum(pPager, (u8*)aData)!=cksum ){
38623 if( pgno==1 && pPager->nReserve!=((u8*)aData)[20] ){
38624 pPager->nReserve = ((u8*)aData)[20];
38671 PAGERID(pPager), pgno, pager_datahash(pPager->pageSize, (u8*)aData),
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_tgsi.cpp1116 DataArray aData; // TGSI_FILE_ADDRESS member in __anon918c1d120111::Converter
1299 return &aData; in getArrayForFile()
2299 tData(this), aData(this), pData(this), oData(this) in Converter()
2312 aData.setup(TGSI_FILE_ADDRESS, 0, 0, aSize, 4, 4, FILE_ADDRESS, 0); in Converter()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_tgsi.cpp1116 DataArray aData; // TGSI_FILE_ADDRESS member in __anon64f24abf0111::Converter
1299 return &aData; in getArrayForFile()
2299 tData(this), aData(this), pData(this), oData(this) in Converter()
2312 aData.setup(TGSI_FILE_ADDRESS, 0, 0, aSize, 4, 4, FILE_ADDRESS, 0); in Converter()