Home
last modified time | relevance | path

Searched refs:idx (Results 26 – 50 of 109) sorted by relevance

12345

/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_result_references.phpt20 $idx = 0;
23 $references[$idx] = array(
26 $references[$idx++]['id'] += 0;
34 $references[$idx] = array(
37 $references[$idx++]['id'] += 0;
52 $references[$idx] = array(
55 $references[$idx]['id2'] = &$references[$idx]['id'];
56 $references[$idx]['id'] += 1;
57 $references[$idx++]['id2'] += 1;
60 $references[$idx++] = &$res;
/PHP-7.1/ext/pdo/tests/
H A Dpdo_019.phpt17 $db->exec('CREATE TABLE test(idx int NOT NULL PRIMARY KEY, txt VARCHAR(20))');
26 $stmt = $db->prepare('SELECT idx, txt FROM test ORDER by idx');
34 $stmt->bindColumn('idx', $idx);
39 var_dump(array($idx=>$txt));
/PHP-7.1/ext/spl/
H A Dspl_engine.c43 zend_ulong idx; in spl_offset_convert_to_long() local
48 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) { in spl_offset_convert_to_long()
49 return idx; in spl_offset_convert_to_long()
/PHP-7.1/ext/zip/lib/
H A Dzip_set_name.c42 _zip_set_name(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags) in _zip_set_name() argument
51 if (idx >= za->nentry) { in _zip_set_name()
72 if ((i=_zip_name_locate(za, name, 0, NULL)) >= 0 && (zip_uint64_t)i != idx) { in _zip_set_name()
79 if (i>=0 && (zip_uint64_t)i == idx) { in _zip_set_name()
84 e = za->entry+idx; in _zip_set_name()
124 if (_zip_hash_add(za->names, new_name, idx, 0, &za->error) == false) { in _zip_set_name()
H A Dzip_rename.c42 zip_rename(zip_t *za, zip_uint64_t idx, const char *name) in zip_rename() argument
44 return zip_file_rename(za, idx, name, 0); in zip_rename()
H A Dzip_replace.c40 zip_replace(zip_t *za, zip_uint64_t idx, zip_source_t *source) in zip_replace() argument
42 return zip_file_replace(za, idx, source, 0); in zip_replace()
H A Dzip_file_set_mtime.c36 ZIP_EXTERN int zip_file_set_mtime(zip_t *za, zip_uint64_t idx, time_t mtime, zip_flags_t flags) in zip_file_set_mtime() argument
41 if (_zip_get_dirent(za, idx, 0, NULL) == NULL) in zip_file_set_mtime()
49 e = za->entry+idx; in zip_file_set_mtime()
H A Dzip_set_file_comment.c42 zip_set_file_comment(zip_t *za, zip_uint64_t idx, const char *comment, int len) in zip_set_file_comment() argument
48 return zip_file_set_comment(za, idx, comment, (zip_uint16_t)len, 0); in zip_set_file_comment()
H A Dzip_set_file_compression.c39 zip_set_file_compression(zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) in zip_set_file_compression() argument
44 if (idx >= za->nentry) { in zip_set_file_compression()
59 e = za->entry+idx; in zip_set_file_compression()
H A Dzip_get_file_comment.c40 zip_get_file_comment(zip_t *za, zip_uint64_t idx, int *lenp, int flags) in zip_get_file_comment() argument
45 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) { in zip_get_file_comment()
H A Dzip_file_get_external_attributes.c37 zip_file_get_external_attributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t *opsys… in zip_file_get_external_attributes() argument
41 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL) in zip_file_get_external_attributes()
H A Dzip_file_get_comment.c40 zip_file_get_comment(zip_t *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) in zip_file_get_comment() argument
46 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL) in zip_file_get_comment()
H A Dzip_file_set_external_attributes.c37 zip_file_set_external_attributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys,… in zip_file_set_external_attributes() argument
44 if (_zip_get_dirent(za, idx, 0, NULL) == NULL) in zip_file_set_external_attributes()
52 e = za->entry+idx; in zip_file_set_external_attributes()
H A Dzip_file_get_offset.c51 _zip_file_get_offset(const zip_t *za, zip_uint64_t idx, zip_error_t *error) in _zip_file_get_offset() argument
56 offset = za->entry[idx].orig->offset; in _zip_file_get_offset()
H A Dzip_file_set_comment.c41 zip_file_set_comment(zip_t *za, zip_uint64_t idx, in zip_file_set_comment() argument
48 if (_zip_get_dirent(za, idx, 0, NULL) == NULL) in zip_file_set_comment()
70 e = za->entry+idx; in zip_file_set_comment()
/PHP-7.1/tests/lang/
H A Dbug19943.phpt8 @$ar[$count]['idx'] = "$count";
12 echo $ar[$count]." -- ".@$ar[$count]['idx']."\n";
/PHP-7.1/ext/hash/
H A Dhash_sha3.c36 static inline unsigned char idx(unsigned char x, unsigned char y) { in idx() function
64 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y))
65 # define writeLane(x, y, v) store64(ctx->state+sizeof(uint64_t)*idx(x, y), v)
66 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v)
68 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)])
69 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v)
70 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v)
/PHP-7.1/ext/standard/
H A Dmetaphone.c128 int idx; in Lookahead() local
129 for (idx = 0; word[idx] != '\0' && idx < how_far; idx++); in Lookahead()
132 letter_ahead = word[idx]; /* idx will be either == to how_far or in Lookahead()
H A Darray.c2323 for (j = 0, idx = 0; idx < hash->nNumUsed; idx++) {
2344 for (j = 0, idx = 0; idx < hash->nNumUsed; idx++) {
2679 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) {
2694 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) {
2717 for (idx = 0; idx < Z_ARRVAL_P(stack)->nNumUsed; idx++) {
3825 for (i = 0, idx = 0; idx < Z_ARRVAL_P(array)->nNumUsed; idx++) {
3940 for (idx = 0; idx < Z_ARRVAL(args[0])->nNumUsed; idx++) {
4124 for (idx = 0; idx < hash->nNumUsed; idx++) {
4363 for (idx = 0; idx < Z_ARRVAL(args[0])->nNumUsed; idx++) {
4546 for (idx = 0; idx < hash->nNumUsed; idx++) {
[all …]
/PHP-7.1/ext/mbstring/ucgendat/
H A Ducgendat.c198 ac_uint4 idx; member
806 ncodes[j].idx = ncodes[j - 1].idx; in add_number()
1299 ac_uint4 i, idx, nprops; in write_cdata() local
1333 for (i = idx = 0; i < NUMPROPS; i++) { in write_cdata()
1335 idx += proptbl[i].used; in write_cdata()
1342 propcnt[i] = idx; in write_cdata()
1358 bytes += sizeof(ac_uint4) * idx; in write_cdata()
1602 idx += decomps[i].used; in write_cdata()
1654 idx += decomps[i].used; in write_cdata()
1694 idx += kdecomps[i].used; in write_cdata()
[all …]
/PHP-7.1/ext/spl/tests/
H A Dbug36287.phpt8 $idx = 0;
15 if (++$idx > 1)
/PHP-7.1/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022_jp_ms.c277 int idx; in cp932ext3_cp932ext2_jis() local
279 idx = sjistoidx(0xfa, 0x40) + c; in cp932ext3_cp932ext2_jis()
280 if (idx >= sjistoidx(0xfa, 0x5c)) in cp932ext3_cp932ext2_jis()
281 idx -= sjistoidx(0xfa, 0x5c) - sjistoidx(0xed, 0x40); in cp932ext3_cp932ext2_jis()
282 else if (idx >= sjistoidx(0xfa, 0x55)) in cp932ext3_cp932ext2_jis()
283 idx -= sjistoidx(0xfa, 0x55) - sjistoidx(0xee, 0xfa); in cp932ext3_cp932ext2_jis()
284 else if (idx >= sjistoidx(0xfa, 0x40)) in cp932ext3_cp932ext2_jis()
285 idx -= sjistoidx(0xfa, 0x40) - sjistoidx(0xee, 0xef); in cp932ext3_cp932ext2_jis()
286 return idxtojis1(idx) << 8 | idxtojis2(idx); in cp932ext3_cp932ext2_jis()
/PHP-7.1/win32/
H A Dcodepage.c99 const char *idx = in, *end; in php_win32_cp_conv_ascii_to_w() local
117 while (idx != end) { in php_win32_cp_conv_ascii_to_w()
118 if (!__isascii(*idx) && '\0' != *idx) { in php_win32_cp_conv_ascii_to_w()
121 idx++; in php_win32_cp_conv_ascii_to_w()
124 if (idx == end) { in php_win32_cp_conv_ascii_to_w()
318 char *start = cp->enc, *idx; in php_win32_cp_get_by_enc() local
320 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
322 while (NULL != idx) { in php_win32_cp_get_by_enc()
323 if (0 == zend_binary_strcasecmp(enc, enc_len, start, idx - start)) { in php_win32_cp_get_by_enc()
326 start = idx + 1; in php_win32_cp_get_by_enc()
[all …]
/PHP-7.1/ext/opcache/
H A Dzend_persist.c86 uint32_t idx, nIndex; in zend_hash_persist() local
136 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist()
137 p = ht->arData + idx; in zend_hash_persist()
150 HT_HASH(ht, nIndex) = HT_IDX_TO_HASH(idx); in zend_hash_persist()
164 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist()
165 p = ht->arData + idx; in zend_hash_persist()
180 uint32_t idx, nIndex; in zend_hash_persist_immutable() local
228 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist_immutable()
229 p = ht->arData + idx; in zend_hash_persist_immutable()
253 for (idx = 0; idx < ht->nNumUsed; idx++) { in zend_hash_persist_immutable()
[all …]
/PHP-7.1/ext/reflection/tests/
H A DReflectionType_001.phpt23 ] as $idx => $rf) {
25 echo "** Function $idx - Parameter $idx2\n";
43 ] as $idx => $rm) {
45 echo "** Method $idx - parameter $idx2\n";
66 ] as $idx => $rf) {
67 echo "** Function/method return type $idx\n";

Completed in 58 milliseconds

12345