Home
last modified time | relevance | path

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

/PHP-7.1/ext/interbase/
H A Dibase_blobs.c99 zend_ulong cur_len; in _php_ibase_blob_get() local
104 …for (cur_len = stat = 0; (stat == 0 || stat == isc_segment) && cur_len < max_len; cur_len += seg_l… in _php_ibase_blob_get()
106 unsigned short chunk_size = (max_len-cur_len) > USHRT_MAX ? USHRT_MAX in _php_ibase_blob_get()
107 : (unsigned short)(max_len-cur_len); in _php_ibase_blob_get()
109 …isc_get_segment(IB_STATUS, &ib_blob->bl_handle, &seg_len, chunk_size, &ZSTR_VAL(bl_data)[cur_len]); in _php_ibase_blob_get()
117 ZSTR_VAL(bl_data)[cur_len] = '\0'; in _php_ibase_blob_get()
118 ZSTR_LEN(bl_data) = cur_len; in _php_ibase_blob_get()
/PHP-7.1/ext/pdo_firebird/
H A Dfirebird_statement.c293 zend_ulong cur_len; in firebird_fetch_blob() local
299 for (cur_len = stat = 0; (!stat || stat == isc_segment) && cur_len < *len; cur_len += seg_len) { in firebird_fetch_blob()
301 unsigned short chunk_size = (*len-cur_len) > USHRT_MAX ? USHRT_MAX in firebird_fetch_blob()
302 : (unsigned short)(*len-cur_len); in firebird_fetch_blob()
304 stat = isc_get_segment(H->isc_status, &blobh, &seg_len, chunk_size, &(*ptr)[cur_len]); in firebird_fetch_blob()

Completed in 11 milliseconds