Searched refs:current_size (Results 1 – 1 of 1) sorted by relevance
| /libCEED/interface/ |
| H A D | ceed-jit-tools.c | 183 long current_size = strlen(*buffer); in CeedLoadSourceToInitializedBuffer() local 186 CeedCall(CeedRealloc(current_size + copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer() 187 memcpy(&(*buffer)[current_size], "\n", 2); in CeedLoadSourceToInitializedBuffer() 188 memcpy(&(*buffer)[current_size + 1], &temp_buffer[file_offset], copy_size); in CeedLoadSourceToInitializedBuffer() 189 memcpy(&(*buffer)[current_size + copy_size], "", 1); in CeedLoadSourceToInitializedBuffer() 208 long current_size = strlen(*buffer); in CeedLoadSourceToInitializedBuffer() local 211 CeedCall(CeedRealloc(current_size + copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer() 212 memcpy(&(*buffer)[current_size], "\n", 2); in CeedLoadSourceToInitializedBuffer() 213 memcpy(&(*buffer)[current_size + 1], &temp_buffer[file_offset], copy_size); in CeedLoadSourceToInitializedBuffer() 214 memcpy(&(*buffer)[current_size + copy_size], "", 1); in CeedLoadSourceToInitializedBuffer() [all …]
|