/bionic/tests/ |
sys_sendfile_test.cpp | 27 TemporaryFile src_file; local 28 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 34 ssize_t rc = sendfile(dst_file.fd, src_file.fd, &offset, count); 46 TemporaryFile src_file; local 47 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 53 ssize_t rc = sendfile64(dst_file.fd, src_file.fd, &offset, count);
|
/external/chromium_org/courgette/ |
versioning_unittest.cc | 15 void TestApplyingOldPatch(const char* src_file, 20 void VersioningTest::TestApplyingOldPatch(const char* src_file, 23 std::string old_buffer = FileContents(src_file);
|
/external/chromium_org/tools/gyp/test/make/ |
gyptest-noload.py | 39 with open('relocate/noload/main.c', 'a') as src_file: 40 src_file.write("\n")
|
/external/chromium_org/remoting/host/installer/ |
build-installer-archive.py | 74 def remapSrcFile(dst_root, src_roots, src_file): 77 Any matching |src_roots| prefix is stripped from |src_file| before 83 src_file = 'host/installer/mac/Scripts/keystone_install.sh' 87 The |src_file| must match one of the |src_roots| prefixes. If there are no 96 src_roots: Array of path prefixes which will be stripped of |src_file| 98 src_file: Source file to be copied. 106 src_file = os.path.normpath(src_file) 107 if os.path.commonprefix([root, src_file]) == root: 108 src_file = os.path.relpath(src_file, root [all...] |
/external/chromium_org/tools/gn/bootstrap/ |
bootstrap.py | 350 for src_file in settings['sources']: 352 'build %s: %s %s' % (src_to_obj(src_file), 354 os.path.join(SRC_ROOT, src_file)), 369 ' '.join([src_to_obj(src_file) for src_file in settings['sources']])))
|
/external/chromium_org/third_party/zlib/google/ |
zip.cc | 95 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { 97 if (!reader.Open(src_file)) { 98 DLOG(WARNING) << "Failed to open " << src_file.value();
|
zip_unittest.cc | 125 base::FilePath src_file = src_dir.AppendASCII("test.txt"); local 143 EXPECT_EQ(1, base::WriteFile(src_file, "1", 1)); 144 EXPECT_TRUE(base::TouchFile(src_file, base::Time::Now(), test_mtime));
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.h | 51 rc_register_file src_file,
|
radeon_compiler_util.c | 313 rc_register_file src_file, 320 if (src_file != dst_file || src_idx != dst_idx) {
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.h | 51 rc_register_file src_file,
|
radeon_compiler_util.c | 313 rc_register_file src_file, 320 if (src_file != dst_file || src_idx != dst_idx) {
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
generate_make.py | 172 src_file = FindFile(src_name, root, search_dirs) 173 if not src_file: 177 if os.stat(src_file).st_mtime <= os.stat(dst_file).st_mtime: 179 src_file, dst_file)) 184 buildbot_common.CopyFile(src_file, dst_file)
|
build_sdk.py | 285 src_file = dest_file = file_spec 287 src_file, dest_file = file_spec 289 src_file = os.path.join(src_root, src_file) 292 sources = glob.glob(src_file) 294 sources = [src_file] [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_cache_unittest.cc | 126 base::FilePath src_file; local 127 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); 136 cache_->Store(id_tmp, md5_tmp, src_file, 147 cache_->Store(id_pinned, md5_pinned, src_file, 352 base::FilePath src_file; local 353 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); 359 ASSERT_EQ(FILE_ERROR_OK, cache_->Store(id, "md5", src_file, 444 base::FilePath src_file; local 445 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir_.path(), &src_file)); 451 ASSERT_EQ(FILE_ERROR_OK, cache_->Store(id, "md5", src_file, 487 base::FilePath src_file; local 547 base::FilePath src_file; local [all...] |
/external/chromium_org/content/browser/fileapi/ |
file_system_operation_impl_unittest.cc | 530 FileSystemURL src_file(CreateFile("src/file")); 534 Move(src_file, dest_dir, FileSystemOperation::OPTION_NONE)); 549 FileSystemURL src_file(CreateFile("src")); 553 Move(src_file, dest_file, FileSystemOperation::OPTION_NONE)); 564 FileSystemURL src_file(CreateFile("src")); 568 Move(src_file, URLForPath("new"), FileSystemOperation::OPTION_NONE)); 685 FileSystemURL src_file(CreateFile("src")); 689 Copy(src_file, dest_dir, FileSystemOperation::OPTION_NONE)); 706 FileSystemURL src_file(CreateFile("src/file")); 708 EXPECT_EQ(base::File::FILE_OK, Truncate(src_file, 6)) [all...] |
recursive_operation_delegate_unittest.cc | 187 FileSystemURL src_file(CreateFile("src")); 193 context->file_system_context(), src_file, 204 EXPECT_EQ(src_file, entry.url);
|
/external/chromium_org/native_client_sdk/src/tools/ |
oshelpers.py | 369 for src_file in globbed_src_args: 370 src_file = os.path.normpath(src_file) 371 src_files.append(src_file) 372 if options.recursive and os.path.isdir(src_file): 373 for root, dirs, files in os.walk(src_file): 388 new_files_to_add = [OSMakeZipPath(src_file) for src_file in src_files]
|
/external/chromium_org/tools/protoc_wrapper/ |
protoc_wrapper.py | 72 with open(os.path.join(path, filename), 'r') as src_file: 74 for line in src_file:
|
/external/chromium_org/third_party/libjpeg_turbo/ |
wrjpgcom.c | 538 FILE * src_file; local 545 src_file = (comment_file != NULL ? comment_file : stdin); 546 while ((c = getc(src_file)) != EOF) {
|
/external/jpeg/ |
wrjpgcom.c | 538 FILE * src_file; local 545 src_file = (comment_file != NULL ? comment_file : stdin); 546 while ((c = getc(src_file)) != EOF) {
|
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/ |
native_heap_classifier.py | 122 src_file = frame.symbol.source_info[0].source_file_path 123 src_dir = posixpath.dirname(src_file.replace('\\', '/')) + '/'
|
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
test_util.h | 228 ScopedFILE src_file; local 229 src_file.Open(src_path.c_str(), "rb"); 238 size_t read = fread(buffer, 1, sizeof buffer, src_file.file());
|
/external/chromium_org/chrome/tools/build/win/ |
resedit.py | 312 for res_type, res_lang, res_name, src_file in options.update: 313 editor.UpdateResource(res_type, int(res_lang), res_name, src_file)
|
/external/chromium_org/content/common/gpu/media/ |
video_encode_accelerator_unittest.cc | 210 base::MemoryMappedFile src_file; local 211 CHECK(src_file.Initialize(base::FilePath(test_stream->in_filename))); 216 CHECK_EQ(src_file.length() % visible_buffer_size, 0U) 219 test_stream->num_frames = src_file.length() / visible_buffer_size; 229 const uint8* src = src_file.data(); [all...] |
/external/chromium_org/ppapi/native_client/ |
chrome_main.scons | 196 src_file = open(source[0].abspath, 'r') 197 src_json = json.load(src_file) 198 src_file.close()
|