Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 48) sorted by path

12

/PHP-8.1/TSRM/
H A Dtsrm_win32.c517 startup.cb = sizeof(STARTUPINFOW); in popen_ex()
/PHP-8.1/Zend/tests/
H A Dbug46409.phpt13 $cb = new Callback();
14 echo $cb(),"\n";
16 $b = array_map($cb, $a);
H A Dbug69167.phpt9 $cb = 'l';
10 call_user_func($cb, 'hi');
12 $cb2 = &$cb;
H A Dclosure_036.phpt22 $cb = $ca->bindTo($b);
26 var_dump($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());
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_010.phpt9 $cb = function(int &$bar) {
14 $cb($foo->bar);
/PHP-8.1/Zend/
H A Dzend.c1067 zend_result (*cb)(void) = zend_post_startup_cb; in zend_post_startup() local
1070 if (cb() != SUCCESS) { in zend_post_startup()
H A Dzend_observer.c246 ZEND_API void zend_observer_error_register(zend_observer_error_cb cb) in zend_observer_error_register() argument
248 zend_llist_add_element(&zend_observer_error_callbacks, &cb); in zend_observer_error_register()
/PHP-8.1/build/
H A Dconfig.guess1217 if test -f /usr/options/cb.name; then
1218 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
/PHP-8.1/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.1/ext/hash/tests/
H A Dfnv1a32.phpt220 array( '}cb~>Xb)FmR,laznl:H^V?FKLC4z|9}{|`z<:^F`Lxm', 'c04f1349' ),
/PHP-8.1/ext/opcache/
H A DZendAccelerator.c2817 static void zps_startup_failure(char *reason, char *api_reason, int (*cb)(zend_extension *, zend_ex… in zps_startup_failure()
2822 zend_llist_del_element(&zend_extensions, NULL, (int (*)(void *, void *))cb); in zps_startup_failure()
3186 zend_result (*cb)(void) = orig_post_startup_cb; local
3189 if (cb() != SUCCESS) {
/PHP-8.1/ext/opcache/jit/dynasm/
H A Dminilua.c5226 StkId cb=ra+3;
5227 setobj(L,cb+2,ra+2);
5228 setobj(L,cb+1,ra+1);
5229 setobj(L,cb,ra);
5230 L->top=cb+3;
5231 Protect(luaD_call(L,cb,GETARG_C(i)));
5233 cb=RA(i)+3;
5234 if(!ttisnil(cb)){
5235 setobj(L,cb-1,cb);
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_auto_possess.c609 if (cb->had_recurse) return FALSE; in compare_opcodes()
696 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
765 set2 = (uint8_t *)(cb->cbits + cbit_digit); in compare_opcodes()
772 set2 = (uint8_t *)(cb->cbits + cbit_space); in compare_opcodes()
779 set2 = (uint8_t *)(cb->cbits + cbit_word); in compare_opcodes()
1115 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1122 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; in PRIV()
1123 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV()
1135 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1138 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
[all …]
H A Dpcre2_compile.c2733 cb->cx->extra_options, FALSE, cb); in parse_regex()
2926 cb->cx->extra_options, FALSE, cb); in parse_regex()
3503 cb->cx->extra_options, TRUE, cb); in parse_regex()
4597 if (cb->names_found >= cb->named_group_list_size) in parse_regex()
4612 cb->cx->memctl.free((void *)cb->named_groups, in parse_regex()
4620 cb->named_groups[cb->names_found].name = name; in parse_regex()
4622 cb->named_groups[cb->names_found].number = cb->bracount; in parse_regex()
4725 cb->erroroffset = (PCRE2_SIZE)(ptr - cb->start_pattern); in parse_regex()
5244 cb->erroroffset = name - cb->start_pattern; in find_dupname_details()
5418 if (code > cb->start_workspace + cb->workspace_size - in compile_branch()
[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 …]
H A Dpcre2_intmodedep.h886 pcre2_callout_block *cb; /* Points to a callout block */ member
915 pcre2_callout_block *cb; /* Points to a callout block */ member
H A Dpcre2_match.c271 pcre2_callout_block *cb; in do_callout() local
294 cb = mb->cb; in do_callout()
307 cb->callout_string = NULL; in do_callout()
312 cb->callout_number = 0; in do_callout()
315 cb->callout_string_length = in do_callout()
325 cb->callout_flags = 0; in do_callout()
6160 pcre2_callout_block cb; in pcre2_match() local
6526 mb->cb = &cb; in pcre2_match()
6527 cb.version = 2; in pcre2_match()
6528 cb.subject = subject; in pcre2_match()
[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 …]
/PHP-8.1/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.1/ext/pdo_sqlite/
H A Dsqlite_driver.c325 static int do_callback(struct pdo_sqlite_fci *fc, zval *cb, in do_callback() argument
343 ZVAL_COPY_VALUE(&fc->fci.function_name, cb); in do_callback()
/PHP-8.1/ext/phar/tests/
H A Dphar_oo_002.phpt65 string(37) "phar://*/files/phar_oo_002.phar.php%cb"
78 string(41) "phar://*/files/phar_oo_002.phar.php%cb.php"
123 string(41) "phar://*/files/phar_oo_002.phar.php%cb.php"
/PHP-8.1/ext/readline/
H A Dreadline_cli.c733 #define GET_SHELL_CB(cb) \ argument
737 (cb) = NULL; \
753 #define GET_SHELL_CB(cb) \ argument
755 (cb) = NULL; \
769 cli_shell_callbacks_t *cb; in PHP_MINIT_FUNCTION() local
780 GET_SHELL_CB(cb); in PHP_MINIT_FUNCTION()
781 if (cb) { in PHP_MINIT_FUNCTION()
792 cli_shell_callbacks_t *cb; in PHP_MSHUTDOWN_FUNCTION() local
796 GET_SHELL_CB(cb); in PHP_MSHUTDOWN_FUNCTION()
797 if (cb) { in PHP_MSHUTDOWN_FUNCTION()
[all …]
/PHP-8.1/ext/sqlite3/
H A Dsqlite3.c728 static int sqlite3_do_callback(struct php_sqlite3_fci *fc, zval *cb, int argc, sqlite3_value **argv… in sqlite3_do_callback() argument
744 ZVAL_COPY_VALUE(&fc->fci.function_name, cb); in sqlite3_do_callback()

Completed in 176 milliseconds

12