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

/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c175 php_stream *pdo_pgsql_create_lob_stream(zval *dbh, int lfd, Oid oid) argument
183 self->oid = oid;
932 /* {{{ proto resource PDO::pgsqlLOBOpen(string oid [, string mode = 'rb'])
938 Oid oid; local
952 oid = (Oid)strtoul(oidstr, &end_ptr, 10);
953 if (oid == 0 && (errno == ERANGE || errno == EINVAL)) {
967 lfd = lo_open(H->server, oid, mode);
970 php_stream *stream = pdo_pgsql_create_lob_stream(getThis(), lfd, oid);
984 /* {{{ proto bool PDO::pgsqlLOBUnlink(string oid)
990 Oid oid; local
[all...]
H A Dpgsql_statement.c328 P->oid = htonl(self->oid);
329 S->param_values[param->paramno] = (char*)&P->oid;
330 S->param_lengths[param->paramno] = sizeof(P->oid);
532 Oid oid = (Oid)strtoul(*ptr, &end_ptr, 10); local
533 int loid = lo_open(S->H->server, oid, INV_READ);
535 *ptr = (char*)pdo_pgsql_create_lob_stream(&stmt->database_object_handle, loid, oid);
591 add_assoc_long(return_value, "pgsql:oid", S->cols[colno].pgsql_type);
H A Dphp_pdo_pgsql_int.h77 Oid oid; member in struct:__anon180
101 Oid oid; member in struct:pdo_pgsql_lob_self
112 php_stream *pdo_pgsql_create_lob_stream(zval *pdh, int lfd, Oid oid);
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c70 #define PGSQL_RETURN_OID(oid) do { \
71 if (oid > ZEND_LONG_MAX) { \
73 smart_str_append_unsigned(&s, oid); \
77 RETURN_LONG((zend_long)oid); \
80 #define PGSQL_RETURN_OID(oid) RETURN_LONG((zend_long)oid)
2339 static char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list) argument
2348 smart_str_append_unsigned(&str, oid);
2353 } else { /* hash all oid's */
2359 if ((result = PQexec(pgsql, "select oid,typnam
2407 Oid oid; local
2501 Oid oid; local
3073 Oid oid; local
3172 zval *pgsql_link = NULL, *oid = NULL; local
3250 Oid oid; local
3320 Oid oid; local
3561 zval *pgsql_link = NULL, *oid = NULL; local
3655 Oid oid; local
[all...]
/PHP_TRUNK/ext/snmp/
H A Dphp_snmp.h118 char *oid; member in struct:_snmpobjarg
121 oid name[MAX_OID_LEN];
H A Dsnmp.c132 static oid objid_mib[] = {1, 3, 6, 1, 2, 1};
620 snprint_objid(buf, buflen, vars->val.objid, vars->val_len / sizeof(oid));
708 oid root[MAX_NAME_LEN];
725 memmove((char *)root, (char *)(objid_query->vars[0].name), (objid_query->vars[0].name_length) * sizeof(oid));
817 (vars->name_length < rootlen || memcmp(root, vars->name, rootlen * sizeof(oid)))) { /* not part of this subtree */
849 add_assoc_zval(return_value, objid_query->vars[count].oid, &snmpval);
883 memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid));
964 static int php_snmp_parse_oid(zval *object, int st, struct objid_query *objid_query, zval *oid, zval *type, zval *value) argument
970 if (Z_TYPE_P(oid) != IS_ARRAY) {
972 if (Z_ISREF_PP(oid)) {
1428 zval *oid, *value, *type; local
[all...]

Completed in 20 milliseconds