Home
last modified time | relevance | path

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

12

/php-src/ext/pgsql/tests/
H A D27large_object_oid.phpt2 PostgreSQL create large object with given oid
21 $oid = pg_lo_create ($db, 21000);
22 if (!$oid) echo ("pg_lo_create() error\n");
23 if ($oid != 21000) echo ("pg_lo_create() wrong id\n");
24 pg_lo_unlink ($db, $oid);
29 $oid = pg_lo_create ($db, "21001");
30 if (!$oid) echo ("pg_lo_create() error\n");
32 pg_lo_unlink ($db, $oid);
37 $oid = pg_lo_create (21002);
38 if (!$oid) echo ("pg_lo_create() error\n");
[all …]
H A D28large_object_import_oid.phpt2 PostgreSQL import large object with given oid
21 $oid = pg_lo_import($db, __FILE__, 21003);
22 if (!$oid) echo ("pg_lo_import() error\n");
23 if ($oid != 21003) echo ("pg_lo_import() wrong id\n");
24 pg_lo_unlink ($db, $oid);
29 $oid = pg_lo_import($db, __FILE__, "21004");
30 if (!$oid) echo ("pg_lo_import() error\n");
32 pg_lo_unlink ($db, $oid);
37 $oid = pg_lo_import($db, __FILE__, 21005);
38 if (!$oid) echo ("pg_lo_import() error\n");
[all …]
H A D05large_object.phpt16 $oid = pg_lo_create ($db);
17 if (!$oid) echo ("pg_lo_create() error\n");
18 $handle = pg_lo_open ($db, $oid, "w");
26 $handle = pg_lo_open ($db, $oid, "w");
41 $handle = pg_lo_open ($db, $oid, "w");
52 pg_lo_unlink($db, $oid) or print("pg_lo_unlink() error 1\n");
59 pg_lo_unlink($oid) or print("pg_lo_unlink() error 2\n");
62 echo "Test with string oid value\n";
71 $oid = pg_lo_import($db, $path . 'php.gif');
75 pg_lo_export($db, $oid, $path . 'php.gif.exported');
[all …]
H A Dgh10672.phpt23 $oid = pg_lo_create($db);
25 if ($oid === false) {
30 $lob = pg_lo_open($db, $oid, 'w');
32 if ($oid === false) {
H A Dbug72197.phpt24 $oid = pg_lo_create($conn);
25 var_dump($oid);
28 $oid = pg_lo_create();
29 var_dump($oid);
/php-src/ext/ldap/tests/
H A Dldap_mod_ext.phpt29 … ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
30 … ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
43 … ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
44 … ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['description']]],
74 ["oid"]=>
84 ["oid"]=>
146 ["oid"]=>
161 ["oid"]=>
H A Dldap_get_option_variation.phpt16 array("oid" => "1.2.752.58.10.1", "iscritical" => true),
17 array("oid" => "1.2.752.58.1.10", "value" => "magic"),
70 ["oid"]=>
79 ["oid"]=>
91 ["oid"]=>
100 ["oid"]=>
H A Dskipifcontrol.inc4 function skipifunsupportedcontrol($oid)
9 if (!in_array($oid, ldap_get_entries($link, $result)[0]['supportedcontrol'])) {
10 die(sprintf("skip Unsupported control %s", $oid));
H A Dldap_set_option_variation.phpt16 array("oid" => "1.2.752.58.10.1", "iscritical" => true),
17 array("oid" => "1.2.752.58.1.10", "value" => "magic"),
81 ["oid"]=>
90 ["oid"]=>
102 ["oid"]=>
111 ["oid"]=>
H A Dldap_controls.phpt24 …[['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => TRUE, 'value' => ['filter' => '(objectClass=organi…
27 …[['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => TRUE, 'value' => ['filter' => '(objectClass=organi…
29 …[['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => TRUE, 'value' => ['filter' => '(!(description=*))'…
33 …[['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => TRUE, 'value' => ['filter' => '(!(description=*))'…
36 …ldap_delete($link, "o=test,$base", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => TRUE, 'value' =…
39 …ldap_rename($link, "o=test,$base", "o=test2", "", TRUE, [['oid' => LDAP_CONTROL_ASSERT, 'iscritica…
41 …ldap_compare($link, "o=test,$base", "o", "test", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => T…
42 …ldap_compare($link, "o=test,$base", "o", "test", [['oid' => LDAP_CONTROL_ASSERT, 'iscritical' => T…
50 …[['oid' => LDAP_CONTROL_VALUESRETURNFILTER, 'iscritical' => TRUE, 'value' => ['filter' => '(l=*her…
H A Dldap_search_sort_controls.phpt26 'oid' => LDAP_CONTROL_SORTREQUEST,
29 … ['attr' => 'cn', 'oid' => '2.5.13.3' /* caseIgnoreOrderingMatch */, 'reverse' => TRUE]
46 'oid' => LDAP_CONTROL_SORTREQUEST,
49 … ['attr' => 'cn', 'oid' => '2.5.13.3' /* caseIgnoreOrderingMatch */, 'reverse' => TRUE]
53 'oid' => LDAP_CONTROL_VLVREQUEST,
142 ["oid"]=>
197 ["oid"]=>
H A Dldap_rename_ext.phpt24 ['oid' => LDAP_CONTROL_PRE_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]],
25 ['oid' => LDAP_CONTROL_POST_READ, 'iscritical' => TRUE, 'value' => ['attrs' => ['cn']]]
52 ["oid"]=>
66 ["oid"]=>
H A Dldap_set_option_error.phpt19 array("oid" => "1.2.752.58.10.1", "iscritical" => true),
20 array("oid" => "1.2.752.58.1.10", "value" => "magic"),
39 ValueError: ldap_set_option(): Control must have an "oid" key
H A Dldap_get_option_controls.phpt32 'oid' => LDAP_CONTROL_PAGEDRESULTS,
39 'oid' => LDAP_CONTROL_PAGEDRESULTS,
77 ["oid"]=>
95 ["oid"]=>
H A Dldap_bind_ext.phpt26 $result = ldap_bind_ext($link, $user, $passwd, [['oid' => LDAP_CONTROL_PASSWORDPOLICYREQUEST]]),
35 …$result = ldap_bind_ext($link, $user, "wrongPassword", [['oid' => LDAP_CONTROL_PASSWORDPOLICYREQUE…
40 …$result = ldap_bind_ext($link, "unexistingProperty=weirdValue,$user", $passwd, [['oid' => LDAP_CON…
/php-src/ext/pdo_pgsql/tests/
H A Dgh9411.phpt19 $oid = $db->pgsqlLOBCreate();
20 var_dump($lob = $db->pgsqlLOBOpen($oid, 'wb'));
26 $oid = $db->pgsqlLOBCreate();
27 var_dump($lob = $db->pgsqlLOBOpen($oid, 'wb'));
33 var_dump($lob = $db->pgsqlLOBOpen($oid, 'wb'));
H A Dbug62498-32bit.phpt58 ["pgsql:oid"]=>
77 ["pgsql:oid"]=>
96 ["pgsql:oid"]=>
115 ["pgsql:oid"]=>
134 ["pgsql:oid"]=>
153 ["pgsql:oid"]=>
172 ["pgsql:oid"]=>
191 ["pgsql:oid"]=>
210 ["pgsql:oid"]=>
H A Dbug62498.phpt57 ["pgsql:oid"]=>
76 ["pgsql:oid"]=>
95 ["pgsql:oid"]=>
114 ["pgsql:oid"]=>
133 ["pgsql:oid"]=>
152 ["pgsql:oid"]=>
171 ["pgsql:oid"]=>
190 ["pgsql:oid"]=>
209 ["pgsql:oid"]=>
H A Dfloat.phpt51 ["pgsql:oid"]=>
67 ["pgsql:oid"]=>
83 ["pgsql:oid"]=>
99 ["pgsql:oid"]=>
115 ["pgsql:oid"]=>
H A Dlarge_objects.phpt21 $oid = $db->pgsqlLOBCreate();
23 $stm = $db->pgsqlLOBOpen($oid, 'w+b');
28 /* bind as LOB; the oid from the pgsql stream will be inserted instead
31 * You can also just bind the $oid in as a string. */
78 $db->pgsqlLOBUnlink($oid);
/php-src/ext/ffi/tests/
H A Dbug79576.phpt12 FFI::cdef('struct tree *get_tree(const oid *, size_t, struct tree *);');
17 FFI::cdef('struct tree *get_tree(oid, size_t, struct tree *);');
33 FFI\ParserException: Undefined C type "oid" at line 1
34 FFI\ParserException: Undefined C type "oid" at line 1
/php-src/ext/pgsql/
H A Dpgsql.stub.php704 * @param string|int $oid
711 * @param string|int $oid
719 * @param string|int $oid
725 * @param string|int $oid
729 function pg_lounlink($connection, $oid = UNKNOWN): bool {} argument
733 * @param string|int $oid
740 * @param string|int $oid
782 * @param string|int $oid
790 * @param string|int $oid
798 * @param string|int $oid
[all …]
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.stub.php26 public function pgsqlLOBOpen(string $oid, string $mode = "rb") {} argument
29 public function pgsqlLOBUnlink(string $oid): bool {} argument
H A Dphp_pdo_pgsql_int.h80 Oid oid; member
107 Oid oid; member
118 php_stream *pdo_pgsql_create_lob_stream(zval *pdh, int lfd, Oid oid);
H A Dpdo_pgsql.stub.php52 public function lobOpen(string $oid, string $mode = "rb") {} argument
54 public function lobUnlink(string $oid): bool {} argument

Completed in 25 milliseconds

12