Home
last modified time | relevance | path

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

12

/php-src/Zend/tests/fibers/
H A Ddestructors_005.phpt33 $refs = [];
34 $f = new Fiber(function () use (&$refs) {
35 $refs[] = WeakReference::create(new Cycle(0));
36 $refs[] = WeakReference::create(new Cycle(1));
37 $refs[] = WeakReference::create(new Cycle(2));
45 foreach ($refs as $id => $ref) {
/php-src/ext/standard/tests/serialize/
H A Dserialization_arrays_002.phpt27 echo "\n\n--- 0 refs 1:\n";
34 echo "\n\n--- 0 refs 2:\n";
41 echo "\n\n--- 1 refs 0:\n";
48 echo "\n\n--- 1 refs 2:\n";
55 echo "\n\n--- 2 refs 0:\n";
137 --- 0 refs 1:
181 --- 0 refs 2:
225 --- 1 refs 0:
269 --- 1 refs 2:
313 --- 2 refs 0:
[all …]
H A Dserialization_objects_013.phpt20 echo "\n\n--- a refs b:\n";
27 echo "\n\n--- a refs c:\n";
86 --- a refs b:
130 --- a refs c:
174 --- b refs a:
218 --- b refs c:
262 --- c refs a:
306 --- c refs b:
350 --- a,b refs c:
394 --- a,c refs b:
[all …]
H A Dserialization_arrays_003.phpt20 echo "\n\n--- 0 refs external:\n";
28 echo "\n\n--- 1 refs external:\n";
36 echo "\n\n--- 2 refs external:\n";
63 --- 0 refs external:
107 --- 1 refs external:
151 --- 2 refs external:
H A Dserialization_objects_014.phpt20 echo "\n\n--- a refs external:\n";
28 echo "\n\n--- b refs external:\n";
36 echo "\n\n--- c refs external:\n";
63 --- a refs external:
107 --- b refs external:
151 --- c refs external:
H A Dserialization_arrays_004.phpt20 echo "\n\n--- 1 refs container:\n";
44 --- 1 refs container:
H A Dserialization_objects_015.phpt21 echo "\n\n--- a refs container:\n";
72 --- a refs container:
/php-src/ext/ldap/tests/
H A Dldap_first_reference_basic.phpt23 $refs = null;
24 ldap_parse_reference($link, $ref, $refs);
25 var_dump($refs);
H A Dldap_parse_reference_basic.phpt23 $refs = null;
25 ldap_parse_reference($link, $ref, $refs),
26 $refs
H A Dldap_parse_result_basic.phpt22 $errcode = $dn = $errmsg = $refs = null;
24 ldap_parse_result($link, $result, $errcode, $dn, $errmsg, $refs),
25 $errcode, $dn, $errmsg, $refs
H A Dldap_next_reference_basic.phpt29 ldap_parse_reference($link, $ref2, $refs);
30 var_dump($refs);
H A Dldap_parse_result_controls.phpt25 ldap_parse_result($link, $result, $errcode, $dn, $errmsg, $refs, $ctrls),
/php-src/tests/lang/
H A DpassByReference_006.phpt6 function refs(&$ref1, &$ref2) {
19 function refs(&$ref1, &$ref2) {
33 refs($u1[0], $u2[0][1]);
48 $c->refs($u1[0], $u2[0][1]);
/php-src/Zend/tests/named_params/
H A Dvariadic.phpt14 function test2(&...$refs) {
15 foreach ($refs as &$ref) $ref++;
/php-src/Zend/tests/variadic/
H A Dclosure_invoke.phpt6 $closure = function(&...$refs) {};
/php-src/Zend/tests/
H A Dcall_with_refs.phpt2 Check call to non-ref function with call-time refs
/php-src/ext/standard/tests/strings/
H A Dstr_replace_array_refs.phpt2 Test str_replace() function and array refs
H A Dstr_replace_array_refs2.phpt2 Test str_replace() function and array refs, more cases
/php-src/Zend/tests/constant_expressions/
H A Dconstant_expressions_dynamic_class_name_error.phpt2 Dynamic class names can't be used in compile-time constant refs
/php-src/ext/opcache/jit/ir/
H A Dir_check.c49 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < n; j++, p++) { in ir_check_use_list()
300 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < use_list->count; j++, p++) { in ir_check()
327 if (ctx->ir_base[ctx->use_edges[use_list->refs]].op == IR_ENTRY) { in ir_check()
342 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < use_list->count; j++, p++) { in ir_check()
355 if (ctx->ir_base[ctx->use_edges[use_list->refs]].op == IR_ENTRY) { in ir_check()
358 if (ctx->ir_base[ctx->use_edges[use_list->refs + 1]].op == IR_ENTRY) { in ir_check()
H A Dir_sccp.c428 p = &ctx->use_edges[use_list->refs + j]; in ir_sccp_replace_insn()
486 p = &ctx->use_edges[use_list->refs + j]; in ir_sccp_replace_insn2()
591 next = ctx->use_edges[ctx->use_lists[dst].refs]; in ir_sccp_remove_if()
634 next = ctx->use_edges[use_list->refs]; in ir_sccp_remove_unfeasible_merge_inputs()
649 p = &ctx->use_edges[use_list->refs + k]; in ir_sccp_remove_unfeasible_merge_inputs()
1091 ctx->use_lists[ref].refs = IR_UNUSED; in ir_ext_ref()
1152 use = ctx->use_edges[ctx->use_lists[ref].refs + n]; in ir_try_promote_ext()
1199 ir_ref *p = &ctx->use_edges[use_list->refs]; in ir_get_true_false_refs()
1228 next = ctx->use_edges[use_list->refs]; in ir_merge_blocks()
2124 ir_ref phi_ref = ctx->use_edges[use_list->refs]; in ir_optimize_merge()
[all …]
H A Dir.c1206 if (!use_list->refs) {
1208 use_list->refs = i;
1232 n = use_list->refs;
1356 a->refs = ir_mem_realloc(a->refs, size * sizeof(ir_ref));
1363 if (a->refs[a->size - 1]) {
1366 memmove(a->refs + i + 1, a->refs + i, (a->size - i - 1) * sizeof(ir_ref));
1367 a->refs[i] = val;
1373 memmove(a->refs + i, a->refs + i + 1, (a->size - i - 1) * sizeof(ir_ref));
1383 memmove(l->a.refs + i + 1, l->a.refs + i, (l->len - i) * sizeof(ir_ref));
1384 l->a.refs[i] = val;
[all …]
H A Dir_gcm.c92 ir_ref use = ctx->use_edges[use_list->refs]; in ir_gcm_select_best_block()
217 for (p = &ctx->use_edges[use_list->refs]; n > 0; p++, n--) { in ir_split_partially_dead_node()
323 for (p = &ctx->use_edges[use_list->refs]; n > 0; p++, n--) { in ir_split_partially_dead_node()
410 n = ctx->use_lists[ref].refs; in ir_split_partially_dead_node()
422 ctx->use_lists[clone].refs = n; in ir_split_partially_dead_node()
504 use = ctx->use_edges[ctx->use_lists[ref].refs + n]; in ir_gcm_schedule_late()
590 for (p = &ctx->use_edges[use_list->refs]; n > 0; n--, p++) { in ir_gcm()
654 for (p = &ctx->use_edges[use_list->refs]; n > 0; n--, p++) { in ir_gcm()
1147 ref = ctx->use_edges[use_list->refs]; in ir_schedule()
1154 p = &ctx->use_edges[use_list->refs]; in ir_schedule()
[all …]
H A Dir_private.h647 ir_ref *refs; member
657 a->refs = ir_mem_malloc(size * sizeof(ir_ref)); in ir_array_init()
663 ir_mem_free(a->refs); in ir_array_free()
664 a->refs = NULL; in ir_array_free()
675 return (i < a->size) ? a->refs[i] : IR_UNUSED; in ir_array_get()
681 return a->refs[i]; in ir_array_at()
689 a->refs[i] = val; in ir_array_set()
695 a->refs[i] = val; in ir_array_set_unchecked()
1025 ir_ref refs; /* index in ir_ctx->use_edges[] array */ member
/php-src/ext/phar/tests/
H A Dtest_alias_unset.phpt31 $phar2 = new Phar($fname2); // succeeds because all refs are closed

Completed in 52 milliseconds

12