Home
last modified time | relevance | path

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

/external/rust/crates/grpcio/src/
Dlog_util.rs25 let file_str = unsafe { CStr::from_ptr(args.file).to_str().unwrap() }; in delegate() localVariable
33 .file(file_str.into()) in delegate()
/external/python/cpython2/Python/
D_warnings.c502 const char *file_str = PyString_AsString(*filename); in setup_context() local
503 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()
/external/webrtc/api/
Drtc_event_log_output_file_unittest.cc45 std::string file_str((std::istreambuf_iterator<char>(file)), in GetOutputFileContents()
47 return file_str; in GetOutputFileContents()
/external/dtc/
Dchecks.c69 char *file_str; in check_msg() local
80 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()