Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 49) sorted by relevance

12

/PHP-8.3/ext/standard/
H A Dstrnatcmp.c90 unsigned char ca, cb; in strnatcmp_ex() local
103 ca = *ap; cb = *bp; in strnatcmp_ex()
111 cb = *++bp; in strnatcmp_ex()
121 while (isspace((int)(unsigned char)cb)) { in strnatcmp_ex()
122 cb = *++bp; in strnatcmp_ex()
127 fractional = (ca == '0' || cb == '0'); in strnatcmp_ex()
145 ca = *ap; cb = *bp; in strnatcmp_ex()
151 cb = toupper((int)(unsigned char)cb); in strnatcmp_ex()
154 if (ca < cb) in strnatcmp_ex()
156 else if (ca > cb) in strnatcmp_ex()
[all …]
H A Dassert.c26 char *cb;
62 if (ASSERTG(cb)) { in PHP_INI_MH()
63 pefree(ASSERTG(cb), 1); in PHP_INI_MH()
71 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0'; in PHP_INI_MH() local
73 ASSERTG(cb) = NULL; in PHP_INI_MH()
133 assert_globals_p->cb = NULL; in PHP_INI_END()
149 if (ASSERTG(cb)) { in PHP_MSHUTDOWN_FUNCTION()
150 pefree(ASSERTG(cb), 1); in PHP_MSHUTDOWN_FUNCTION()
151 ASSERTG(cb) = NULL; in PHP_MSHUTDOWN_FUNCTION()
321 } else if (ASSERTG(cb)) { in PHP_FUNCTION()
[all …]
/PHP-8.3/ext/standard/tests/array/
H A Dbug74345.phpt13 $cb = [new Test, $name];
14 array_map($cb, []);
15 array_map($cb, [], []);
17 array_map($cb, null);
22 array_map($cb, null, null);
26 array_filter([], $cb);
27 array_reduce([], $cb);
30 array_walk($array, $cb);
31 array_walk_recursive($array, $cb);
32 usort($array, $cb);
[all …]
H A Dbug22463.phpt7 return (is_array($ary) ? array_reduce($ary, 'cb', 0) : 1);
10 function cb($v, $elem) {
H A Darray_map_object1.phpt24 function test($cb, $args) {
25 echo join('::', $cb) . "\n";
27 var_dump(array_map($cb, $args));
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_compile.c2820 cb->cx->extra_options, FALSE, cb); in parse_regex()
3013 cb->cx->extra_options, FALSE, cb); in parse_regex()
3590 cb->cx->extra_options, TRUE, cb); in parse_regex()
4684 if (cb->names_found >= cb->named_group_list_size) in parse_regex()
4699 cb->cx->memctl.free((void *)cb->named_groups, in parse_regex()
4707 cb->named_groups[cb->names_found].name = name; in parse_regex()
4709 cb->named_groups[cb->names_found].number = cb->bracount; in parse_regex()
4812 cb->erroroffset = (PCRE2_SIZE)(ptr - cb->start_pattern); in parse_regex()
5331 cb->erroroffset = name - cb->start_pattern; in find_dupname_details()
5504 if (code > cb->start_workspace + cb->workspace_size - in compile_branch()
[all …]
H A Dpcre2_pattern_info.c272 pcre2_callout_enumerate_block cb; in pcre2_callout_enumerate() local
293 cb.version = 0; in pcre2_callout_enumerate()
401 cb.pattern_position = GET(cc, 1); in pcre2_callout_enumerate()
404 cb.callout_string_offset = 0; in pcre2_callout_enumerate()
405 cb.callout_string_length = 0; in pcre2_callout_enumerate()
406 cb.callout_string = NULL; in pcre2_callout_enumerate()
407 rc = callback(&cb, callout_data); in pcre2_callout_enumerate()
413 cb.pattern_position = GET(cc, 1); in pcre2_callout_enumerate()
415 cb.callout_number = 0; in pcre2_callout_enumerate()
417 cb.callout_string_length = in pcre2_callout_enumerate()
[all …]
H A Dpcre2_auto_possess.c626 if (cb->had_recurse) return FALSE; in compare_opcodes()
713 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
782 set2 = (uint8_t *)(cb->cbits + cbit_digit); in compare_opcodes()
789 set2 = (uint8_t *)(cb->cbits + cbit_space); in compare_opcodes()
796 set2 = (uint8_t *)(cb->cbits + cbit_word); in compare_opcodes()
1132 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1139 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; in PRIV()
1140 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV()
1152 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1155 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
[all …]
H A Dpcre2_dfa_match.c357 pcre2_callout_block *cb = mb->cb; in do_callout_dfa() local
368 cb->offset_vector = offsets; in do_callout_dfa()
377 cb->callout_string_offset = 0; in do_callout_dfa()
378 cb->callout_string = NULL; in do_callout_dfa()
383 cb->callout_number = 0; in do_callout_dfa()
3330 pcre2_callout_block cb; in pcre2_dfa_match() local
3433 mb->cb = &cb; in pcre2_dfa_match()
3434 cb.version = 2; in pcre2_dfa_match()
3435 cb.subject = subject; in pcre2_dfa_match()
3437 cb.callout_flags = 0; in pcre2_dfa_match()
[all …]
H A Dpcre2_match.c273 pcre2_callout_block *cb; in do_callout() local
296 cb = mb->cb; in do_callout()
309 cb->callout_string = NULL; in do_callout()
314 cb->callout_number = 0; in do_callout()
317 cb->callout_string_length = in do_callout()
327 cb->callout_flags = 0; in do_callout()
6368 pcre2_callout_block cb; in pcre2_match() local
6730 mb->cb = &cb; in pcre2_match()
6731 cb.version = 2; in pcre2_match()
6732 cb.subject = subject; in pcre2_match()
[all …]
/PHP-8.3/Zend/tests/
H A Dclosure_038.phpt33 $cb = $ca->bindTo($b, $b);
35 var_dump($cb());
40 $cb = $ca->bindTo($b, 'B');
42 var_dump($cb());
45 $cb = $ca->bindTo($b, NULL);
46 var_dump($cb());
H A Dclosure_039.phpt33 $cb = $ca->bindTo($b, $b);
35 var_dump($cb());
40 $cb = $ca->bindTo($b, 'B');
42 var_dump($cb());
45 $cb = $ca->bindTo($b, NULL);
46 var_dump($cb());
H A Dbug69167.phpt9 $cb = 'l';
10 call_user_func($cb, 'hi');
12 $cb2 = &$cb;
H A Dbug46409.phpt13 $cb = new Callback();
14 echo $cb(),"\n";
16 $b = array_map($cb, $a);
H A Dclosure_036.phpt22 $cb = $ca->bindTo($b);
26 var_dump($cb());
/PHP-8.3/ext/readline/
H A Dreadline_cli.c734 #define GET_SHELL_CB(cb) \ argument
738 (cb) = NULL; \
754 #define GET_SHELL_CB(cb) \ argument
756 (cb) = NULL; \
770 cli_shell_callbacks_t *cb; in PHP_MINIT_FUNCTION() local
775 GET_SHELL_CB(cb); in PHP_MINIT_FUNCTION()
776 if (cb) { in PHP_MINIT_FUNCTION()
787 cli_shell_callbacks_t *cb; in PHP_MSHUTDOWN_FUNCTION() local
791 GET_SHELL_CB(cb); in PHP_MSHUTDOWN_FUNCTION()
792 if (cb) { in PHP_MSHUTDOWN_FUNCTION()
[all …]
/PHP-8.3/Zend/tests/type_declarations/
H A Dtyped_properties_010.phpt9 $cb = function(int &$bar) {
14 $cb($foo->bar);
/PHP-8.3/ext/standard/tests/general_functions/
H A Dcallbacks_001.phpt21 public function call($cb) {
22 echo join('|', $cb) . "\n";
23 call_user_func($cb);
64 public function call($cb) {
65 echo join('|', $cb) . "\n";
66 call_user_func($cb);
/PHP-8.3/ext/pcre/tests/
H A Dbug21732.phpt6 function cb($param) {
17 var_dump(preg_replace_callback("/(ab)(cd)(e)/", array(new foo(), "cb"), 'abcde'));
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_events.h11 #define fpm_event_set_timer(ev, flags, cb, arg) fpm_event_set((ev), -1, (flags), (cb), (arg)) argument
/PHP-8.3/Zend/
H A Dzend_observer.c299 ZEND_API void zend_observer_function_declared_register(zend_observer_function_declared_cb cb) in zend_observer_function_declared_register() argument
302 zend_llist_add_element(&zend_observer_function_declared_callbacks, &cb); in zend_observer_function_declared_register()
317 ZEND_API void zend_observer_class_linked_register(zend_observer_class_linked_cb cb) in zend_observer_class_linked_register() argument
320 zend_llist_add_element(&zend_observer_class_linked_callbacks, &cb); in zend_observer_class_linked_register()
335 ZEND_API void zend_observer_error_register(zend_observer_error_cb cb) in zend_observer_error_register() argument
338 zend_llist_add_element(&zend_observer_error_callbacks, &cb); in zend_observer_error_register()
H A Dzend_observer.h88 ZEND_API void zend_observer_function_declared_register(zend_observer_function_declared_cb cb);
98 ZEND_API void zend_observer_class_linked_register(zend_observer_class_linked_cb cb);
/PHP-8.3/ext/phar/tests/
H A Dphar_oo_002.phpt71 string(37) "phar://*/files/phar_oo_002.phar.php%cb"
84 string(41) "phar://*/files/phar_oo_002.phar.php%cb.php"
129 string(41) "phar://*/files/phar_oo_002.phar.php%cb.php"
/PHP-8.3/ext/com_dotnet/
H A Dcom_persist.c102 static HRESULT STDMETHODCALLTYPE stm_read(IStream *This, void *pv, ULONG cb, ULONG *pcbRead) in stm_read() argument
107 nread = (ULONG)php_stream_read(stm->stream, pv, cb); in stm_read()
118 static HRESULT STDMETHODCALLTYPE stm_write(IStream *This, void const *pv, ULONG cb, ULONG *pcbWritt… in stm_write() argument
123 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
185 static HRESULT STDMETHODCALLTYPE stm_copy_to(IStream *This, IStream *pstm, ULARGE_INTEGER cb, in stm_copy_to() argument
209 ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD lockType) in stm_lock_region() argument
215 ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD lockType) in stm_unlock_region() argument
/PHP-8.3/ext/standard/tests/file/
H A Dftruncate_bug76422.phpt18 $file_handle = fopen($fn,'cb');

Completed in 80 milliseconds

12