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

/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c102 unsigned long cur_len; local
107 for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_len) {
109 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX
110 : (unsigned short)(max_len-cur_len);
112 stat = isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &bl_data[cur_len]);
115 bl_data[cur_len] = '\0';
122 RETVAL_STRINGL(bl_data, cur_len);
/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]);

Completed in 3 milliseconds