Searched refs:pItem (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dwalker.c64 struct ExprList_item *pItem; local
66 for(i=p->nExpr, pItem=p->a; i>0; i--, pItem++){
67 if( sqlite3WalkExpr(pWalker, pItem->pExpr) ) return WRC_Abort;
100 struct SrcList_item *pItem; local
104 for(i=pSrc->nSrc, pItem=pSrc->a; i>0; i--, pItem++){
105 if( sqlite3WalkSelect(pWalker, pItem->pSelect) ){
H A Dresolve.c140 struct SrcList_item *pItem; /* Use for looping over pSrcList items */ local
161 for(i=0, pItem=pSrcList->a; i<pSrcList->nSrc; i++, pItem++){
166 pTab = pItem->pTab;
171 if( pItem->zAlias ){
172 char *zTabName = pItem->zAlias;
185 pExpr->iTable = pItem->iCursor;
188 pMatch = pItem;
194 pExpr->iTable = pItem->iCursor;
196 pMatch = pItem;
412 struct SrcList_item *pItem = &pSrc->a[iSrc]; local
468 struct SrcList_item *pItem; local
763 struct ExprList_item *pItem; local
834 struct ExprList_item *pItem; local
883 struct ExprList_item *pItem; /* A term of the ORDER BY clause */ local
997 struct SrcList_item *pItem = &p->pSrc->a[i]; local
1062 struct ExprList_item *pItem; local
[all...]
H A Dattach.c448 struct SrcList_item *pItem; local
452 for(i=0, pItem=pList->a; i<pList->nSrc; i++, pItem++){
453 if( pItem->zDatabase==0 ){
454 pItem->zDatabase = sqlite3DbStrDup(pFix->pParse->db, zDb);
455 }else if( sqlite3StrICmp(pItem->zDatabase,zDb)!=0 ){
458 pFix->zType, pFix->pName, pItem->zDatabase);
462 if( sqlite3FixSelect(pFix, pItem->pSelect) ) return 1;
463 if( sqlite3FixExpr(pFix, pItem->pOn) ) return 1;
513 struct ExprList_item *pItem; local
[all...]
H A Ddelete.c32 struct SrcList_item *pItem = pSrc->a; local
34 assert( pItem && pSrc->nSrc==1 );
35 pTab = sqlite3LocateTable(pParse, 0, pItem->zName, pItem->zDatabase);
36 sqlite3DeleteTable(pParse->db, pItem->pTab);
37 pItem->pTab = pTab;
41 if( sqlite3IndexedByLookup(pParse, pItem) ){
H A Dselect.c751 struct ExprList_item *pItem; local
761 for(i=0, pItem=pList->a; i<nExpr; i++, pItem++){
763 pColl = sqlite3ExprCollSeq(pParse, pItem->pExpr);
768 pInfo->aSortOrder[i] = pItem->sortOrder;
2192 struct ExprList_item *pItem; local
2193 for(j=0, pItem=pOrderBy->a; j<nOrderBy; j++, pItem++){
2194 assert( pItem->iCol>0 );
2195 if( pItem
2217 struct ExprList_item *pItem; local
2542 struct SrcList_item *pItem; local
3585 struct ExprList_item *pItem; local
3777 struct SrcList_item *pItem = &pTabList->a[i]; local
3961 struct ExprList_item *pItem; /* For looping over expression in a list */ local
4420 struct SrcList_item *pItem = &p->pSrc->a[i]; local
[all...]
H A Dexpr.c852 struct ExprList_item *pItem, *pOldItem; local
859 pNew->a = pItem = sqlite3DbMallocRaw(db, p->nExpr*sizeof(p->a[0]) );
860 if( pItem==0 ){
865 for(i=0; i<p->nExpr; i++, pItem++, pOldItem++){
867 pItem->pExpr = sqlite3ExprDup(db, pOldExpr, flags);
868 pItem->zName = sqlite3DbStrDup(db, pOldItem->zName);
869 pItem->zSpan = sqlite3DbStrDup(db, pOldItem->zSpan);
870 pItem->sortOrder = pOldItem->sortOrder;
871 pItem->done = 0;
872 pItem
1004 struct ExprList_item *pItem = &pList->a[pList->nExpr++]; local
1033 struct ExprList_item *pItem; local
1058 struct ExprList_item *pItem = &pList->a[pList->nExpr-1]; local
1089 struct ExprList_item *pItem; local
1674 struct ExprList_item *pItem; local
3016 struct ExprList_item *pItem = pList->a; local
3076 struct ExprList_item *pItem; local
3547 struct SrcList_item *pItem = pSrcList->a; local
3616 struct AggInfo_func *pItem = pAggInfo->aFunc; local
3691 struct ExprList_item *pItem; local
[all...]
H A Dbuild.c3183 struct SrcList_item *pItem; local
3195 pItem = &pList->a[pList->nSrc-1];
3204 pItem->zName = sqlite3NameFromToken(db, pTable);
3205 pItem->zDatabase = sqlite3NameFromToken(db, pDatabase);
3214 struct SrcList_item *pItem; local
3217 for(i=0, pItem=pList->a; i<pList->nSrc; i++, pItem++){
3218 if( pItem->iCursor>=0 ) break;
3219 pItem->iCursor = pParse->nTab++;
3220 if( pItem
3232 struct SrcList_item *pItem; local
3273 struct SrcList_item *pItem; local
3310 struct SrcList_item *pItem = &p->a[p->nSrc-1]; local
[all...]
H A Dfkey.c798 struct SrcList_item *pItem = pSrc->a; local
799 pItem->pTab = pFKey->pFrom;
800 pItem->zName = pFKey->pFrom->zName;
801 pItem->pTab->nRef++;
802 pItem->iCursor = pParse->nTab++;
816 pItem->zName = 0;
H A Dinsert.c1616 struct SrcList_item *pItem; /* An element of pSelect->pSrc */ local
1688 pItem = pSelect->pSrc->a;
1689 pSrc = sqlite3LocateTable(pParse, 0, pItem->zName, pItem->zDatabase);
H A Dwhere.c3516 struct SrcList_item *pItem = &pTabList->a[pLevel->iFrom]; local
3531 if( pItem->pSelect ){
3532 zMsg = sqlite3MAppendf(db, zMsg, "%s SUBQUERY %d", zMsg,pItem->iSelectId);
3534 zMsg = sqlite3MAppendf(db, zMsg, "%s TABLE %s", zMsg, pItem->zName);
3537 if( pItem->zAlias ){
3538 zMsg = sqlite3MAppendf(db, zMsg, "%s AS %s", zMsg, pItem->zAlias);
3541 char *zWhere = explainIndexRange(db, pLevel, pItem->pTab);
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dpkgitems.cpp63 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {}
81 pItem=item;
84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode);
88 length=pItem->length-itemHeaderLength;
91 bytes=pItem->data+itemHeaderLength;
96 pItem->name, u_errorName(errorCode));
103 swapped=new uint8_t[pItem->length];
105 fprintf(stderr, "icupkg: unable to allocate memory for swapping \"%s\"\n", pItem->name);
108 swap(ds, pItem
116 const Item *pItem; member in class:NativeItem
576 enumDependencies(Item *pItem, void *context, CheckDependency check) argument
[all...]
H A Dpackage.cpp646 Item *pItem; local
812 for(pItem=items, i=0; i<itemCount; ++pItem, ++i) {
813 int32_t type=makeTypeEnum(pItem->type);
818 pItem->data, pItem->length, pItem->data,
825 length=(int32_t)fwrite(pItem->data, 1, pItem->length, file);
826 if(length!=pItem
1024 const Item *pItem; local
1064 const Item *pItem; local
1077 Item *pItem; local
1147 const Item *pItem; local
[all...]
H A Dpackage.h127 void enumDependencies(Item *pItem, void *context, CheckDependency check);
/external/icu4c/tools/toolutil/
H A Dpkgitems.cpp63 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {}
81 pItem=item;
84 pInfo=::getDataInfo(pItem->data, pItem->length, infoLength, itemHeaderLength, &errorCode);
88 length=pItem->length-itemHeaderLength;
91 bytes=pItem->data+itemHeaderLength;
96 pItem->name, u_errorName(errorCode));
103 swapped=new uint8_t[pItem->length];
105 fprintf(stderr, "icupkg: unable to allocate memory for swapping \"%s\"\n", pItem->name);
108 swap(ds, pItem
116 const Item *pItem; member in class:NativeItem
576 enumDependencies(Item *pItem, void *context, CheckDependency check) argument
[all...]
H A Dpackage.cpp693 Item *pItem; local
868 for(pItem=items, i=0; i<itemCount; ++pItem, ++i) {
869 int32_t type=makeTypeEnum(pItem->type);
874 pItem->data, pItem->length, pItem->data,
881 length=(int32_t)fwrite(pItem->data, 1, pItem->length, file);
882 if(length!=pItem
1080 const Item *pItem; local
1120 const Item *pItem; local
1133 Item *pItem; local
1203 const Item *pItem; local
[all...]
H A Dpackage.h141 void enumDependencies(Item *pItem, void *context, CheckDependency check);
/external/sqlite/dist/orig/
H A Dsqlite3.c20008 struct SrcList_item *pItem = &pSrc->a[k]; local
20010 if( pItem->zDatabase ){
20011 sqlite3StrAccumAppend(pAccum, pItem->zDatabase, -1);
20014 sqlite3StrAccumAppend(pAccum, pItem->zName, -1);
73092 struct ExprList_item *pItem; local
73128 struct SrcList_item *pItem; local
73324 struct SrcList_item *pItem; /* Use for looping over pSrcList items */ local
73583 struct SrcList_item *pItem = &pSrc->a[iSrc]; local
73639 struct SrcList_item *pItem; local
73934 struct ExprList_item *pItem; local
74005 struct ExprList_item *pItem; local
74054 struct ExprList_item *pItem; /* A term of the ORDER BY clause */ local
74168 struct SrcList_item *pItem = &p->pSrc->a[i]; local
74247 struct ExprList_item *pItem; local
75244 struct ExprList_item *pItem, *pOldItem; local
75403 struct ExprList_item *pItem = &pList->a[pList->nExpr++]; local
75432 struct ExprList_item *pItem; local
75457 struct ExprList_item *pItem = &pList->a[pList->nExpr-1]; local
75488 struct ExprList_item *pItem; local
76084 struct ExprList_item *pItem; local
77686 struct ExprList_item *pItem = pList->a; local
77746 struct ExprList_item *pItem; local
78213 struct SrcList_item *pItem = pSrcList->a; local
78282 struct AggInfo_func *pItem = pAggInfo->aFunc; local
78357 struct ExprList_item *pItem; local
80848 struct SrcList_item *pItem; local
80913 struct ExprList_item *pItem; local
84438 struct SrcList_item *pItem; local
84469 struct SrcList_item *pItem; local
84487 struct SrcList_item *pItem; local
84528 struct SrcList_item *pItem; local
84565 struct SrcList_item *pItem = &p->a[p->nSrc-1]; local
85503 struct SrcList_item *pItem = pSrc->a; local
88568 struct SrcList_item *pItem = pSrc->a; local
90574 struct SrcList_item *pItem; /* An element of pSelect->pSrc */ local
95263 struct ExprList_item *pItem; local
96726 struct ExprList_item *pItem; local
96751 struct ExprList_item *pItem; local
97076 struct SrcList_item *pItem; local
98128 struct ExprList_item *pItem; local
98328 struct SrcList_item *pItem = &pTabList->a[i]; local
98599 struct ExprList_item *pItem; /* For looping over expression in a list */ local
99042 struct SrcList_item *pItem = &p->pSrc->a[i]; local
106260 struct SrcList_item *pItem = &pTabList->a[pLevel->iFrom]; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.c20008 struct SrcList_item *pItem = &pSrc->a[k]; local
20010 if( pItem->zDatabase ){
20011 sqlite3StrAccumAppend(pAccum, pItem->zDatabase, -1);
20014 sqlite3StrAccumAppend(pAccum, pItem->zName, -1);
73128 struct ExprList_item *pItem; local
73164 struct SrcList_item *pItem; local
73360 struct SrcList_item *pItem; /* Use for looping over pSrcList items */ local
73619 struct SrcList_item *pItem = &pSrc->a[iSrc]; local
73675 struct SrcList_item *pItem; local
73970 struct ExprList_item *pItem; local
74041 struct ExprList_item *pItem; local
74090 struct ExprList_item *pItem; /* A term of the ORDER BY clause */ local
74204 struct SrcList_item *pItem = &p->pSrc->a[i]; local
74283 struct ExprList_item *pItem; local
75280 struct ExprList_item *pItem, *pOldItem; local
75439 struct ExprList_item *pItem = &pList->a[pList->nExpr++]; local
75468 struct ExprList_item *pItem; local
75493 struct ExprList_item *pItem = &pList->a[pList->nExpr-1]; local
75524 struct ExprList_item *pItem; local
76120 struct ExprList_item *pItem; local
77722 struct ExprList_item *pItem = pList->a; local
77782 struct ExprList_item *pItem; local
78249 struct SrcList_item *pItem = pSrcList->a; local
78318 struct AggInfo_func *pItem = pAggInfo->aFunc; local
78393 struct ExprList_item *pItem; local
80884 struct SrcList_item *pItem; local
80949 struct ExprList_item *pItem; local
84474 struct SrcList_item *pItem; local
84505 struct SrcList_item *pItem; local
84523 struct SrcList_item *pItem; local
84564 struct SrcList_item *pItem; local
84601 struct SrcList_item *pItem = &p->a[p->nSrc-1]; local
85539 struct SrcList_item *pItem = pSrc->a; local
88604 struct SrcList_item *pItem = pSrc->a; local
90610 struct SrcList_item *pItem; /* An element of pSelect->pSrc */ local
95299 struct ExprList_item *pItem; local
96762 struct ExprList_item *pItem; local
96787 struct ExprList_item *pItem; local
97112 struct SrcList_item *pItem; local
98164 struct ExprList_item *pItem; local
98364 struct SrcList_item *pItem = &pTabList->a[i]; local
98635 struct ExprList_item *pItem; /* For looping over expression in a list */ local
99078 struct SrcList_item *pItem = &p->pSrc->a[i]; local
106296 struct SrcList_item *pItem = &pTabList->a[pLevel->iFrom]; local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c19200 struct SrcList_item *pItem = &pSrc->a[k]; local
19202 if( pItem->zDatabase ){
19203 sqlite3StrAccumAppend(pAccum, pItem->zDatabase, -1);
19206 sqlite3StrAccumAppend(pAccum, pItem->zName, -1);
69638 struct ExprList_item *pItem; local
69674 struct SrcList_item *pItem; local
69850 struct SrcList_item *pItem; /* Use for looping over pSrcList items */ local
70122 struct SrcList_item *pItem = &pSrc->a[iSrc]; local
70178 struct SrcList_item *pItem; local
70473 struct ExprList_item *pItem; local
70544 struct ExprList_item *pItem; local
70593 struct ExprList_item *pItem; /* A term of the ORDER BY clause */ local
70707 struct SrcList_item *pItem = &p->pSrc->a[i]; local
70772 struct ExprList_item *pItem; local
71768 struct ExprList_item *pItem, *pOldItem; local
71920 struct ExprList_item *pItem = &pList->a[pList->nExpr++]; local
71949 struct ExprList_item *pItem; local
71974 struct ExprList_item *pItem = &pList->a[pList->nExpr-1]; local
72005 struct ExprList_item *pItem; local
72590 struct ExprList_item *pItem; local
73932 struct ExprList_item *pItem = pList->a; local
73992 struct ExprList_item *pItem; local
74463 struct SrcList_item *pItem = pSrcList->a; local
74532 struct AggInfo_func *pItem = pAggInfo->aFunc; local
74607 struct ExprList_item *pItem; local
76670 struct SrcList_item *pItem; local
76735 struct ExprList_item *pItem; local
80199 struct SrcList_item *pItem; local
80230 struct SrcList_item *pItem; local
80248 struct SrcList_item *pItem; local
80289 struct SrcList_item *pItem; local
80326 struct SrcList_item *pItem = &p->a[p->nSrc-1]; local
81296 struct SrcList_item *pItem = pSrc->a; local
84297 struct SrcList_item *pItem = pSrc->a; local
86306 struct SrcList_item *pItem; /* An element of pSelect->pSrc */ local
90880 struct ExprList_item *pItem; local
92321 struct ExprList_item *pItem; local
92346 struct ExprList_item *pItem; local
92671 struct SrcList_item *pItem; local
93714 struct ExprList_item *pItem; local
93906 struct SrcList_item *pItem = &pTabList->a[i]; local
94090 struct ExprList_item *pItem; /* For looping over expression in a list */ local
94549 struct SrcList_item *pItem = &p->pSrc->a[i]; local
101377 struct SrcList_item *pItem = &pTabList->a[pLevel->iFrom]; local
[all...]

Completed in 1397 milliseconds