Home
last modified time | relevance | path

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

/libCEED/interface/
H A Dceed-jit-tools.c160 const char *first_hash = strchr(temp_buffer, '#'); in CeedLoadSourceToInitializedBuffer() local
162 while (first_hash) { in CeedLoadSourceToInitializedBuffer()
164 const char *next_m = strchr(first_hash, 'm'); in CeedLoadSourceToInitializedBuffer()
167 if (next_m && next_m - first_hash >= 5) memcpy(keyword, &next_m[-4], 6); in CeedLoadSourceToInitializedBuffer()
172 for (CeedInt i = 1; first_hash - next_m + i < -5; i++) { in CeedLoadSourceToInitializedBuffer()
173 is_hash_pragma &= first_hash[i] == ' '; in CeedLoadSourceToInitializedBuffer()
178 char *next_o = strchr(first_hash, 'o'); in CeedLoadSourceToInitializedBuffer()
179 char *next_new_line = strchr(first_hash, '\n'); in CeedLoadSourceToInitializedBuffer()
184 …long copy_size = first_hash - &temp_buffer[file_offset] + (is_pragma_once ? 0 : (next_new_line … in CeedLoadSourceToInitializedBuffer()
191 file_offset = strchr(first_hash, '\n') - temp_buffer + 1; in CeedLoadSourceToInitializedBuffer()
[all …]