Home
last modified time | relevance | path

Searched refs:cb (Results 26 – 50 of 87) sorted by relevance

1234

/php-src/ext/dom/lexbor/lexbor/css/
H A Drule.h216 lexbor_serialize_cb_f cb, void *ctx);
220 lexbor_serialize_cb_f cb, void *ctx);
227 lexbor_serialize_cb_f cb, void *ctx);
233 lxb_css_rule_at_serialize(const lxb_css_rule_at_t *at, lexbor_serialize_cb_f cb,
237 lxb_css_rule_at_serialize_name(const lxb_css_rule_at_t *at, lexbor_serialize_cb_f cb,
245 lexbor_serialize_cb_f cb, void *ctx);
252 lexbor_serialize_cb_f cb, void *ctx);
260 lexbor_serialize_cb_f cb, void *ctx);
268 lexbor_serialize_cb_f cb, void *ctx);
272 lexbor_serialize_cb_f cb, void *ctx);
H A Dcss.c207 lxb_css_serialize_char_handler(const void *style, lxb_css_style_serialize_f cb, in lxb_css_serialize_char_handler() argument
214 status = cb(style, lexbor_serialize_length_cb, &length); in lxb_css_serialize_char_handler()
227 status = cb(style, lexbor_serialize_copy_cb, &str); in lxb_css_serialize_char_handler()
253 lxb_css_style_serialize_f cb) in lxb_css_serialize_str_handler() argument
267 return cb(style, lxb_css_str_cb, &ctx); in lxb_css_serialize_str_handler()
H A Dlog.h73 lxb_css_log_serialize(lxb_css_log_t *log, lexbor_serialize_cb_f cb, void *ctx,
82 lexbor_serialize_cb_f cb, void *ctx);
/php-src/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-src/Zend/tests/
H A Dclosure_036.phpt22 $cb = $ca->bindTo($b);
26 var_dump($cb());
/php-src/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.h98 lxb_selectors_cb_f cb; member
183 lxb_selectors_cb_f cb, void *ctx);
214 lxb_selectors_cb_f cb, void *ctx);
/php-src/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-src/ext/dom/lexbor/lexbor/css/selectors/
H A Dselector.h213 lexbor_serialize_cb_f cb, void *ctx);
217 lexbor_serialize_cb_f cb, void *ctx);
225 lexbor_serialize_cb_f cb, void *ctx);
229 lexbor_serialize_cb_f cb, void *ctx);
237 lexbor_serialize_cb_f cb, void *ctx);
H A Dbase.h30 (status) = cb((lxb_char_t *) (data), (length), (ctx)); \
H A Dpseudo.h25 const lxb_css_syntax_cb_function_t cb; member
/php-src/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-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Delement.c20 lxb_html_element_style_cb_f cb; member
192 lxb_html_element_style_cb_f cb, void *ctx, in lxb_html_element_style_walk() argument
198 walk.cb = cb; in lxb_html_element_style_walk()
217 status = walk->cb(walk->element, node->value, walk->ctx, style->sp, false); in lxb_html_element_style_walk_cb()
225 status = walk->cb(walk->element, weak->value, walk->ctx, in lxb_html_element_style_walk_cb()
583 lexbor_serialize_cb_f cb, void *ctx) in lxb_html_element_style_serialize() argument
587 context.cb = cb; in lxb_html_element_style_serialize()
607 lexbor_serialize_write(context->cb, splt.data, splt.length, in lxb_html_element_style_serialize_cb()
613 return lxb_css_rule_serialize(node->value, context->cb, context->ctx); in lxb_html_element_style_serialize_cb()
H A Delement.h71 lxb_html_element_style_cb_f cb, void *ctx,
114 lexbor_serialize_cb_f cb, void *ctx);
/php-src/ext/dom/lexbor/lexbor/css/syntax/
H A Danb.c380 lexbor_serialize_cb_f cb, void *ctx) in lxb_css_syntax_anb_serialize() argument
394 return cb(odd, sizeof(odd) - 1, ctx); in lxb_css_syntax_anb_serialize()
398 return cb(even, sizeof(even) - 1, ctx); in lxb_css_syntax_anb_serialize()
424 return cb(buf, p - buf, ctx); in lxb_css_syntax_anb_serialize()
428 return cb(buf, p - buf, ctx); in lxb_css_syntax_anb_serialize()
442 return cb(buf, p - buf, ctx); in lxb_css_syntax_anb_serialize()
H A Dtokenizer.h117 lxb_css_syntax_tokenizer_chunk_f cb, in lxb_css_syntax_tokenizer_chunk_cb_set() argument
120 tkz->chunk_cb = cb; in lxb_css_syntax_tokenizer_chunk_cb_set()
H A Danb.h35 lexbor_serialize_cb_f cb, void *ctx);
/php-src/Zend/
H A Dzend_observer.c331 ZEND_API void zend_observer_function_declared_register(zend_observer_function_declared_cb cb) in zend_observer_function_declared_register() argument
334 zend_llist_add_element(&zend_observer_function_declared_callbacks, &cb); in zend_observer_function_declared_register()
349 ZEND_API void zend_observer_class_linked_register(zend_observer_class_linked_cb cb) in zend_observer_class_linked_register() argument
352 zend_llist_add_element(&zend_observer_class_linked_callbacks, &cb); in zend_observer_class_linked_register()
367 ZEND_API void zend_observer_error_register(zend_observer_error_cb cb) in zend_observer_error_register() argument
370 zend_llist_add_element(&zend_observer_error_callbacks, &cb); in zend_observer_error_register()
H A Dzend_observer.h134 ZEND_API void zend_observer_function_declared_register(zend_observer_function_declared_cb cb);
144 ZEND_API void zend_observer_class_linked_register(zend_observer_class_linked_cb cb);
/php-src/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-src/ext/com_dotnet/
H A Dcom_persist.c96 static HRESULT STDMETHODCALLTYPE stm_read(IStream *This, void *pv, ULONG cb, ULONG *pcbRead) in stm_read() argument
101 nread = (ULONG)php_stream_read(stm->stream, pv, cb); in stm_read()
112 static HRESULT STDMETHODCALLTYPE stm_write(IStream *This, void const *pv, ULONG cb, ULONG *pcbWritt… in stm_write() argument
117 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
179 static HRESULT STDMETHODCALLTYPE stm_copy_to(IStream *This, IStream *pstm, ULARGE_INTEGER cb, in stm_copy_to() argument
203 ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD lockType) in stm_lock_region() argument
209 ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD lockType) in stm_unlock_region() argument
/php-src/ext/dom/tests/modern/html/interactions/
H A DDocument_body_setter_errors.phpt8 function testNormalReplace($cb)
13 $dom->body = $cb($dom);
/php-src/ext/dom/lexbor/lexbor/core/
H A Dbase.h89 lexbor_serialize_cb_f cb; member
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_dfa_match.c359 pcre2_callout_block *cb = mb->cb; in do_callout_dfa() local
370 cb->offset_vector = offsets; in do_callout_dfa()
379 cb->callout_string_offset = 0; in do_callout_dfa()
380 cb->callout_string = NULL; in do_callout_dfa()
385 cb->callout_number = 0; in do_callout_dfa()
3382 pcre2_callout_block cb; in pcre2_dfa_match() local
3485 mb->cb = &cb; in pcre2_dfa_match()
3486 cb.version = 2; in pcre2_dfa_match()
3487 cb.subject = subject; in pcre2_dfa_match()
3489 cb.callout_flags = 0; in pcre2_dfa_match()
[all …]
/php-src/ext/standard/tests/array/
H A Darray_map_object1.phpt24 function test($cb, $args) {
25 echo join('::', $cb) . "\n";
27 var_dump(array_map($cb, $args));
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c261 lxb_selectors_cb_f cb, void *ctx) in lxb_selectors_find() argument
276 nested.cb = cb; in lxb_selectors_find()
288 lxb_selectors_cb_f cb, void *ctx) in lxb_selectors_match_node() argument
308 nested.cb = cb; in lxb_selectors_match_node()
324 lxb_selectors_cb_f cb, void *ctx) in lxb_selectors_find_reverse() argument
326 return lxb_selectors_find(selectors, root, list, cb, ctx); in lxb_selectors_find_reverse()
629 selectors->status = current->cb(current->entry->node, in lxb_selectors_state_find_check()
706 current->cb = lxb_selectors_cb_ok; in lxb_selectors_state_pseudo_class_function()
720 current->cb = lxb_selectors_cb_ok; in lxb_selectors_state_pseudo_class_function()
732 current->cb = lxb_selectors_cb_not; in lxb_selectors_state_pseudo_class_function()
[all …]

Completed in 108 milliseconds

1234