Searched refs:file_str (Results 1 – 4 of 4) sorted by relevance
25 let file_str = unsafe { CStr::from_ptr(args.file).to_str().unwrap() }; in delegate() localVariable33 .file(file_str.into()) in delegate()
502 const char *file_str = PyString_AsString(*filename); in setup_context() local503 if (file_str == NULL || (len < 0 && PyErr_Occurred())) in setup_context()508 file_str[len-4] == '.' && in setup_context()509 tolower(file_str[len-3]) == 'p' && in setup_context()510 tolower(file_str[len-2]) == 'y' && in setup_context()511 (tolower(file_str[len-1]) == 'c' || in setup_context()512 tolower(file_str[len-1]) == 'o')) in setup_context()514 *filename = PyString_FromStringAndSize(file_str, len-1); in setup_context()
45 std::string file_str((std::istreambuf_iterator<char>(file)), in GetOutputFileContents()47 return file_str; in GetOutputFileContents()
69 char *file_str; in check_msg() local80 file_str = srcpos_string(pos); in check_msg()81 xasprintf(&str, "%s", file_str); in check_msg()82 free(file_str); in check_msg()110 file_str = srcpos_string(pos); in check_msg()111 xasprintf_append(&str, " also defined at %s\n", file_str); in check_msg()112 free(file_str); in check_msg()