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()
165 _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)", spb_len); in _php_ibase_user()
168 spb_len += chunk; in _php_ibase_user()
173 if (isc_service_start(IB_STATUS, &svm->handle, NULL, spb_len, buf)) { in _php_ibase_user()
210 size_t hlen, ulen, plen, spb_len; in PHP_FUNCTION() local
224 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%s" "%s:service_mgr", in PHP_FUNCTION()
228 if (spb_len > sizeof(buf) || spb_len == -1) { in PHP_FUNCTION()
229 _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)", spb_len); in PHP_FUNCTION()
233 spb_len -= hlen + 12; in PHP_FUNCTION()
234 loc = buf + spb_len; /* points to %s:service_mgr part */ in PHP_FUNCTION()
237 if (isc_service_attach(IB_STATUS, 0, loc, &handle, (unsigned short)spb_len, buf)) { in PHP_FUNCTION()
427 size_t dblen, bklen, spb_len; in _php_ibase_backup_restore() local
443 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()
449 buf[spb_len++] = isc_spb_verbose; in _php_ibase_backup_restore()
452 if (spb_len > sizeof(buf) || spb_len <= 0) { in _php_ibase_backup_restore()
453 _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)", spb_len); in _php_ibase_backup_restore()
458 if (isc_service_start(IB_STATUS, &svm->handle, NULL, (unsigned short)spb_len, buf)) { in _php_ibase_backup_restore()
492 int spb_len; in _php_ibase_service_action() local
546 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c%c%c%c", in _php_ibase_service_action()
555 spb_len = slprintf(buf, sizeof(buf), "%c%c%c%c%s%c%c", in _php_ibase_service_action()
561 if (spb_len > sizeof(buf) || spb_len == -1) { in _php_ibase_service_action()
562 _php_ibase_module_error("Internal error: insufficient buffer space for SPB (%d)", spb_len); in _php_ibase_service_action()
566 if (isc_service_start(IB_STATUS, &svm->handle, NULL, (unsigned short)spb_len, buf)) { in _php_ibase_service_action()