Searched defs:file (Results 176 - 200 of 1831) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvideo_writer.c5 * 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.
19 FILE *file; member in struct:VpxVideoWriterStruct
23 static void write_header(FILE *file, const VpxVideoInfo *info, argument
31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count);
39 FILE *const file = fopen(filename, "wb"); local
40 if (!file)
49 writer->file = file;
[all...]
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest-typed-test.cc52 const char* file, int line, const char* registered_tests) {
98 fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(),
51 VerifyRegisteredTestNames( const char* file, int line, const char* registered_tests) argument
/external/chromium_org/third_party/ots/src/
H A Dgasp.cc3 // found in the LICENSE file.
11 do { delete file->gasp; file->gasp = 0; } while (0)
15 bool ots_gasp_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
19 file->gasp = gasp;
80 bool ots_gasp_should_serialise(OpenTypeFile *file) { argument
81 return file->gasp != NULL;
84 bool ots_gasp_serialise(OTSStream *out, OpenTypeFile *file) { argument
85 const OpenTypeGASP *gasp = file->gasp;
102 void ots_gasp_free(OpenTypeFile *file) { argument
[all...]
H A Dhdmx.cc3 // found in the LICENSE file.
13 do { delete file->hdmx; file->hdmx = 0; } while (0)
17 bool ots_hdmx_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
19 file->hdmx = new OpenTypeHDMX;
20 OpenTypeHDMX * const hdmx = file->hdmx;
22 if (!file->head || !file->maxp) {
26 if ((file->head->flags & 0x14) == 0) {
50 const int32_t actual_size_device_record = file
99 ots_hdmx_should_serialise(OpenTypeFile *file) argument
105 ots_hdmx_serialise(OTSStream *out, OpenTypeFile *file) argument
130 ots_hdmx_free(OpenTypeFile *file) argument
[all...]
H A Dhead.cc3 // found in the LICENSE file.
14 bool ots_head_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
16 file->head = new OpenTypeHEAD;
20 !table.ReadU32(&file->head->revision)) {
39 if (!table.ReadU16(&file->head->flags)) {
44 file->head->flags &= 0x381f;
46 if (!table.ReadU16(&file->head->ppem)) {
51 if (file->head->ppem < 16 ||
52 file->head->ppem > 16384) {
60 if ((file
117 ots_head_should_serialise(OpenTypeFile *file) argument
121 ots_head_serialise(OTSStream *out, OpenTypeFile *file) argument
145 ots_head_free(OpenTypeFile *file) argument
[all...]
H A Dloca.cc3 // found in the LICENSE file.
15 bool ots_loca_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
22 file->loca = loca;
24 if (!file->maxp || !file->head) {
28 const unsigned num_glyphs = file->maxp->num_glyphs;
33 if (file->head->index_to_loc_format == 0) {
65 bool ots_loca_should_serialise(OpenTypeFile *file) { argument
66 return file->loca != NULL;
69 bool ots_loca_serialise(OTSStream *out, OpenTypeFile *file) { argument
94 ots_loca_free(OpenTypeFile *file) argument
[all...]
H A Dltsh.cc3 // found in the LICENSE file.
13 do { delete file->ltsh; file->ltsh = 0; } while (0)
17 bool ots_ltsh_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
20 if (!file->maxp) {
25 file->ltsh = ltsh;
39 if (num_glyphs != file->maxp->num_glyphs) {
57 bool ots_ltsh_should_serialise(OpenTypeFile *file) { argument
58 if (!file->glyf) return false; // this table is not for CFF fonts.
59 return file
62 ots_ltsh_serialise(OTSStream *out, OpenTypeFile *file) argument
78 ots_ltsh_free(OpenTypeFile *file) argument
[all...]
H A Dmaxp.cc3 // found in the LICENSE file.
12 bool ots_maxp_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
16 file->maxp = maxp;
73 bool ots_maxp_should_serialise(OpenTypeFile *file) { argument
74 return file->maxp != NULL;
77 bool ots_maxp_serialise(OTSStream *out, OpenTypeFile *file) { argument
78 const OpenTypeMAXP *maxp = file->maxp;
124 void ots_maxp_free(OpenTypeFile *file) { argument
125 delete file->maxp;
H A Dmetrics.cc3 // found in the LICENSE file.
16 bool ParseMetricsHeader(OpenTypeFile *file, Buffer *table, argument
40 if (!file->head) {
45 if (!(file->head->mac_style & 2) &&
68 if (!file->maxp) {
72 if (header->num_metrics > file->maxp->num_glyphs) {
H A Dvdmx.cc3 // found in the LICENSE file.
11 do { delete file->vdmx; file->vdmx = 0; } while (0)
15 bool ots_vdmx_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
17 file->vdmx = new OpenTypeVDMX;
18 OpenTypeVDMX * const vdmx = file->vdmx;
123 bool ots_vdmx_should_serialise(OpenTypeFile *file) { argument
124 if (!file->glyf) return false; // this table is not for CFF fonts.
125 return file->vdmx != NULL;
128 bool ots_vdmx_serialise(OTSStream *out, OpenTypeFile *file) { argument
173 ots_vdmx_free(OpenTypeFile *file) argument
[all...]
H A Dvorg.cc3 // found in the LICENSE file.
13 do { delete file->vorg; file->vorg = 0; } while (0)
17 bool ots_vorg_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
19 file->vorg = new OpenTypeVORG;
20 OpenTypeVORG * const vorg = file->vorg;
67 bool ots_vorg_should_serialise(OpenTypeFile *file) { argument
68 if (!file->cff) return false; // this table is not for fonts with TT glyphs.
69 return file->vorg != NULL;
72 bool ots_vorg_serialise(OTSStream *out, OpenTypeFile *file) { argument
93 ots_vorg_free(OpenTypeFile *file) argument
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_generator.cc54 bool CppGenerator::Generate(const FileDescriptor* file, argument
97 string basename = StripProto(file->name());
100 FileGenerator file_generator(file, file_options);
110 // Generate cc file.
H A Dcpp_helpers.h109 // Convert a file name into a valid identifier.
112 // Return the name of the AddDescriptors() function for a given file.
115 // Return the name of the AssignDescriptors() function for a given file.
118 // Return the name of the ShutdownFile() function for a given file.
124 // Do message classes in this file keep track of unknown fields?
125 inline bool HasUnknownFields(const FileDescriptor* file) { argument
126 return file->options().optimize_for() != FileOptions::LITE_RUNTIME ||
127 file->options().retain_unknown_fields();
130 // Does this file have any enum type definitions?
131 bool HasEnumDefinitions(const FileDescriptor* file);
135 HasGeneratedMethods(const FileDescriptor* file) argument
140 HasDescriptorMethods(const FileDescriptor* file) argument
145 HasGenericServices(const FileDescriptor* file) argument
152 HasUtf8Verification(const FileDescriptor* file) argument
159 HasFastArraySerialization(const FileDescriptor* file) argument
[all...]
/external/chromium_org/third_party/skia/experimental/LightSymbolsUtil/lightsymbols/
H A Dhelper.h5 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");
47 fprintf(file, "
[all...]
/external/chromium_org/third_party/skia/platform_tools/android/launcher/
H A Dskia_launcher.cpp5 * found in the LICENSE file.
18 FILE* file = fopen(fileName, "r"); local
19 if (file) {
20 fclose(file);
/external/chromium_org/third_party/skia/src/images/
H A DSkImageEncoder.cpp5 * found in the LICENSE file.
21 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, argument
24 SkFILEWStream stream(file);
37 bool SkImageEncoder::EncodeFile(const char file[], const SkBitmap& bm, Type t, argument
40 return enc.get() && enc.get()->encodeFile(file, bm, quality);
/external/chromium_org/third_party/skia/tests/
H A DDocumentTest.cpp53 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);
83 fclose(file);
/external/chromium_org/third_party/skia/tools/lua/
H A Dlua_app.cpp5 * found in the LICENSE file.
20 static SkData* read_into_data(const char file[]) { argument
21 SkData* data = SkData::NewFromFileName(file);
/external/chromium_org/third_party/webrtc/base/
H A Dcommon.cc5 * 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.
54 void LogAssert(const char* function, const char* file, int line, argument
57 custom_assert_logger_(function, file, line, expression);
59 LOG(LS_ERROR) << file << "(" << line << ")" << ": ASSERT FAILED: "
H A Dfilelock.cc5 * 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.
20 FileLock::FileLock(const std::string& path, FileStream* file) argument
21 : path_(path), file_(file) {
55 // file or we failed to lock it. Anyway remove the heap
H A Dposix.cc5 * 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.
45 bool RunAsDaemon(const char *file, const char *const argv[]) { argument
84 execvp(file, const_cast<char *const *>(argv));
H A Dunittest_main.cc5 * 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.
31 const wchar_t* file,
35 LOG(LS_ERROR) << expression << std::endl << function << std::endl << file
29 TestInvalidParameterHandler(const wchar_t* expression, const wchar_t* function, const wchar_t* file, unsigned int line, uintptr_t pReserved) argument
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dlogging.cc5 * 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.
35 const char* DescribeFile(const char* file) { argument
36 const char* end1 = ::strrchr(file, '/');
37 const char* end2 = ::strrchr(file, '\\');
39 return file;
46 LogMessage::LogMessage(const char* file, int line, LoggingSeverity sev) argument
48 print_stream_ << "(" << DescribeFile(file) << ":" << line << "): ";
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/
H A Dvoe_cpu_test.cc5 * 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.
49 VoEFile* file = _mgr.FilePtr(); local
79 CHECK(file->StartPlayingFileAsMicrophone(channel, _mgr.AudioFilename(),
/external/chromium_org/tools/gn/
H A Dimport_manager.cc3 // found in the LICENSE file.
17 const SourceFile& file,
21 node_for_err->GetRange(), settings->build_settings(), file, err);
28 scope->set_source_dir(file.GetDir());
31 // These will be relative to the imported file, which is probably not what
53 bool ImportManager::DoImport(const SourceFile& file, argument
62 ImportMap::const_iterator found = imports_.find(file);
68 // Do a new import of the file.
69 imported_scope = UncachedImport(scope->settings(), file,
74 // We loaded the file outsid
16 UncachedImport(const Settings* settings, const SourceFile& file, const ParseNode* node_for_err, Err* err) argument
[all...]

Completed in 868 milliseconds

1234567891011>>