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

/PHP_TRUNK/ext/interbase/
H A Dinterbase.c857 char dpb_buffer[257] = { isc_dpb_version1, 0 }, *dpb; local
859 dpb = dpb_buffer + 1;
863 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_args[i],(unsigned char)len[i],args[i]);
864 dpb += dpb_len;
869 dpb_len = slprintf(dpb, buf_len, "%c\2%c%c", isc_dpb_num_buffers,
871 dpb += dpb_len;
875 dpb_len = slprintf(dpb, buf_len, "%c\1%c", isc_dpb_force_write, largs[SYNC] == isc_spb_prp_wm_sync ? 1 : 0);
876 dpb += dpb_len;
879 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.c663 char dpb_buffer[256] = { isc_dpb_version1 }, *dpb; local
665 dpb = dpb_buffer + 1;
667 /* loop through all the provided arguments and set dpb fields accordingly */
670 dpb_len = slprintf(dpb, buf_len, "%c%c%s", dpb_flags[i], (unsigned char)strlen(dpb_values[i]),
672 dpb += dpb_len;
678 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {

Completed in 5 milliseconds