reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
168 if (dst && bytes_left > 0) { 174 while (bytes_left > 0) { 178 return dst_len - bytes_left; 186 if (curr_read_size > bytes_left) 187 curr_read_size = bytes_left; 189 memcpy(dst_buf + dst_len - bytes_left, 192 bytes_left -= curr_read_size; 196 if (bytes_left > 0) { 198 for (++pos; (pos != end) && (bytes_left > 0); ++pos) { 205 if (curr_read_size > bytes_left) 206 curr_read_size = bytes_left; 208 memcpy(dst_buf + dst_len - bytes_left, pos->second->GetBytes(), 211 bytes_left -= curr_read_size; 218 return dst_len - bytes_left; 225 if (bytes_left > 0) { 233 return dst_len - bytes_left; 244 return dst_len - bytes_left;