Lines Matching defs:filename
47 * splice path and filename
80 bool is_template_file(char* filename, char* template) {
82 pFile = strrchr(filename, '.');
118 EXECRES read_js_or_snapshot_file(char* filename, uint8_t* target_file, int* file_bytesize, int buffer_capacity) {
125 fd = open(filename, O_RDONLY, S_IREAD);
391 char* filename = NULL;
398 filename = direntp->d_name;
399 if (strncmp(filename, ".", 1) == 0) {
402 if ((input_file_path = splice_path(current_path, filename)) == NULL) {
418 } else if (is_template_file(filename, ".js")) {
521 char* filename = NULL;
566 filename = direntp->d_name;
567 if (strncmp(filename, ".", 1) == 0) {
570 if ((input_file_path = splice_path(current_path, filename)) == NULL) {
603 } else if ((is_template_file(filename, ".bc")) && (unlink(input_file_path) != F_OK)) {