Searched refs:dpb (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/interbase/
H A Dinterbase.c853 char dpb_buffer[257] = { isc_dpb_version1, 0 }, *dpb; local
855 dpb = dpb_buffer + 1;
859 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_args[i],(unsigned char)len[i],args[i]);
860 dpb += dpb_len;
865 dpb_len = slprintf(dpb, buf_len, "%c\2%c%c", isc_dpb_num_buffers,
867 dpb += dpb_len;
871 dpb_len = slprintf(dpb, buf_len, "%c\1%c", isc_dpb_force_write, largs[SYNC] == isc_spb_prp_wm_sync ? 1 : 0);
872 dpb += dpb_len;
875 if (isc_attach_database(IB_STATUS, (short)len[DB], args[DB], db, (short)(dpb-dpb_buffer), dpb_buffer)) {
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c660 char dpb_buffer[256] = { isc_dpb_version1 }, *dpb; local
662 dpb = dpb_buffer + 1;
664 /* loop through all the provided arguments and set dpb fields accordingly */
667 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_flags[i], (unsigned char)strlen(dpb_values[i]),
669 dpb += dpb_len;
675 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {

Completed in 5 milliseconds