Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/standard/tests/array/
H A Dbug74345.phpt13 $cb = [new Test, $name];
14 array_map($cb, []);
15 array_map($cb, [], []);
16 array_filter([], $cb);
17 array_reduce([], $cb);
20 array_walk($array, $cb);
21 array_walk_recursive($array, $cb);
22 usort($array, $cb);
H A Dbug22463.phpt7 return (is_array($ary) ? array_reduce($ary, 'cb', 0) : 1);
10 function cb($v, $elem) {
H A Darray_map_object1.phpt29 function test($cb, $args) {
30 echo join('::', $cb) . "\n";
31 var_dump(array_map($cb, $args));
/PHP-7.4/ext/standard/
H A Dstrnatcmp.c93 unsigned char ca, cb; in strnatcmp_ex() local
107 ca = *ap; cb = *bp; in strnatcmp_ex()
115 cb = *++bp; in strnatcmp_ex()
125 while (isspace((int)(unsigned char)cb)) { in strnatcmp_ex()
126 cb = *++bp; in strnatcmp_ex()
130 if (isdigit((int)(unsigned char)ca) && isdigit((int)(unsigned char)cb)) { in strnatcmp_ex()
131 fractional = (ca == '0' || cb == '0'); in strnatcmp_ex()
149 ca = *ap; cb = *bp; in strnatcmp_ex()
155 cb = toupper((int)(unsigned char)cb); in strnatcmp_ex()
158 if (ca < cb) in strnatcmp_ex()
[all …]
H A Dassert.c28 char *cb;
64 if (ASSERTG(cb)) { in PHP_INI_MH()
65 pefree(ASSERTG(cb), 1); in PHP_INI_MH()
70 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0'; in PHP_INI_MH() local
72 ASSERTG(cb) = NULL; in PHP_INI_MH()
91 assert_globals_p->cb = NULL; in PHP_INI_END()
119 if (ASSERTG(cb)) { in PHP_MSHUTDOWN_FUNCTION()
120 pefree(ASSERTG(cb), 1); in PHP_MSHUTDOWN_FUNCTION()
121 ASSERTG(cb) = NULL; in PHP_MSHUTDOWN_FUNCTION()
366 } else if (ASSERTG(cb)) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c2712 cb->cx->extra_options, FALSE, cb); in parse_regex()
2905 cb->cx->extra_options, FALSE, cb); in parse_regex()
3482 cb->cx->extra_options, TRUE, cb); in parse_regex()
4575 if (cb->names_found >= cb->named_group_list_size) in parse_regex()
4590 cb->cx->memctl.free((void *)cb->named_groups, in parse_regex()
4598 cb->named_groups[cb->names_found].name = name; in parse_regex()
4600 cb->named_groups[cb->names_found].number = cb->bracount; in parse_regex()
4703 cb->erroroffset = (PCRE2_SIZE)(ptr - cb->start_pattern); in parse_regex()
5222 cb->erroroffset = name - cb->start_pattern; in find_dupname_details()
5396 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.c608 if (cb->had_recurse) return FALSE; in compare_opcodes()
695 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
764 set2 = (uint8_t *)(cb->cbits + cbit_digit); in compare_opcodes()
771 set2 = (uint8_t *)(cb->cbits + cbit_space); in compare_opcodes()
778 set2 = (uint8_t *)(cb->cbits + cbit_word); in compare_opcodes()
1114 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1121 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; in PRIV()
1122 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV()
1134 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1137 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() local
368 cb->offset_vector = offsets; in do_callout()
377 cb->callout_string_offset = 0; in do_callout()
378 cb->callout_string = NULL; in do_callout()
383 cb->callout_number = 0; in do_callout()
3273 pcre2_callout_block cb; in pcre2_dfa_match() local
3374 mb->cb = &cb; in pcre2_dfa_match()
3375 cb.version = 2; in pcre2_dfa_match()
3376 cb.subject = subject; in pcre2_dfa_match()
3378 cb.callout_flags = 0; in pcre2_dfa_match()
[all …]
/PHP-7.4/Zend/tests/
H A Dbug69167.phpt9 $cb = 'l';
10 call_user_func($cb, 'hi');
12 $cb2 = &$cb;
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 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-7.4/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-7.4/ext/readline/
H A Dreadline_cli.c710 #define GET_SHELL_CB(cb) \ argument
714 (cb) = NULL; \
730 #define GET_SHELL_CB(cb) \ argument
732 (cb) = NULL; \
746 cli_shell_callbacks_t *cb; in PHP_MINIT_FUNCTION() local
757 GET_SHELL_CB(cb); in PHP_MINIT_FUNCTION()
758 if (cb) { in PHP_MINIT_FUNCTION()
769 cli_shell_callbacks_t *cb; in PHP_MSHUTDOWN_FUNCTION() local
773 GET_SHELL_CB(cb); in PHP_MSHUTDOWN_FUNCTION()
774 if (cb) { in PHP_MSHUTDOWN_FUNCTION()
[all …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_010.phpt9 $cb = function(int &$bar) {
14 $cb($foo->bar);
/PHP-7.4/ext/pcre/tests/
H A Dbug21732.phpt8 function cb($param) {
15 var_dump(preg_replace_callback("/(ab)(cd)(e)/", array(new foo(), "cb"), 'abcde'));
/PHP-7.4/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-7.4/ext/xmlrpc/libxmlrpc/
H A Dsystem_methods_private.h80 int xsm_is_system_method(XMLRPC_Callback cb);
H A Dxmlrpc_introspection.h91 … XMLRPC_ServerRegisterIntrospectionCallback(XMLRPC_SERVER server, XMLRPC_IntrospectionCallback cb);
/PHP-7.4/ext/phar/tests/
H A Dphar_oo_002.phpt68 string(37) "phar://*/files/phar_oo_002.phar.php%cb"
81 string(41) "phar://*/files/phar_oo_002.phar.php%cb.php"
126 string(41) "phar://*/files/phar_oo_002.phar.php%cb.php"
/PHP-7.4/ext/com_dotnet/
H A Dcom_persist.c103 static HRESULT STDMETHODCALLTYPE stm_read(IStream *This, void *pv, ULONG cb, ULONG *pcbRead) in stm_read() argument
108 nread = (ULONG)php_stream_read(stm->stream, pv, cb); in stm_read()
119 static HRESULT STDMETHODCALLTYPE stm_write(IStream *This, void const *pv, ULONG cb, ULONG *pcbWritt… in stm_write() argument
124 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
186 static HRESULT STDMETHODCALLTYPE stm_copy_to(IStream *This, IStream *pstm, ULARGE_INTEGER cb, in stm_copy_to() argument
210 ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD lockType) in stm_lock_region() argument
216 ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD lockType) in stm_unlock_region() argument
/PHP-7.4/ext/standard/tests/file/
H A Dftruncate_bug76422.phpt14 $file_handle = fopen($fn,'cb');
/PHP-7.4/ext/standard/tests/strings/
H A Dstrtoupper1-win32.phpt266 cb => cb
298 eb => cb

Completed in 90 milliseconds

123