Searched defs:file (Results 76 - 100 of 1831) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/ots/src/
H A Dfpgm.cc3 // found in the LICENSE file.
12 bool ots_fpgm_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
16 file->fpgm = fpgm;
31 bool ots_fpgm_should_serialise(OpenTypeFile *file) { argument
32 if (!file->glyf) return false; // this table is not for CFF fonts.
33 return g_transcode_hints && file->fpgm;
36 bool ots_fpgm_serialise(OTSStream *out, OpenTypeFile *file) { argument
37 const OpenTypeFPGM *fpgm = file->fpgm;
46 void ots_fpgm_free(OpenTypeFile *file) { argument
47 delete file
[all...]
H A Dhhea.cc3 // found in the LICENSE file.
15 bool ots_hhea_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
18 file->hhea = hhea;
27 if (!ParseMetricsHeader(file, &table, &hhea->header)) {
34 bool ots_hhea_should_serialise(OpenTypeFile *file) { argument
35 return file->hhea != NULL;
38 bool ots_hhea_serialise(OTSStream *out, OpenTypeFile *file) { argument
39 if (!SerialiseMetricsHeader(out, &file->hhea->header)) {
45 void ots_hhea_free(OpenTypeFile *file) { argument
46 delete file
[all...]
H A Dhmtx.cc3 // found in the LICENSE file.
15 bool ots_hmtx_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
18 file->hmtx = hmtx;
20 if (!file->hhea || !file->maxp) {
24 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
25 &file->hhea->header, &hmtx->metrics)) {
32 bool ots_hmtx_should_serialise(OpenTypeFile *file) { argument
33 return file->hmtx != NULL;
36 bool ots_hmtx_serialise(OTSStream *out, OpenTypeFile *file) { argument
43 ots_hmtx_free(OpenTypeFile *file) argument
[all...]
H A Dos2.cc3 // found in the LICENSE file.
14 bool ots_os2_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
18 file->os2 = os2;
124 if (!file->head) {
128 !(file->head->mac_style & 0x2)) {
130 file->head->mac_style |= 0x2;
133 !(file->head->mac_style & 0x4)) {
135 file->head->mac_style |= 0x4;
141 (file->head->mac_style & 0x3)) {
143 file
214 ots_os2_should_serialise(OpenTypeFile *file) argument
218 ots_os2_serialise(OTSStream *out, OpenTypeFile *file) argument
286 ots_os2_free(OpenTypeFile *file) argument
[all...]
H A Dprep.cc3 // found in the LICENSE file.
12 bool ots_prep_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
16 file->prep = prep;
31 bool ots_prep_should_serialise(OpenTypeFile *file) { argument
32 if (!file->glyf) return false; // this table is not for CFF fonts.
33 return g_transcode_hints && file->prep;
36 bool ots_prep_serialise(OTSStream *out, OpenTypeFile *file) { argument
37 const OpenTypePREP *prep = file->prep;
46 void ots_prep_free(OpenTypeFile *file) { argument
47 delete file
[all...]
H A Dvhea.cc3 // found in the LICENSE file.
16 bool ots_vhea_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
19 file->vhea = vhea;
29 if (!ParseMetricsHeader(file, &table, &vhea->header)) {
36 bool ots_vhea_should_serialise(OpenTypeFile *file) { argument
40 return file->vhea != NULL && file->vmtx != NULL &&
41 ots_gsub_should_serialise(file);
44 bool ots_vhea_serialise(OTSStream *out, OpenTypeFile *file) { argument
45 if (!SerialiseMetricsHeader(out, &file
51 ots_vhea_free(OpenTypeFile *file) argument
[all...]
H A Dvmtx.cc3 // found in the LICENSE file.
16 bool ots_vmtx_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
19 file->vmtx = vmtx;
21 if (!file->vhea || !file->maxp) {
25 if (!ParseMetricsTable(&table, file->maxp->num_glyphs,
26 &file->vhea->header, &vmtx->metrics)) {
33 bool ots_vmtx_should_serialise(OpenTypeFile *file) { argument
36 return file->vmtx != NULL && file
40 ots_vmtx_serialise(OTSStream *out, OpenTypeFile *file) argument
47 ots_vmtx_free(OpenTypeFile *file) argument
[all...]
/external/chromium_org/third_party/ots/test/
H A Dtable_dependencies_test.cc3 // found in the LICENSE file.
14 do { file.name = new ots::OpenType##capname; } while (0)
17 if (!file.name) { \
20 file.name->data = reinterpret_cast<const uint8_t*>(1); \
21 file.name->length = 1; \
24 do { delete file.name; file.name = NULL; } while (0)
26 do { file.name->data = NULL; file.name->length = 0; } while (0)
43 ots::OpenTypeFile file; member in class:__anon14761::TableDependenciesTest
[all...]
/external/chromium_org/third_party/skia/bench/
H A DBenchLogger.cpp5 * found in the LICENSE file.
21 bool BenchLogger::SetLogFile(const char *file) { argument
22 fFileStream = SkNEW_ARGS(SkFILEWStream, (file));
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
H A Dbwe_test_fileutils.h5 * 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.
36 explicit ResourceFileReader(FILE* file) : file_(file) {} argument
51 explicit OutputFileWriter(FILE* file) : file_(file) {} argument
/external/chromium_org/ui/gfx/
H A Dfont_fallback_win_unittest.cc3 // found in the LICENSE file.
40 std::string file; local
43 internal::ParseFontLinkEntry("TAHOMA.TTF", &file, &font);
44 EXPECT_EQ("TAHOMA.TTF", file);
47 internal::ParseFontLinkEntry("MSGOTHIC.TTC,MS UI Gothic", &file, &font);
48 EXPECT_EQ("MSGOTHIC.TTC", file);
51 internal::ParseFontLinkEntry("MALGUN.TTF,128,96", &file, &font);
52 EXPECT_EQ("MALGUN.TTF", file);
55 internal::ParseFontLinkEntry("MEIRYO.TTC,Meiryo,128,85", &file, &font);
56 EXPECT_EQ("MEIRYO.TTC", file);
[all...]
/external/compiler-rt/test/tsan/
H A Duser_fopen.cc6 extern "C" FILE *__interceptor_fopen(const char *file, const char *mode);
9 extern "C" FILE *fopen(const char *file, const char *mode) { argument
13 return __interceptor_fopen(file, mode);
/external/deqp/execserver/
H A DxsDefs.cpp8 * you may not use this file except in compliance with the License.
20 * \file
31 static std::string formatError (const char* message, const char* expr, const char* file, int line) argument
37 msg << " at " << file << ":" << line;
41 Error::Error (const char* message, const char* expr, const char* file, int line) argument
42 : std::runtime_error(formatError(message, expr, file, line))
/external/deqp/executor/
H A DxeDefs.cpp8 * you may not use this file except in compliance with the License.
20 * \file
31 static std::string formatError (const char* message, const char* expr, const char* file, int line) argument
37 msg << " at " << file << ":" << line;
41 Error::Error (const char* message, const char* expr, const char* file, int line) argument
42 : std::runtime_error(formatError(message, expr, file, line))
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DFileUtils.java5 * you may not use this file except in compliance with the License.
35 * Reads the named file, translating {@link IOException} to a
38 * @param fileName {@code non-null;} name of the file to read
39 * @return {@code non-null;} contents of the file
42 File file = new File(fileName);
43 return readFile(file);
47 * Reads the given file, translating {@link IOException} to a
50 * @param file {@code non-null;} the file to read
51 * @return {@code non-null;} contents of the file
53 readFile(File file) argument
[all...]
/external/doclava/src/com/google/doclava/apicheck/
H A DApiParseException.java5 * you may not use this file except in compliance with the License.
20 public String file; field in class:ApiParseException
/external/elfutils/0.153/libdwfl/
H A Ddwfl_lineinfo.c3 This file is part of Red Hat elfutils.
25 those well defined interfaces identified in the file named EXCEPTION
36 covered by this exception. If you modify this file, you may extend this
37 exception to your version of the file, but you are not obligated to do
40 this file solely under the GPL without exception.
70 struct Dwarf_Fileinfo_s *file = &info->files->info[info->file]; local
72 *mtime = file->mtime;
74 *length = file->length;
75 return file
[all...]
/external/emma/ant/ant15/com/vladium/emma/ant/
H A DXFileSet.java19 * a single 'file' attribute
40 // 'file' attribute:
41 public void setFile (final File file) argument
45 super.setFile (file);
51 final File parent = file.getParentFile ();
55 include.setName (file.getName ());
/external/icu/icu4c/source/test/intltest/
H A Dtextfile.h18 * This class implements access to a text data file located in the
24 * Open a file with the given name, in the given encoding, in the
34 * this file's encoding to Unicode. The EOL character(s) are not
60 FileStream* file; member in class:TextFile
/external/icu/icu4c/source/tools/gentest/
H A Dgenres32.c8 * file name: genres32.c
53 char file[512]; local
56 uprv_strcpy(file,path);
57 if(file[strlen(file)-1]!=U_FILE_SEP_CHAR) {
58 uprv_strcat(file,U_FILE_SEP_STRING);
60 uprv_strcat(file,"testtable32.txt");
61 out = fopen(file, "w");
62 /*puts(file);*/
65 fprintf(stderr, "%s: Couldn't create resource test file
[all...]
/external/iproute2/include/
H A Ddlfcn.h13 static inline void *dlopen(const char *file, int flag) argument
15 if (file == NULL)
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DKeepAliveHttpsTransportSE.java29 private final String file; field in class:KeepAliveHttpsTransportSE
33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { argument
34 super(host, port, file, timeout);
37 this.file = file;
52 file, timeout);
/external/libmtp/examples/
H A Dfiles.c2 * \file files.c
26 static void dump_fileinfo(LIBMTP_file_t *file) argument
28 printf("File ID: %u\n", file->item_id);
29 if (file->filename != NULL)
30 printf(" Filename: %s\n", file->filename);
33 if (file->filesize == (uint32_t) -1) {
34 printf(" None. (abstract file, size = -1)\n");
37 printf(" File size %llu (0x%016I64X) bytes\n", file->filesize, file->filesize);
40 (long long unsigned int) file
105 LIBMTP_file_t *file, *tmp; local
[all...]
H A Dgetfile.c2 * \file getfile.c
3 * Example program to retrieve a file off the device.
48 printf("\nError getting file from MTP device.\n");
60 char *file; local
62 // We need file ID and filename
74 fprintf(stderr, "bad file/track id %u\n", id);
79 file = argv[2];
80 printf("Getting file/track %d to local file %s\n", id, file);
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c2 * This file was generated automatically by ExtUtils::ParseXS version 2.18_02 from the
3 * contents of Context.xs. Do not edit this file, edit Context.xs instead.
122 const char* file = __FILE__; local
128 newXSproto("Perf::Trace::Context::common_pc", XS_Perf__Trace__Context_common_pc, file, "$");
129 newXSproto("Perf::Trace::Context::common_flags", XS_Perf__Trace__Context_common_flags, file, "$");
130 newXSproto("Perf::Trace::Context::common_lock_depth", XS_Perf__Trace__Context_common_lock_depth, file, "$");

Completed in 3423 milliseconds

1234567891011>>