Searched refs:oid (Results 1 - 6 of 6) sorted by relevance

/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_statement.c315 P->oid = htonl(self->oid);
316 S->param_values[param->paramno] = (char*)&P->oid;
317 S->param_lengths[param->paramno] = sizeof(P->oid);
528 Oid oid = (Oid)strtoul(*ptr, &end_ptr, 10); local
529 int loid = lo_open(S->H->server, oid, INV_READ);
531 *ptr = (char*)pdo_pgsql_create_lob_stream(stmt->dbh, loid, oid TSRMLS_CC);
587 add_assoc_long(return_value, "pgsql:oid", S->cols[colno].pgsql_type);
H A Dphp_pdo_pgsql_int.h81 Oid oid; member in struct:__anon155
102 Oid oid; member in struct:pdo_pgsql_lob_self
113 php_stream *pdo_pgsql_create_lob_stream(pdo_dbh_t *stmt, int lfd, Oid oid TSRMLS_DC);
H A Dpgsql_driver.c171 php_stream *pdo_pgsql_create_lob_stream(pdo_dbh_t *dbh, int lfd, Oid oid TSRMLS_DC)
179 self->oid = oid;
887 /* {{{ proto resource PDO::pgsqlLOBOpen(string oid [, string mode = 'rb'])
893 Oid oid; local
907 oid = (Oid)strtoul(oidstr, &end_ptr, 10);
908 if (oid == 0 && (errno == ERANGE || errno == EINVAL)) {
921 lfd = lo_open(H->server, oid, mode);
924 php_stream *stream = pdo_pgsql_create_lob_stream(dbh, lfd, oid TSRMLS_CC);
936 /* {{{ proto bool PDO::pgsqlLOBUnlink(string oid)
942 Oid oid; local
[all...]
/PHP_5_3/ext/pgsql/
H A Dphp_pgsql.h211 static char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list TSRMLS_DC);
H A Dpgsql.c66 #define PGSQL_RETURN_OID(oid) do { \
67 if (oid > LONG_MAX) { \
69 smart_str_append_unsigned(&s, oid); \
73 RETURN_LONG((long)oid); \
2078 static char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list TSRMLS_DC) argument
2087 smart_str_append_unsigned(&str, oid);
2092 } else { /* hash all oid's */
2098 if ((result = PQexec(pgsql,"select oid,typname from pg_type")) == NULL || PQresultStatus(result) != PGRES_TUPLES_OK) {
2106 oid_offset = PQfnumber(result,"oid");
2125 if (!ret && strtoul(tmp_oid, &end_ptr, 10)==oid) {
2146 Oid oid; local
2242 Oid oid; local
2834 Oid oid; local
2933 zval *pgsql_link = NULL, *oid = NULL; local
3011 Oid oid; local
3081 Oid oid; local
3321 zval *pgsql_link = NULL, *oid = NULL; local
3421 Oid oid; local
[all...]
/PHP_5_3/ext/snmp/
H A Dsnmp.c98 #define OIDSIZE(p) (sizeof(p)/sizeof(oid))
113 static oid objid_mib[] = {1, 3, 6, 1, 2, 1};
480 snprint_objid(buf, sizeof(buf), vars->val.objid, vars->val_len / sizeof(oid));
482 sprint_objid(buf, vars->val.objid, vars->val_len / sizeof(oid));
541 * array of oid,value pairs.
554 oid name[MAX_NAME_LEN];
556 oid root[MAX_NAME_LEN];
578 rootlen = sizeof(objid_mib) / sizeof(oid);
591 memmove((char *)name, (char *)root, rootlen * sizeof(oid));
645 (vars->name_length < rootlen || memcmp(root, vars->name, rootlen * sizeof(oid)))) {
[all...]

Completed in 24 milliseconds