Lines Matching refs:first_hash

160   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()
195 const char *next_e = strchr(first_hash, 'e'); in CeedLoadSourceToInitializedBuffer()
197 if (next_e && next_e - first_hash >= 7) memcpy(keyword, &next_e[-6], 7); in CeedLoadSourceToInitializedBuffer()
202 for (CeedInt i = 1; first_hash - next_e + i < -6; i++) { in CeedLoadSourceToInitializedBuffer()
203 is_hash_include &= first_hash[i] == ' '; in CeedLoadSourceToInitializedBuffer()
209 long copy_size = first_hash - &temp_buffer[file_offset]; in CeedLoadSourceToInitializedBuffer()
216 char *next_quote = strchr(first_hash, '"'); in CeedLoadSourceToInitializedBuffer()
217 char *next_new_line = strchr(first_hash, '\n'); in CeedLoadSourceToInitializedBuffer()
219 char *next_left_chevron = strchr(first_hash, '<'); in CeedLoadSourceToInitializedBuffer()
241 char *next_right_chevron = strchr(first_hash, '>'); in CeedLoadSourceToInitializedBuffer()
265 long header_copy_size = next_new_line - first_hash + 1; in CeedLoadSourceToInitializedBuffer()
269 memcpy(&(*buffer)[current_size + copy_size + 1], first_hash, header_copy_size); in CeedLoadSourceToInitializedBuffer()
272 file_offset = strchr(first_hash, '\n') - temp_buffer + 1; in CeedLoadSourceToInitializedBuffer()
275 first_hash = strchr(&first_hash[1], '#'); in CeedLoadSourceToInitializedBuffer()