Searched refs:idx (Results 1 - 25 of 59) sorted by relevance

123

/PHP_5_3/ext/spl/internal/
H A Dsplobjectstorage.inc127 foreach($this->storage as $idx => $element)
131 unset($this->storage[$idx]);
159 foreach($this->storage as $idx => $element)
/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dbtree.c370 int idx; /* Index of the entry in pPage->apCell[] */ member in struct:BtCursor
521 u16 *pIdx, idx; local
532 idx = SWAB16(pBt, *pIdx);
533 while( idx!=0 && idx<start ){
534 pFBlk = (FreeBlk*)&pPage->u.aDisk[idx];
536 if( idx + iSize == start ){
538 if( idx + iSize + size == SWAB16(pBt, pFBlk->iNext) ){
539 pNext = (FreeBlk*)&pPage->u.aDisk[idx + iSize + size];
551 idx
581 int idx; /* An index into pPage->u.aDisk[] */ local
1983 reparentPage(Pager *pPager, Pgno pgno, MemPage *pNewParent,int idx) argument
2031 dropCell(Btree *pBt, MemPage *pPage, int idx, int sz) argument
2058 int idx, j; local
2089 int idx = Addr(pPage->apCell[i]) - Addr(pPage); local
2186 int idx; /* Index of pPage in pParent->apCell[] */ local
2804 int idx; local
3039 u16 idx; local
3122 int cnt, idx; local
[all...]
H A Dinsert.c97 int i, j, idx; /* Loop counters */ local
283 pColumn->a[i].idx = -1;
288 pColumn->a[i].idx = j;
333 idx = sqliteOpenTableAndIndices(pParse, pTab, base);
334 pParse->nTab += idx;
383 if( pColumn->a[j].idx==i ) break;
411 idx = sqliteOpenTableAndIndices(pParse, pTab, base);
412 pParse->nTab += idx;
456 if( pColumn->a[j].idx==i ) break;
489 for(idx
768 int idx = pIdx->aiColumn[i]; local
[all...]
H A Dprintf.c202 int idx; /* A general purpose loop counter */ local
309 for(idx=0; idx<etNINFO; idx++){
310 if( c==fmtinfo[idx].fmttype ){
311 infop = &fmtinfo[idx];
374 for(idx=precision-length; idx>0; idx--){
406 for(idx
[all...]
/PHP_5_3/ext/zip/lib/
H A Dzip_delete.c43 zip_delete(struct zip *za, zip_uint64_t idx)
45 if (idx >= za->nentry) {
57 if (_zip_unchange(za, idx, 1) != 0)
60 za->entry[idx].state = ZIP_ST_DELETED;
41 zip_delete(struct zip *za, zip_uint64_t idx) argument
H A Dzip_file_get_offset.c56 _zip_file_get_offset(struct zip *za, int idx)
61 offset = za->cdir->entry[idx].offset;
54 _zip_file_get_offset(struct zip *za, int idx) argument
H A Dzip_fopen.c45 int idx;
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_fopen_index_encrypted(za, idx, flags, za->default_password);
43 int idx; local
H A Dzip_fopen_encrypted.c46 int idx;
48 if ((idx=zip_name_locate(za, fname, flags)) < 0)
51 return zip_fopen_index_encrypted(za, idx, flags, password);
44 int idx; local
H A Dzip_get_file_comment.c43 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags)
45 if (idx >= za->nentry) {
51 || (za->entry[idx].ch_comment_len == -1)) {
53 *lenp = za->cdir->entry[idx].comment_len;
54 return za->cdir->entry[idx].comment;
58 *lenp = za->entry[idx].ch_comment_len;
59 return za->entry[idx].ch_comment;
41 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
H A Dzip_get_file_extra.c41 zip_get_file_extra(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
43 if (idx >= za->nentry) {
49 || (za->entry[idx].ch_extra_len == -1)) {
51 *lenp = za->cdir->entry[idx].extrafield_len;
52 return za->cdir->entry[idx].extrafield;
56 *lenp = za->entry[idx].ch_extra_len;
57 return za->entry[idx].ch_extra;
H A Dzip_get_name.c43 zip_get_name(struct zip *za, zip_uint64_t idx, int flags)
45 return _zip_get_name(za, idx, flags, &za->error);
52 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags,
55 if (idx >= za->nentry) {
61 if (za->entry[idx].state == ZIP_ST_DELETED) {
65 if (za->entry[idx].ch_filename)
66 return za->entry[idx].ch_filename;
69 if (za->cdir == NULL || idx >= za->cdir->nentry) {
74 return za->cdir->entry[idx].filename;
41 zip_get_name(struct zip *za, zip_uint64_t idx, int flags) argument
49 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags, struct zip_error *error) argument
H A Dzip_rename.c45 zip_rename(struct zip *za, zip_uint64_t idx, const char *name)
50 if (idx >= za->nentry || name[0] == '\0') {
60 if ((old_name=zip_get_name(za, idx, 0)) == NULL)
71 return _zip_set_name(za, idx, name);
43 zip_rename(struct zip *za, zip_uint64_t idx, const char *name) argument
H A Dzip_replace.c43 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source)
45 if (idx >= za->nentry || source == NULL) {
50 if (_zip_replace(za, idx, NULL, source) == -1)
63 _zip_replace(struct zip *za, zip_uint64_t idx, const char *name,
71 if (idx == ZIP_UINT64_MAX) {
75 idx = za->nentry - 1;
78 _zip_unchange_data(za->entry+idx);
80 if (name && _zip_set_name(za, idx, name) != 0)
83 za->entry[idx].state = ((za->cdir == NULL || idx >
41 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) argument
60 _zip_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source) argument
[all...]
H A Dzip_set_file_comment.c45 zip_set_file_comment(struct zip *za, zip_uint64_t idx,
50 if (idx >= za->nentry
69 free(za->entry[idx].ch_comment);
70 za->entry[idx].ch_comment = tmpcom;
71 za->entry[idx].ch_comment_len = len;
43 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len) argument
H A Dzip_set_file_extra.c43 zip_set_file_extra(struct zip *za, zip_uint64_t idx, argument
48 if (idx >= za->nentry
67 free(za->entry[idx].ch_extra);
68 za->entry[idx].ch_extra = tmpext;
69 za->entry[idx].ch_extra_len = len;
H A Dzip_set_name.c46 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name)
51 if (idx >= za->nentry || name == NULL) {
56 if ((i=_zip_name_locate(za, name, 0, NULL)) != -1 && i != idx) {
62 if (i == idx)
70 if (za->entry[idx].state == ZIP_ST_UNCHANGED)
71 za->entry[idx].state = ZIP_ST_RENAMED;
73 free(za->entry[idx].ch_filename);
74 za->entry[idx].ch_filename = s;
44 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name) argument
H A Dzip_stat.c45 int idx;
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_stat_index(za, idx, flags, st);
43 int idx; local
H A Dzip_unchange.c45 zip_unchange(struct zip *za, zip_uint64_t idx)
47 return _zip_unchange(za, idx, 0);
54 _zip_unchange(struct zip *za, zip_uint64_t idx, int allow_duplicates)
58 if (idx >= za->nentry) {
63 if (za->entry[idx].ch_filename) {
66 _zip_get_name(za, idx, ZIP_FL_UNCHANGED, NULL),
68 if (i != -1 && i != idx) {
74 free(za->entry[idx].ch_filename);
75 za->entry[idx].ch_filename = NULL;
78 free(za->entry[idx]
43 zip_unchange(struct zip *za, zip_uint64_t idx) argument
51 _zip_unchange(struct zip *za, zip_uint64_t idx, int allow_duplicates) argument
[all...]
/PHP_5_3/scripts/dev/
H A Dcheck_parameters.php138 function check_param($db, $idx, $exp, $optional)
142 if ($idx >= count($db)) {
148 } elseif ($db[$idx][0] === '**dummy**') {
152 if ($db[$idx][1] != $exp) {
153 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']');
156 if ($optional && !$db[$idx][2]) {
157 error("optional var not initialized: {$db[$idx][0]} [".($idx
[all...]
/PHP_5_3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022_jp_ms.c277 int idx; local
279 idx = sjistoidx(0xfa, 0x40) + c;
280 if (idx >= sjistoidx(0xfa, 0x5c))
281 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40);
282 else if (idx >= sjistoidx(0xfa, 0x55))
283 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa);
284 else if (idx >= sjistoidx(0xfa, 0x40))
285 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef);
286 return idxtojis1(idx) << 8 | idxtojis2(idx);
[all...]
/PHP_5_3/ext/mbstring/ucgendat/
H A Ducgendat.c198 ac_uint4 idx; member in struct:__anon257
783 ncodes[i].idx = make_number(num, denom);
806 ncodes[j].idx = ncodes[j - 1].idx;
810 ncodes[i].idx = make_number(num, denom);
1299 ac_uint4 i, idx, nprops; local
1333 for (i = idx = 0; i < NUMPROPS; i++) {
1334 propcnt[i] = (proptbl[i].used != 0) ? idx : 0xffff;
1335 idx += proptbl[i].used;
1342 propcnt[i] = idx;
[all...]
/PHP_5_3/ext/spl/
H A Dspl_engine.c50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx);
/PHP_5_3/ext/standard/
H A Dmetaphone.c130 int idx; local
131 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++);
134 letter_ahead = word[idx]; /* idx will be either == to how_far or
/PHP_5_3/Zend/
H A Dzend_hash.h315 ulong idx; \
325 idx = (*tmp - '0'); \
327 idx = (idx * 10) + (*tmp - '0'); \
331 if (idx-1 > LONG_MAX) { /* overflow */ \
334 idx = 0 - idx; \
335 } else if (idx > LONG_MAX) { /* overflow */ \
345 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_update(ht, idx, pData, nDataSize, pDest));
352 ZEND_HANDLE_NUMERIC(arKey, nKeyLength, zend_hash_index_del(ht, idx));
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_result_meta.c55 mysqlnd_is_key_numeric(const char * key, size_t length, long *idx) argument
77 *idx = strtol(key, NULL, 10);
78 if (*idx!=LONG_MIN) {
82 *idx = strtol(key, NULL, 10);
83 if (*idx!=LONG_MAX) {
98 mysqlnd_unicode_is_key_numeric(UChar *key, size_t length, long *idx) argument
120 *idx = zend_u_strtol(key, NULL, 10);
121 if (*idx!=LONG_MIN) {
125 *idx = zend_u_strtol(key, NULL, 10);
126 if (*idx!
159 long idx; local
[all...]

Completed in 43 milliseconds

123