Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/lib/semihosting/
Dsemihosting.c20 const char *file_name; member
46 long semihosting_file_open(const char *file_name, size_t mode) in semihosting_file_open() argument
50 open_block.file_name = file_name; in semihosting_file_open()
52 open_block.name_length = strlen(file_name); in semihosting_file_open()
159 long semihosting_get_flen(const char *file_name) in semihosting_get_flen() argument
166 file_handle = semihosting_file_open(file_name, FOPEN_MODE_RB); in semihosting_get_flen()
176 long semihosting_download_file(const char *file_name, in semihosting_download_file() argument
190 file_handle = semihosting_file_open(file_name, FOPEN_MODE_RB); in semihosting_download_file()
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
Drealpath.c36 char *file_name, in realpath() argument
41 if (file_name == NULL || resolved_name == NULL) { in realpath()
45 Temp = AllocateZeroPool((1+AsciiStrLen(file_name))*sizeof(CHAR16)); in realpath()
50 AsciiStrToUnicodeStr(file_name, Temp); in realpath()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/
Dsemihosting.h41 long semihosting_file_open(const char *file_name, size_t mode);
50 long semihosting_get_flen(const char *file_name);
51 long semihosting_download_file(const char *file_name,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_import.py285 file_name = os.path.join(dir_name, module_name) + os.extsep + "py" variable in PycRewritingTests
286 compiled_name = file_name + ("c" if __debug__ else "o")
292 with open(self.file_name, "w") as f:
302 unlink(self.file_name)
313 self.assertEqual(mod.module_filename, self.file_name)
314 self.assertEqual(mod.code_filename, self.file_name)
315 self.assertEqual(mod.func_filename, self.file_name)
319 self.assertEqual(mod.code_filename, self.file_name)
320 self.assertEqual(mod.func_filename, self.file_name)
323 py_compile.compile(self.file_name, dfile="another_module.py")
[all …]
Dtest_warnings.py305 file_name = warning_tests.__file__
318 warning_tests.__file__ = file_name
542 file_name = os.path.splitext(warning_tests.__file__)[0] + '.py'
544 file_line = linecache.getline(file_name, line_num).strip()
546 expect = format % (file_name, line_num, category.__name__, message,
549 category, file_name, line_num))
552 expect = format % (file_name, line_num, category.__name__, message,
555 category, file_name, line_num, file_line))
558 file_name = os.path.splitext(warning_tests.__file__)[0] + '.py'
560 expected_file_line = linecache.getline(file_name, line_num).strip()
[all …]
Dtest_argparse.py1450 for file_name in ['foo', 'bar']:
1451 file = open(os.path.join(self.temp_dir, file_name), 'w')
1452 file.write(file_name)
1475 for file_name in ['foo', 'bar']:
1476 file = open(os.path.join(self.temp_dir, file_name), 'w')
1477 file.write(file_name)
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c46 char file_name[FILENAME_MAX]; in mm_app_rdi_dump_frame() local
51 snprintf(file_name, sizeof(file_name), in mm_app_rdi_dump_frame()
53 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame()
55 LOGE(" cannot open file %s \n", file_name); in mm_app_rdi_dump_frame()
64 LOGD(" dump rdi frame %s", file_name); in mm_app_rdi_dump_frame()
72 char file_name[FILENAME_MAX]; in mm_app_rdi_notify_cb() local
78 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); in mm_app_rdi_notify_cb()
79 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb()
Dmm_qcamera_video.c37 char file_name[64]; in mm_app_video_notify_cb() local
43 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); in mm_app_video_notify_cb()
44 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb()
Dmm_qcamera_app.c250 char file_name[FILENAME_MAX]; in mm_app_dump_frame() local
255 snprintf(file_name, sizeof(file_name), in mm_app_dump_frame()
257 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_dump_frame()
259 LOGE("cannot open file %s \n", file_name); in mm_app_dump_frame()
272 LOGD("dump %s", file_name); in mm_app_dump_frame()
Dmm_qcamera_preview.c303 char file_name[64]; in mm_app_preview_notify_cb() local
304 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
305 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_preview_notify_cb()
/device/google/cuttlefish_common/tools/
Dtombstone_to_line.py54 file_name=':'.join(details[:-1]))
61 line, info.file_name, info.line_number), file=out_file)
67 with open(info.file_name, 'r') as f:
76 ' ' * indent, info.file_name, info.line_number), file=out_file)
/device/google/marlin/dataservices/datatop/src/
Ddatatop_opt.h75 char *file_name; /* -w option */ member
Ddatatop_opt.c122 clopts->file_name = optarg; in dtop_parse_cli_opts()
Ddatatop.c223 if ((dtop_open_writing_file(usr_cl_opts.file_name, in main()
/device/google/cuttlefish_common/host/libs/config/
Dcuttlefish_config.cpp895 std::string CuttlefishConfig::PerInstancePath(const char* file_name) const { in PerInstancePath()
896 return (instance_dir() + "/") + file_name; in PerInstancePath()
938 std::string DefaultHostArtifactsPath(const std::string& file_name) { in DefaultHostArtifactsPath() argument
942 file_name; in DefaultHostArtifactsPath()
945 std::string DefaultGuestImagePath(const std::string& file_name) { in DefaultGuestImagePath() argument
949 file_name; in DefaultGuestImagePath()
Dcuttlefish_config.h45 std::string PerInstancePath(const char* file_name) const;
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c473 char file_name[64]; in encode_test() local
529 snprintf(file_name, sizeof(file_name), "%s_%d.jpg", in encode_test()
532 jpeg_obj->clinet_id, file_name); in encode_test()
534 DUMP_TO_FILE(file_name, jpeg_obj->output[i].addr, in encode_test()
/device/linaro/bootloader/edk2/StdLib/Include/
Dstdlib.h878 char * realpath(char *file_name, char *resolved_name);