Home
last modified time | relevance | path

Searched refs:count (Results 1 - 25 of 246) sorted by relevance

12345678910

/php-7.4/ext/hash/
H A Dhash_sha.c(last modified 13/02/2019 23:05)204 context->count[0] = context->count[1] = 0; in PHP_SHA1Init()
335 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_SHA1Update()
338 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_SHA1Update()
340 context->count[1]++; in PHP_SHA1Update()
341 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_SHA1Update()
376 bits[7] = context->count[0] & 0xFF; in PHP_SHA1Final()
377 bits[6] = (context->count[0] >> 8) & 0xFF; in PHP_SHA1Final()
378 bits[5] = (context->count[0] >> 16) & 0xFF; in PHP_SHA1Final()
379 bits[4] = (context->count[ in PHP_SHA1Final()
[all...]
H A Dhash_ripemd.c(last modified 13/02/2019 23:05)75 context->count[0] = context->count[1] = 0; in PHP_RIPEMD128Init()
90 context->count[0] = context->count[1] = 0; in PHP_RIPEMD256Init()
109 context->count[0] = context->count[1] = 0; in PHP_RIPEMD160Init()
125 context->count[0] = context->count[1] = 0; in PHP_RIPEMD320Init()
263 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_RIPEMD128Update()
266 if ((context->count[ in PHP_RIPEMD128Update()
[all...]
H A Dhash_md.c(last modified 13/02/2019 23:05)267 context->count[0] = context->count[1] = 0; in PHP_MD5Init()
288 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_MD5Update()
291 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_MD5Update()
293 context->count[1]++; in PHP_MD5Update()
294 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_MD5Update()
329 Encode(bits, context->count, 8); in PHP_MD5Final()
333 index = (unsigned int) ((context->count[0] >> 3) & 0x3f); in PHP_MD5Final()
527 context->count[0] = context->count[ in PHP_MD4Init()
[all...]
H A Dhash_haval.c(last modified 13/02/2019 23:05)258 { int i; context->count[0] = context->count[1] = 0; \
288 index = (unsigned int) ((context->count[0] >> 3) & 0x7F); in PHP_HAVALUpdate()
290 if ((context->count[0] += ((uint32_t) inputLen << 3)) < ((uint32_t) inputLen << 3)) { in PHP_HAVALUpdate()
291 context->count[1]++; in PHP_HAVALUpdate()
293 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_HAVALUpdate()
333 Encode(bits + 2, context->count, 8); in PHP_HAVAL128Final()
337 index = (unsigned int) ((context->count[0] >> 3) & 0x7f); in PHP_HAVAL128Final()
387 Encode(bits + 2, context->count, 8); in PHP_HAVAL160Final()
391 index = (unsigned int) ((context->count[ in PHP_HAVAL160Final()
[all...]
/php-7.4/ext/dom/
H A Dcharacterdata.c(last modified 06/06/2019 08:00)32 ZEND_ARG_INFO(0, count)
46 ZEND_ARG_INFO(0, count)
51 ZEND_ARG_INFO(0, count)
150 /* {{{ proto string dom_characterdata_substring_data(int offset, int count);
160 zend_long offset, count; in PHP_FUNCTION() local
165 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &offset, &count) == FAILURE) { in PHP_FUNCTION()
178 if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
184 if ((offset + count) > length) { in PHP_FUNCTION()
185 count in PHP_FUNCTION()
282 zend_long offset, count; PHP_FUNCTION() local
339 zend_long offset, count; PHP_FUNCTION() local
[all...]
H A Dnodelist.c(last modified 13/02/2019 23:05)49 PHP_FALIAS(count, dom_nodelist_count, arginfo_dom_nodelist_count)
63 int count = 0; in dom_nodelist_length_read() local
69 count = xmlHashSize(objmap->ht); in dom_nodelist_length_read()
73 count = zend_hash_num_elements(nodeht); in dom_nodelist_length_read()
80 count++; in dom_nodelist_length_read()
82 count++; in dom_nodelist_length_read()
93 nodep, (char *) objmap->ns, (char *) objmap->local, &count, -1); in dom_nodelist_length_read()
100 ZVAL_LONG(retval, count); in dom_nodelist_length_read()
140 int count = 0; in PHP_FUNCTION() local
171 while (count < inde in PHP_FUNCTION()
[all...]
/php-7.4/ext/pcre/
H A Dphp_pcre.c(last modified 12/02/2020 08:00)1048 uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) { in populate_subpat_array()
1055 for (i = 0; i < count; i++) { in populate_subpat_array()
1061 for (i = count; i < num_subpats; i++) { in populate_subpat_array()
1066 for (i = 0; i < count; i++) { in populate_subpat_array()
1075 for (i = count; i < num_subpats; i++) { in populate_subpat_array()
1086 for (i = 0; i < count; i++) { in populate_subpat_array()
1091 for (i = count; i < num_subpats; i++) { in populate_subpat_array()
1096 for (i = 0; i < count; i++) { in populate_subpat_array()
1102 for (i = count; i < num_subpats; i++) { in populate_subpat_array()
1170 int count; /* Coun in php_pcre_match_impl() local
1046 populate_subpat_array( zval *subpats, char *subject, PCRE2_SIZE *offsets, zend_string **subpat_names, uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) populate_subpat_array() argument
1540 preg_do_repl_func(zend_fcall_info *fci, zend_fcall_info_cache *fcc, char *subject, PCRE2_SIZE *offsets, zend_string **subpat_names, uint32_t num_subpats, int count, const PCRE2_SPTR mark, zend_long flags) preg_do_repl_func() argument
1608 int count; /* Count of matched subpatterns */ php_pcre_replace_impl() local
1850 int count; /* Count of matched subpatterns */ php_pcre_replace_func_impl() local
2533 int count; /* Count of matched subpatterns */ php_pcre_split_impl() local
2886 int count; /* Count of matched subpatterns */ php_pcre_grep_impl() local
[all...]
/php-7.4/ext/bcmath/libbcmath/src/
H A Ddoaddsub.c(last modified 07/05/2019 08:00)54 int count; local
65 for (count = scale_min - sum_scale; count > 0; count--)
146 int borrow, count, val; local
159 for (count = scale_min - diff_scale; count > 0; count--)
175 for (count = n1->n_scale - min_scale; count >
[all...]
H A Dcompare.c(last modified 07/05/2019 08:00)52 int count; local
86 count = n1->n_len + MIN (n1->n_scale, n2->n_scale);
90 while ((count > 0) && (*n1ptr == *n2ptr))
94 count--;
96 if (ignore_last && count == 1 && n1->n_scale == n2->n_scale)
98 if (count != 0)
123 for (count = n1->n_scale-n2->n_scale; count>0; count--)
135 for (count
[all...]
/php-7.4/ext/spl/
H A Dspl_heap.c(last modified 22/06/2020 08:00)60 int count; member
257 heap->count = 0; in spl_ptr_heap_init()
268 if (heap->count+1 > heap->max_size) { in spl_ptr_heap_insert()
277 for (i = heap->count; i > 0 && heap->cmp(spl_heap_elem(heap, (i-1)/2), elem, cmp_userdata) < 0; i = (i-1)/2) { in spl_ptr_heap_insert()
280 heap->count++; in spl_ptr_heap_insert()
292 if (heap->count == 0) { in spl_ptr_heap_top()
302 const int limit = (heap->count-1)/2; in spl_ptr_heap_delete_top()
305 if (heap->count == 0) { in spl_ptr_heap_delete_top()
315 bottom = spl_heap_elem(heap, --heap->count); in spl_ptr_heap_delete_top()
320 if (j != heap->count in spl_ptr_heap_delete_top()
486 spl_heap_object_count_elements(zval *object, zend_long *count) spl_heap_object_count_elements() argument
580 zend_long count; SPL_METHOD() local
[all...]
H A Dspl_dllist.c(last modified 07/04/2020 08:00)77 int count; member
136 llist->count = 0; in spl_ptr_llist_init()
146 return (zend_long)llist->count; in spl_ptr_llist_count()
209 llist->count++; in spl_ptr_llist_unshift()
233 llist->count++; in spl_ptr_llist_push()
257 llist->count--; in spl_ptr_llist_pop()
311 llist->count--; in spl_ptr_llist_shift()
354 while (intern->llist->count > 0) { in spl_dllist_object_free_storage()
444 intern->fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") in spl_dllist_object_new_ex()
474 spl_dllist_object_count_elements(zval *object, zend_long *count) spl_dllist_object_count_elements() argument
686 zend_long count; SPL_METHOD() local
702 zend_long count; SPL_METHOD() local
[all...]
/php-7.4/ext/pcre/pcre2lib/
H A Dpcre2_dfa_match.c(last modified 18/09/2020 08:00)297 int count; /* Count for repeats */ member
485 next_active_state->count = (y); \
494 next_active_state->count = (y); \
504 next_new_state->count = (y); \
513 next_new_state->count = (y); \
752 int count; in internal_dfa_match() local
763 ADD_NEW_DATA(state_offset, current_state->count, in internal_dfa_match()
774 /* Check for a duplicate state with the same count, and skip if found. in internal_dfa_match()
781 active_states[j].count == current_state->count) in internal_dfa_match()
[all...]
H A Dpcre2_substring.c(last modified 13/02/2019 23:05)319 int count = match_data->rc; in pcre2_substring_length_bynumber() local
320 if (count == PCRE2_ERROR_PARTIAL) in pcre2_substring_length_bynumber()
323 count = 0; in pcre2_substring_length_bynumber()
325 else if (count < 0) return count; /* Match failed */ in pcre2_substring_length_bynumber()
339 if (count != 0 && stringnumber >= (uint32_t)count) return PCRE2_ERROR_UNSET; in pcre2_substring_length_bynumber()
375 int i, count, count2; in pcre2_substring_list_get() local
383 if ((count = match_data->rc) < 0) return count; /* Matc in pcre2_substring_list_get()
[all...]
/php-7.4/ext/mbstring/ucgendat/
H A Ducgendat.php(last modified 22/04/2019 08:00)106 $this->numProps = count($this->propIndexes);
141 $lastRange = $ranges[count($ranges) - 1];
219 if (count($fields) != 15) {
275 if (count($fields) != 4) {
307 if (count($caseCodes) == 1) {
321 if (count($caseCodes) > 3) {
330 if (count($fields) != 5 && count($fields) != 6) {
355 if (count($fields) != 2) {
365 if (count(
[all...]
/php-7.4/ext/sysvsem/
H A Dsysvsem.c(last modified 13/02/2019 23:05)118 * The value of semaphore 1 (SYSVSEM_USAGE) is a count of the number
120 * process finds that the usage count is 1, it will set the value of
141 * if count == -1, semaphore has been removed in release_sysvsem_sem()
145 if (sem_ptr->count == -1 || !sem_ptr->auto_release) { in release_sysvsem_sem()
149 /* Decrement the usage count. */ in release_sysvsem_sem()
157 if (sem_ptr->count) { in release_sysvsem_sem()
160 sop[1].sem_op = sem_ptr->count; in release_sysvsem_sem()
203 int count; in PHP_FUNCTION() local
226 * SYSVSEM_USAGE in which case count will be greater than it in PHP_FUNCTION()
243 /* . . . and increment the usage count in PHP_FUNCTION()
[all...]
/php-7.4/ext/standard/
H A Dsha1.c(last modified 23/07/2019 08:00)161 context->count[0] = context->count[1] = 0; in PHP_SHA1Init()
183 index = (unsigned int) ((context->count[0] >> 3) & 0x3F); in PHP_SHA1Update()
186 if ((context->count[0] += ((uint32_t) inputLen << 3)) in PHP_SHA1Update()
188 context->count[1]++; in PHP_SHA1Update()
189 context->count[1] += ((uint32_t) inputLen >> 29); in PHP_SHA1Update()
224 bits[7] = context->count[0] & 0xFF; in PHP_SHA1Final()
225 bits[6] = (context->count[0] >> 8) & 0xFF; in PHP_SHA1Final()
226 bits[5] = (context->count[0] >> 16) & 0xFF; in PHP_SHA1Final()
227 bits[4] = (context->count[ in PHP_SHA1Final()
[all...]
H A Darray.c(last modified 06/08/2020 08:00)762 /* {{{ proto int count(mixed var [, int mode])
764 PHP_FUNCTION(count) in PHP_FUNCTION()
801 /* if not and the object implements Countable we call its count() method */ in PHP_FUNCTION()
803 zend_call_method_with_0_params(array, NULL, NULL, "count", &retval); in PHP_FUNCTION()
1435 /* If the hashtable changed in the meantime, we'll "leak" this apply count in php_array_walk()
1746 zend_long count = 0; local
1779 count++;
1783 return count;
1789 zend_long count = 0; local
1820 count
1830 zend_long count = 0; global() local
1877 zend_long count = 0; global() local
1919 zend_long count = 0; global() local
1975 zend_long count = 0; global() local
2026 zend_long count = 0; global() local
2100 zend_long count = 0; global() local
2166 zend_long count = 0; global() local
2213 zend_long count = 0; global() local
2260 zend_long count = 0; global() local
2315 zend_long count = 0; global() local
2370 zend_long count = 0; global() local
2415 zend_long count = 0; global() local
2457 zend_long count; global() local
3814 uint32_t count = 0; global() local
[all...]
/php-7.4/main/streams/
H A Dmemory.c(last modified 23/07/2019 08:00)47 static ssize_t php_stream_memory_write(php_stream *stream, const char *buf, size_t count) in php_stream_memory_write() argument
57 if (ms->fpos + count > ms->fsize) { in php_stream_memory_write()
60 tmp = emalloc(ms->fpos + count); in php_stream_memory_write()
62 tmp = erealloc(ms->data, ms->fpos + count); in php_stream_memory_write()
65 ms->fsize = ms->fpos + count; in php_stream_memory_write()
68 count = 0; in php_stream_memory_write()
69 if (count) { in php_stream_memory_write()
71 memcpy(ms->data+ms->fpos, (char*)buf, count); in php_stream_memory_write()
72 ms->fpos += count; in php_stream_memory_write()
74 return count; in php_stream_memory_write()
80 php_stream_memory_read(php_stream *stream, char *buf, size_t count) php_stream_memory_read() argument
371 php_stream_temp_write(php_stream *stream, const char *buf, size_t count) php_stream_temp_write() argument
401 php_stream_temp_read(php_stream *stream, char *buf, size_t count) php_stream_temp_read() argument
[all...]
/php-7.4/ext/gettext/
H A Dgettext.c(last modified 13/02/2019 23:05)60 ZEND_ARG_INFO(0, count)
69 ZEND_ARG_INFO(0, count)
78 ZEND_ARG_INFO(0, count)
294 zend_long count; in PHP_NAMED_FUNCTION() local
296 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ssl", &msgid1, &msgid1_len, &msgid2, &msgid2_len, &count) == FAILURE) { in PHP_NAMED_FUNCTION()
303 msgstr = ngettext(msgid1, msgid2, count); in PHP_NAMED_FUNCTION()
312 /* {{{ proto string dngettext(string domain, string msgid1, string msgid2, int count)
318 zend_long count; in PHP_NAMED_FUNCTION() local
321 &msgid1, &msgid1_len, &msgid2, &msgid2_len, &count) == FAILURE) { in PHP_NAMED_FUNCTION()
329 msgstr = dngettext(domain, msgid1, msgid2, count); in PHP_NAMED_FUNCTION()
344 zend_long count, category; PHP_NAMED_FUNCTION() local
[all...]
/php-7.4/Zend/
H A Dzend_gc.c(last modified 25/11/2019 08:00)552 static void gc_adjust_threshold(int count) in gc_adjust_threshold() argument
559 if (count < GC_THRESHOLD_TRIGGER) { in gc_adjust_threshold()
1156 int count = 0; in gc_collect_white() local
1163 /* don't count references for compatibility ??? */ in gc_collect_white()
1165 count++; in gc_collect_white()
1284 return count; in gc_collect_white()
1291 int count = 0; in gc_collect_roots() local
1319 count += gc_collect_white(ref, flags, stack); in gc_collect_roots()
1324 return count; in gc_collect_roots()
1332 int count in gc_remove_nested_data_from_buffer() local
1431 int count = 0; zend_gc_collect_cycles() local
[all...]
H A Dzend_llist.c(last modified 13/02/2019 23:05)28 l->count = 0; in zend_llist_init()
48 ++l->count; in zend_llist_add_element()
66 ++l->count; in zend_llist_prepend_element()
85 --l->count;
115 l->count = 0; in zend_llist_destroy()
140 --l->count; in zend_llist_remove_tail()
201 if (l->count == 0) { in zend_llist_sort()
205 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *)); in zend_llist_sort()
213 zend_sort(elements, l->count, sizeof(zend_llist_element *), in zend_llist_sort()
219 for (i = 1; i < l->count; in zend_llist_sort()
[all...]
H A Dzend_ptr_stack.c(last modified 13/02/2019 23:05)37 ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_push() argument
42 ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count) in zend_ptr_stack_n_push()
44 va_start(ptr, count); in zend_ptr_stack_n_push()
45 while (count>0) { in zend_ptr_stack_n_push()
49 count--; in zend_ptr_stack_n_push()
55 ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...) in zend_ptr_stack_n_pop() argument
60 va_start(ptr, count); in zend_ptr_stack_n_pop()
61 while (count>0) { in zend_ptr_stack_n_pop()
65 count--; in zend_ptr_stack_n_pop()
/php-7.4/ext/snmp/
H A Dsnmp.c(last modified 03/11/2020 08:00)352 int count; member
676 int status, count, found; in php_snmp_internal() local
693 objid_query->offset = objid_query->count; in php_snmp_internal()
704 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) { in php_snmp_internal()
732 for (count = 0; objid_query->offset < objid_query->count && count < objid_query->step; objid_query->offset++, count++){ in php_snmp_internal()
759 if (objid_query->offset < objid_query->count) { /* we have unprocessed OIDs */ in php_snmp_internal()
807 for (count in php_snmp_internal()
[all...]
/php-7.4/ext/dba/libcdb/
H A Dcdb_make.c(last modified 13/02/2019 23:05)145 uint32 count; in cdb_make_finish() local
151 c->count[i] = 0; in cdb_make_finish()
156 ++c->count[255 & x->hp[i].h]; in cdb_make_finish()
161 u = c->count[i] * 2; in cdb_make_finish()
182 u += c->count[i]; /* bounded by numentries, so no overflow */ in cdb_make_finish()
193 count = c->count[i]; in cdb_make_finish()
195 len = count + count; /* no overflow possible */ in cdb_make_finish()
203 for (u = 0;u < count; in cdb_make_finish()
[all...]
/php-7.4/ext/mysqlnd/
H A Dmysqlnd_read_buffer.c(last modified 13/02/2019 23:05)37 mysqlnd_read_buffer_read(MYSQLND_READ_BUFFER * buffer, const size_t count, zend_uchar * dest) in mysqlnd_read_buffer_read() argument
39 if (buffer->len >= count) { in mysqlnd_read_buffer_read()
40 memcpy(dest, buffer->data + buffer->offset, count); in mysqlnd_read_buffer_read()
41 buffer->offset += count; in mysqlnd_read_buffer_read()
42 buffer->len -= count; in mysqlnd_read_buffer_read()
74 mysqlnd_create_read_buffer(const size_t count) in mysqlnd_create_read_buffer() argument
82 ret->data = mnd_emalloc(count); in mysqlnd_create_read_buffer()
83 ret->size = ret->len = count; in mysqlnd_create_read_buffer()

Completed in 110 milliseconds

12345678910