Home
last modified time | relevance | path

Searched refs:count (Results 101 – 125 of 1230) sorted by relevance

12345678910>>...50

/PHP-5.5/ext/standard/tests/strings/
H A Dstr_ireplace.phpt12 var_dump(str_ireplace("tt", "a", "ttttTttttttttTT", $count));
13 var_dump($count);
16 var_dump(str_ireplace("tt", "aa", "ttttTttttttttTT", $count));
17 var_dump($count);
20 var_dump(str_ireplace("tt", "aaa", "ttttTttttttttTT", $count));
21 var_dump($count);
24 var_dump(str_ireplace("tt", "aaa", "ttttTttttttttTT", $count));
25 var_dump($count);
H A Dstrtok_variation7.phpt23 for( $count = 1; $count <=6; $count++ ) {
24 echo "\n-- Token $count is --\n";
33 for( $count = 1; $count <=10; $count++ ) {
34 echo "\n-- Token $count is --\n";
H A Dstr_replace.phpt21 var_dump( $count );
24 var_dump( $count );
27 var_dump( $count );
110 var_dump($count);
117 var_dump($count);
150 var_dump($count);
155 var_dump($count);
162 var_dump($count);
170 var_dump($count);
173 var_dump($count);
[all …]
H A Dfprintf_error.phpt23 Warning: Wrong parameter count for fprintf() in %sfprintf_error.php on line %d
26 Warning: Wrong parameter count for fprintf() in %sfprintf_error.php on line %d
29 Warning: Wrong parameter count for fprintf() in %sfprintf_error.php on line %d
/PHP-5.5/main/streams/
H A Dmemory.c61 tmp = emalloc(ms->fpos + count); in php_stream_memory_write()
69 ms->fsize = ms->fpos + count; in php_stream_memory_write()
73 count = 0; in php_stream_memory_write()
74 if (count) { in php_stream_memory_write()
77 ms->fpos += count; in php_stream_memory_write()
79 return count; in php_stream_memory_write()
92 count = 0; in php_stream_memory_read()
95 count = ms->fsize - ms->fpos; in php_stream_memory_read()
97 if (count) { in php_stream_memory_read()
101 ms->fpos += count; in php_stream_memory_read()
[all …]
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput214 Capturing subpattern count = 1
21 Capturing subpattern count = 0
39 Capturing subpattern count = 0
55 Capturing subpattern count = 0
61 Capturing subpattern count = 0
67 Capturing subpattern count = 0
73 Capturing subpattern count = 1
79 Capturing subpattern count = 0
154 Capturing subpattern count = 0
160 Capturing subpattern count = 0
[all …]
H A Dtestoutput1620 Capturing subpattern count = 0
32 Capturing subpattern count = 0
44 Capturing subpattern count = 0
56 Capturing subpattern count = 0
62 Capturing subpattern count = 0
90 Capturing subpattern count = 0
98 Capturing subpattern count = 0
106 Capturing subpattern count = 0
122 Capturing subpattern count = 0
132 Capturing subpattern count = 0
H A Dtestoutput1584 Capturing subpattern count = 0
260 Capturing subpattern count = 0
272 Capturing subpattern count = 0
284 Capturing subpattern count = 0
296 Capturing subpattern count = 0
308 Capturing subpattern count = 0
320 Capturing subpattern count = 0
332 Capturing subpattern count = 0
344 Capturing subpattern count = 0
356 Capturing subpattern count = 0
[all …]
/PHP-5.5/ext/pcre/
H A Dphp_pcre.c264 int count = 0; in pcre_get_compiled_regex_cache() local
689 if (count == 0) { in php_pcre_match_impl()
691 count = size_offsets/3; in php_pcre_match_impl()
695 if (count > 0) { in php_pcre_match_impl()
955 if (backref < count) { in preg_do_eval()
1127 if (count == 0) { in php_pcre_replace_impl()
1581 if (count == 0) { in php_pcre_split_impl()
1640 if (count < 1) { in php_pcre_split_impl()
1852 if (count == 0) { in php_pcre_grep_impl()
1855 } else if (count < 0 && count != PCRE_ERROR_NOMATCH) { in php_pcre_grep_impl()
[all …]
/PHP-5.5/Zend/
H A Dzend_llist.c30 l->count = 0; in zend_llist_init()
51 ++l->count; in zend_llist_add_element()
69 ++l->count; in zend_llist_prepend_element()
88 --l->count;
118 l->count = 0; in zend_llist_destroy()
149 --l->count; in zend_llist_remove_tail()
202 if (l->count <= 0) { in zend_llist_sort()
206 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); in zend_llist_sort()
214 zend_qsort(elements, l->count, sizeof(zend_llist_element *), (compare_func_t) comp_func TSRMLS_CC); in zend_llist_sort()
219 for (i = 1; i < l->count; i++) { in zend_llist_sort()
[all …]
H A Dzend_ptr_stack.h38 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...);
39 ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...);
46 #define ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count) \ in END_EXTERN_C() argument
47 if (stack->top+count > stack->max) { \ in END_EXTERN_C()
51 } while (stack->top+count > stack->max); \ in END_EXTERN_C()
/PHP-5.5/ext/spl/tests/
H A Dobserver_008.phpt21 var_dump($a->count());
24 var_dump($a->count());
27 var_dump($a->count());
H A DSplFixedArray_toArray_with-params.phpt15 // Test count() returns correct error when parameters are passed.
16 $fixedArray->count(1);
19 Warning: SplFixedArray::count() expects exactly 0 parameters, %d given in %s on line %d
H A Dspl_002.phpt8 function count()
16 var_dump(count($a));
/PHP-5.5/ext/simplexml/tests/
H A D029.phpt2 SimpleXML: foreach and count
24 var_dump(count($people));
25 var_dump(count($person));
/PHP-5.5/ext/standard/tests/streams/
H A Dbug46024.phpt22 var_dump($ret === (count($r) + count($w)));
29 var_dump($ret === (count($r) + count($w)));
/PHP-5.5/ext/dom/
H A Dnamednodemap.c91 int count = 0; in dom_namednodemap_length_read() local
99 count = xmlHashSize(objmap->ht); in dom_namednodemap_length_read()
106 count++; in dom_namednodemap_length_read()
108 count++; in dom_namednodemap_length_read()
117 ZVAL_LONG(*retval, count); in dom_namednodemap_length_read()
211 int count; in PHP_FUNCTION() local
235 count = 0; in PHP_FUNCTION()
236 while (count < index && curnode != NULL) { in PHP_FUNCTION()
237 count++; in PHP_FUNCTION()
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3stmt_paramCount_basic.phpt30 echo 'Param count for query ' . ($key + 1) . ":\n";
49 Param count for query 1:
51 Param count for query 2:
53 Param count for query 3:
55 Param count for query 4:
H A Dsqlite3_openblob_wrongparams.phpt2 SQLite3::blobOpen test, testing stream with wrong parameter count
22 public function stream_read($count)
24 $ret = substr(self::$string, $this->position, $count);
63 echo "Open BLOB with wrong parameter count\n";
75 Open BLOB with wrong parameter count
/PHP-5.5/ext/standard/tests/array/
H A Darray_count_values2.phpt21 Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %s
23 Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %s
25 Warning: array_count_values(): Can only count STRING and INTEGER values! in %s on line %s
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_statistics.h66 if ((enabler) && _p_s && _s != _p_s->count) { \
75 if ((enabler) && _p_s && _s != _p_s->count) { \
84 if ((enabler) && _p_s && _s != _p_s->count) { \
98 if (_s1 != _p_s->count) MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(_p_s, _s1, v1); \
99 if (_s2 != _p_s->count) MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(_p_s, _s2, v2); \
113 if (_s1 != _p_s->count) MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(_p_s, _s1, v1); \
114 if (_s2 != _p_s->count) MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(_p_s, _s2, v2); \
115 if (_s3 != _p_s->count) MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(_p_s, _s3, v3); \
/PHP-5.5/ext/standard/
H A Dcrypt_blowfish.c446 static void BF_swap(BF_word *x, int count) in BF_swap() argument
457 } while (--count); in BF_swap()
672 BF_word count; in BF_crypt() local
694 if (count < min || BF_decode(data.binary.salt, &setting[7], 16)) { in BF_crypt()
758 } while (--count); in BF_crypt()
764 count = 64; in BF_crypt()
767 } while (--count); in BF_crypt()
891 (count && (count < 4 || count > 31)) ||
899 if (!count) count = 5;
905 output[4] = '0' + count / 10;
[all …]
/PHP-5.5/ext/hash/
H A Dhash_snefru.c144 if ((MAX32 - context->count[1]) < (len * 8)) { in PHP_SNEFRUUpdate()
145 context->count[0]++; in PHP_SNEFRUUpdate()
146 context->count[1] = MAX32 - context->count[1]; in PHP_SNEFRUUpdate()
147 context->count[1] = (len * 8) - context->count[1]; in PHP_SNEFRUUpdate()
149 context->count[1] += len * 8; in PHP_SNEFRUUpdate()
182 context->state[14] = context->count[0]; in PHP_SNEFRUFinal()
183 context->state[15] = context->count[1]; in PHP_SNEFRUFinal()
/PHP-5.5/ext/spl/
H A Dspl_heap.c63 int count; member
233 heap->count = 0; in spl_ptr_heap_init()
255 heap->count++; in spl_ptr_heap_insert()
268 if (heap->count == 0) { in spl_ptr_heap_top()
282 if (heap->count == 0) { in spl_ptr_heap_delete_top()
325 heap->count = from->count; in spl_ptr_heap_clone()
352 return heap->count; in spl_ptr_heap_count()
513 *count = 0; in spl_heap_object_count_elements()
586 SPL_METHOD(SplHeap, count) in SPL_METHOD() argument
588 long count; in SPL_METHOD() local
[all …]
/PHP-5.5/ext/mbstring/tests/
H A Dbug43840.phpt2 Test mb_strpos() function : mb_strpos bounds check is byte count rather than a character count
16 * mb_strpos bounds check is byte count rather than a character count:
19 * byte count of the string. Should return error message when passed character count.

Completed in 87 milliseconds

12345678910>>...50