Searched refs:cur_len (Results 1 – 2 of 2) sorted by relevance
/PHP-5.4/ext/interbase/ |
H A D | ibase_blobs.c | 102 unsigned long cur_len; in _php_ibase_blob_get() local 107 …for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_l… in _php_ibase_blob_get() 109 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX in _php_ibase_blob_get() 110 : (unsigned short)(max_len-cur_len); in _php_ibase_blob_get() 112 stat = isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &bl_data[cur_len]); in _php_ibase_blob_get() 115 bl_data[cur_len] = '\0'; in _php_ibase_blob_get() 121 RETVAL_STRINGL(bl_data, cur_len, 0); in _php_ibase_blob_get()
|
/PHP-5.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 266 unsigned long cur_len; in firebird_fetch_blob() local 272 for (cur_len = stat = 0; (!stat || stat == isc_segment) && cur_len < *len; cur_len += seg_len) { in firebird_fetch_blob() 274 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX in firebird_fetch_blob() 275 : (unsigned short)(*len-cur_len); in firebird_fetch_blob() 277 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); in firebird_fetch_blob()
|
Completed in 12 milliseconds