HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 101 - 125 of 1272) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/chrome/browser/net/
net_log_temp_file.cc 3 // found in the LICENSE file.
56 dict->SetString("file", log_path_.LossyDisplayName());
114 // Try to make sure we can create the file.
116 // to the user if we couldn't create the file.
117 FILE* file = base::OpenFile(log_path_, "w"); local
118 if (file == NULL)
122 net_log_logger_.reset(new net::NetLogLogger(file, *constants));
  /external/chromium_org/chrome/browser/supervised_user/experimental/
supervised_user_blacklist.cc 3 // found in the LICENSE file.
27 base::MemoryMappedFile file; local
28 file.Initialize(path);
29 if (!file.IsValid())
32 size_t size = file.length();
41 file.data() + i * base::kSHA1Length,
  /external/chromium_org/chrome/common/extensions/api/storage/
storage_schema_manifest_handler.cc 3 // found in the LICENSE file.
44 base::FilePath file = base::FilePath::FromUTF8Unsafe(path); local
45 if (file.IsAbsolute() || file.ReferencesParent()) {
50 file = extension->path().AppendASCII(path);
51 if (!base::PathExists(file)) {
53 base::StringPrintf("File does not exist: %s", file.value().c_str());
57 if (!base::ReadFileToString(file, &content)) {
58 *error = base::StringPrintf("Can't read %s", file.value().c_str())
    [all...]
  /external/chromium_org/chrome/installer/util/
delete_tree_work_item.cc 3 // found in the LICENSE file.
74 HANDLE file = ::CreateFile(key_file.value().c_str(), FILE_ALL_ACCESS, local
77 if (file != INVALID_HANDLE_VALUE) {
78 VLOG(1) << "Acquired exclusive lock for key file: " << key_file.value();
79 opened_key_files.push_back(file);
158 // This could happen if we could not delete the key file to begin with.
159 PLOG(WARNING) << "Rollback: Failed to move backup file back in place: "
delete_tree_work_item_unittest.cc 3 // found in the LICENSE file.
32 // Simple function to dump some text into a new file.
35 std::ofstream file; local
36 file.open(filename.c_str());
37 ASSERT_TRUE(file.is_open());
38 file << contents;
39 file.close();
176 // Create a key path file.
190 // Run the key path file to keep it in use.
209 // delete should fail as file in use
    [all...]
duplicate_tree_detector_unittest.cc 3 // found in the LICENSE file.
26 // Simple function to dump some text into a new file.
29 std::wofstream file; local
30 file.open(filename.c_str());
31 ASSERT_TRUE(file.is_open());
32 file << contents;
33 file.close();
36 // Creates a two level deep source dir with a file in each in |first_root| and
117 // Test when the file hierarchies are the same but one of the files is changed.
131 // Test when both file hierarchies are empty
    [all...]
move_tree_work_item_unittest.cc 3 // found in the LICENSE file.
33 // Simple function to dump some text into a new file.
36 std::wofstream file; local
37 file.open(base::UTF16ToASCII(filename).c_str());
38 ASSERT_TRUE(file.is_open());
39 file << contents;
40 file.close();
43 // Simple function to read text from a file.
46 std::wifstream file; local
47 file.open(base::UTF16ToASCII(path.value()).c_str())
    [all...]
  /external/chromium_org/cloud_print/gcp20/prototype/
cloud_print_response_parser.h 3 // found in the LICENSE file.
34 std::string file; member in struct:cloud_print_response_parser::Job
  /external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/
CronetUrlTest.java 3 // found in the LICENSE file.
17 import java.io.File;
86 File file = File.createTempFile("cronet", "json"); local
88 file.getPath());
92 assertTrue(file.exists());
93 assertTrue(file.length() != 0);
94 assertTrue(file.delete());
95 assertTrue(!file.exists())
    [all...]
  /external/chromium_org/content/browser/
safe_util_win.cc 3 // found in the LICENSE file.
22 // Sets the Zone Identifier on the file to "Internet" (3). Returns true if the
27 // |full_path| is the path to the downloaded file.
31 HANDLE file = CreateFile(path.c_str(), GENERIC_WRITE, kShare, NULL, local
33 if (INVALID_HANDLE_VALUE == file)
40 BOOL result = WriteFile(file, kIdentifier, kIdentifierSize, &written, NULL);
41 BOOL flush_result = FlushFileBuffers(file);
42 CloseHandle(file);
88 // A failure in the Save() call below could result in the downloaded file
  /external/chromium_org/ipc/
file_descriptor_set_posix.cc 3 // found in the LICENSE file.
38 DLOG(WARNING) << "Cannot add file descriptor. FileDescriptorSet full.";
50 DLOG(WARNING) << "Cannot add file descriptor. FileDescriptorSet full.";
97 base::PlatformFile file = descriptors_[index]; local
107 if ((*i)->get() == file) {
113 return file;
  /external/chromium_org/net/base/
net_log_logger_unittest.cc 3 // found in the LICENSE file.
31 FILE* file = base::OpenFile(log_path_, "w"); local
32 ASSERT_TRUE(file);
34 NetLogLogger logger(file, *constants);
53 FILE* file = base::OpenFile(log_path_, "w"); local
54 ASSERT_TRUE(file);
56 NetLogLogger logger(file, *constants);
85 FILE* file = base::OpenFile(log_path_, "w") local
    [all...]
  /external/chromium_org/net/ssl/
openssl_ssl_util.h 3 // found in the LICENSE file.
20 // Puts a net error, |err|, on the error stack in OpenSSL. The file and line are
44 OpenSSLErrorInfo() : error_code(0), file(NULL), line(0) {}
47 const char* file; member in struct:net::OpenSSLErrorInfo
  /external/chromium_org/sandbox/win/src/
app_container_test.cc 3 // found in the LICENSE file.
37 base::win::ScopedHandle file; local
38 file.Set(CreateFile(file_name, GENERIC_READ | STANDARD_RIGHTS_READ, kSharing,
41 if (!file.IsValid())
45 if (!AtlGetSecurityDescriptor(file.Get(), SE_FILE_OBJECT, &sd,
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
SerializedScriptValueTest.cpp 3 // found in the LICENSE file.
11 #include "core/fileapi/File.h"
36 RefPtrWillBeRawPtr<File> originalFile = File::create(filePath);
38 ASSERT_EQ(File::IsUserVisible, originalFile->userVisibility());
47 File* file = V8File::toImpl(v8::Handle<v8::Object>::Cast(v8File)); local
48 EXPECT_TRUE(file->hasBackingFile());
49 EXPECT_EQ(File::IsUserVisible, file->userVisibility())
67 File* file = V8File::toImpl(v8::Handle<v8::Object>::Cast(v8File)); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
DataLog.cpp 36 // Uncomment to force logging to the given file regardless of what the environment variable says. Note that
48 static FilePrintStream* file; member in namespace:WTF
63 file = FilePrintStream::open(actualFilename, "w").leakPtr();
64 if (!file)
65 fprintf(stderr, "Warning: Could not open log file %s for writing.\n", actualFilename);
68 if (!file)
69 file = new FilePrintStream(stderr, FilePrintStream::Borrow);
71 setvbuf(file->file(), 0, _IONBF, 0); // Prefer unbuffered output, so that we get a full log upon crash or deadlock.
79 if (!file)
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/err/
err_test.c 47 const char *file; local
58 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags);
59 if (strcmp(file, "test") != 0 ||
  /external/chromium_org/third_party/boringssl/src/crypto/x509/
by_file.c 70 "Load file into cache",
91 char *file; local
98 file = (char *)getenv(X509_get_default_cert_file_env());
99 if (file)
100 ok = (X509_load_cert_crl_file(ctx,file,
125 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type)
132 if (file == NULL) return(1);
135 if ((in == NULL) || (BIO_read_filename(in,file) <= 0))
191 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type)
198 if (file == NULL) return(1)
    [all...]
  /external/chromium_org/third_party/freetype/src/base/
ftsystem.c 10 /* This file is part of the FreeType project, and may only be used, */
13 /* this file you indicate that you have read the license and */
20 /* This file contains the default interface used by FreeType to access */
206 FT_FILE* file; local
212 file = STREAM_FILE( stream );
215 ft_fseek( file, offset, SEEK_SET );
217 return (unsigned long)ft_fread( buffer, 1, count, file );
227 FT_FILE* file; local
240 file = ft_fopen( filepathname, "rb" );
241 if ( !file )
    [all...]
  /external/chromium_org/third_party/icu/source/samples/csdet/
csdet.c 27 FILE *file; local
38 file = fopen(filename, "rb");
40 if (file == NULL) {
41 printf("Cannot open file \"%s\"\n\n", filename);
47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
49 fclose(file);
  /external/chromium_org/third_party/icu/source/tools/toolutil/
pkg_icu.cpp 22 // read a file list -------------------------------------------------------- ***
35 /* check for multiple text file suffixes to see if this list name is a text file name */
52 * Read a file list.
53 * If the listname ends with ".txt", then read the list file
55 * If the listname ends with ".dat", then read the ICU .dat package file.
56 * Otherwise, read the file itself as a single-item list.
61 FILE *file; local
65 fprintf(stderr, "missing list file\n")
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/
video_reader.c 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
23 FILE *file; member in struct:VpxVideoReaderStruct
32 FILE *const file = fopen(filename, "rb"); local
33 if (!file)
34 return NULL; // Can't open file
36 if (fread(header, 1, 32, file) != 32
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
tgsi_scan.c 100 if (src->Register.File == TGSI_FILE_INPUT) {
114 src->Register.File == TGSI_FILE_INPUT &&
127 info->indirect_files |= (1 << src->Register.File);
135 info->indirect_files |= (1 << dst->Register.File);
147 const uint file = fulldecl->Declaration.File; local
154 info->file_mask[file] |= (1 << reg);
155 info->file_count[file]++;
156 info->file_max[file] = MAX2(info->file_max[file], (int)reg)
219 uint file = TGSI_FILE_IMMEDIATE; local
    [all...]
  /external/chromium_org/third_party/skia/experimental/LightSymbolsUtil/lightsymbols/
helper.h 5 FILE* file; member in class:SkFile
12 file = NULL;
21 if (file) {
22 fclose(file);
31 if (file == NULL) {
34 file = fopen(sz, "a");
35 if (file == NULL) {
38 fprintf(file, "\n\n\nNEW SESSION, just coliding ids ... should generate a new file ideally ... \n\n\n")
    [all...]
  /external/chromium_org/third_party/skia/tests/
DocumentTest.cpp 53 FILE* file = fopen(path.c_str(), "r"); local
54 // The created file should be empty.
56 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0);
57 fclose(file);
68 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf");
78 FILE* file = fopen(path.c_str(), "r"); local
79 REPORTER_ASSERT(reporter, file != NULL);
81 REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0)
    [all...]

Completed in 650 milliseconds

1 2 3 45 6 7 8 91011>>