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

/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_statement.c266 zend_ulong cur_len; local
272 for (cur_len = stat = 0; (!stat || stat == isc_segment) && cur_len < *len; cur_len += seg_len) {
274 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX
275 : (unsigned short)(*len-cur_len);
277 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]);
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c99 unsigned long cur_len; local
104 for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_len) {
106 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX
107 : (unsigned short)(max_len-cur_len);
109 stat = isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &ZSTR_VAL(bl_data)[cur_len]);
117 ZSTR_VAL(bl_data)[cur_len] = '\0';
118 ZSTR_LEN(bl_data) = cur_len;

Completed in 4 milliseconds