Lines Matching refs:spb_len
141 unsigned short spb_len = 1; in _php_ibase_user() local
161 int chunk = slprintf(&buf[spb_len], sizeof(buf) - spb_len, "%c%c%c%s", in _php_ibase_user()
164 if ((spb_len + chunk) > sizeof(buf) || chunk <= 0) { in _php_ibase_user()
166 TSRMLS_CC, spb_len); in _php_ibase_user()
169 spb_len += chunk; in _php_ibase_user()
174 if (isc_service_start(IB_STATUS, &svm->handle, NULL, spb_len, buf)) { in _php_ibase_user()
211 int hlen, ulen, plen, spb_len; in PHP_FUNCTION() local
225 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%s" "%s:service_mgr", in PHP_FUNCTION()
229 if (spb_len > sizeof(buf) || spb_len == -1) { in PHP_FUNCTION()
230 …hp_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)" TSRMLS_CC, spb_len); in PHP_FUNCTION()
234 spb_len -= hlen + 12; in PHP_FUNCTION()
235 loc = buf + spb_len; /* points to %s:service_mgr part */ in PHP_FUNCTION()
238 if (isc_service_attach(IB_STATUS, 0, loc, &handle, (unsigned short)spb_len, buf)) { in PHP_FUNCTION()
426 int dblen, bklen, spb_len; in _php_ibase_backup_restore() local
442 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%s%c%c%c%c%c", in _php_ibase_backup_restore()
448 buf[spb_len++] = isc_spb_verbose; in _php_ibase_backup_restore()
451 if (spb_len > sizeof(buf) || spb_len <= 0) { in _php_ibase_backup_restore()
452 …hp_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)" TSRMLS_CC, spb_len); in _php_ibase_backup_restore()
457 if (isc_service_start(IB_STATUS, &svm->handle, NULL, (unsigned short)spb_len, buf)) { in _php_ibase_backup_restore()
490 int dblen, spb_len; in _php_ibase_service_action() local
544 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%c%c", in _php_ibase_service_action()
553 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c", in _php_ibase_service_action()
559 if (spb_len > sizeof(buf) || spb_len == -1) { in _php_ibase_service_action()
560 …hp_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)" TSRMLS_CC, spb_len); in _php_ibase_service_action()
564 if (isc_service_start(IB_STATUS, &svm->handle, NULL, (unsigned short)spb_len, buf)) { in _php_ibase_service_action()