Searched refs:fp (Results 1 - 25 of 730) sorted by relevance

1234567891011>>

/external/opencore/fileformats/mp4/parser/src/
H A Dh263decoderspecificinfo.cpp34 H263DecoderSpecificInfo::H263DecoderSpecificInfo(MP4_FF_FILE *fp, bool o3GPPTrack) argument
35 : DecoderSpecificInfo(fp, o3GPPTrack, false)
45 AtomUtils::read32(fp, _VendorCode);
47 AtomUtils::read8(fp, _codec_version);
49 AtomUtils::read8(fp, _codec_profile);
51 AtomUtils::read8(fp, _codec_level);
53 AtomUtils::read8(fp, tmp);
55 AtomUtils::read16(fp, _max_width);
57 AtomUtils::read16(fp, _max_height);
H A Des_id_inc.cpp37 ES_ID_Inc::ES_ID_Inc(MP4_FF_FILE *fp) argument
38 : BaseDescriptor(fp)
40 AtomUtils::read32(fp, _trackID);
H A Des_id_ref.cpp38 ES_ID_Ref::ES_ID_Ref(MP4_FF_FILE *fp) argument
39 : BaseDescriptor(fp)
41 AtomUtils::read16(fp, _trackIndex);
H A Ddataentryatom.cpp33 DataEntryAtom::DataEntryAtom(MP4_FF_FILE *fp) argument
34 : FullAtom(fp)
H A Dmediaheaderatom.cpp36 MediaHeaderAtom::MediaHeaderAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
37 : FullAtom(fp, size, type)
45 if (!AtomUtils::read64(fp, _creationTime64))
47 if (!AtomUtils::read64(fp, _modificationTime64))
49 if (!AtomUtils::read32(fp, _timeScale))
51 if (!AtomUtils::read64(fp, _duration64))
56 if (!AtomUtils::read32(fp, _creationTime))
58 if (!AtomUtils::read32(fp, _modificationTime))
60 if (!AtomUtils::read32(fp, _timeScale))
62 if (!AtomUtils::read32(fp, _duratio
[all...]
H A Davclayerdescriptionentry.cpp24 AVCLayerDescEntry::AVCLayerDescEntry(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
25 : VisualSampleEntry(fp, size, type)
30 if (!AtomUtils::read8(fp, _layerNumber))
34 if (!AtomUtils::read8(fp, _accurateStatisticsFlag))
39 if (!AtomUtils::read16(fp, _avgBitRate))
43 if (!AtomUtils::read16(fp, _avgFrameRate))
H A Dbasedescriptor.cpp34 BaseDescriptor::BaseDescriptor(MP4_FF_FILE *fp, bool o3GPPTrack) argument
35 : ExpandableBaseClass(fp, o3GPPTrack)
H A Davcsubseqdescriptionentry.cpp24 AVCSubSequenceEntry::AVCSubSequenceEntry(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
25 : Atom(fp, size, type)
29 if (!AtomUtils::read16(fp, _subSequenceIdentifier))
33 if (!AtomUtils::read8(fp, _layerNumber))
38 if (!AtomUtils::read8(fp, _reserved))
48 if (!AtomUtils::read32(fp, _duration))
55 if (!AtomUtils::read8(fp, _accurateStatisticsFlag))
59 if (!AtomUtils::read16(fp, _avgBitRate))
63 if (!AtomUtils::read16(fp, _avgFrameRate))
68 if (!AtomUtils::read8(fp, numReference
86 DependencyInfo(MP4_FF_FILE *fp) argument
[all...]
H A Dpaspatom.cpp30 PASPBox::PASPBox(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
31 : Atom(fp, size, type)
40 if (!AtomUtils::read32(fp, _hSpacing))
44 if (!AtomUtils::read32(fp, _vSpacing))
H A Dhintmediaheaderatom.cpp36 HintMediaHeaderAtom::HintMediaHeaderAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
37 : MediaInformationHeaderAtom(fp, size, type)
44 if (!AtomUtils::read16(fp, _maxPDUSize))
46 if (!AtomUtils::read16(fp, _avgPDUSize))
48 if (!AtomUtils::read32(fp, _maxBitrate))
50 if (!AtomUtils::read32(fp, _avgBitrate))
52 if (!AtomUtils::read32(fp, _slidingAvgBitrate))
H A Dtrackheaderatom.cpp36 TrackHeaderAtom::TrackHeaderAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
37 : FullAtom(fp, size, type)
51 if (!AtomUtils::read64(fp, _creationTime64))
53 if (!AtomUtils::read64(fp, _modificationTime64))
55 if (!AtomUtils::read32(fp, _trackID))
58 if (!AtomUtils::read32(fp, _reserved1))
61 if (!AtomUtils::read64(fp, _duration64))
66 if (!AtomUtils::read32(fp, _creationTime))
68 if (!AtomUtils::read32(fp, _modificationTime))
70 if (!AtomUtils::read32(fp, _trackI
[all...]
H A D3gpp_h263decoderspecificinfo.cpp34 H263SpecficAtom::H263SpecficAtom(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
35 : Atom(fp, size, type)
47 if (!AtomUtils::read32(fp, _VendorCode))
53 if (!AtomUtils::read8(fp, _decoder_version))
59 if (!AtomUtils::read8(fp, _codec_level))
65 if (!AtomUtils::read8(fp, _codec_profile))
71 uint32 isH263BitrAtom = AtomUtils::peekNextNthBytes(fp, 2);
78 AtomUtils::getNextAtomType(fp, atomSize, atomType);
79 if (!AtomUtils::read32(fp, _averageBitRate))
84 if (!AtomUtils::read32(fp, _maxBitRat
[all...]
H A Damrdecoderspecificinfo.cpp36 AMRDecoderSpecificInfo::AMRDecoderSpecificInfo(MP4_FF_FILE *fp, bool o3GPPTrack) argument
37 : DecoderSpecificInfo(fp, o3GPPTrack, false)
53 AtomUtils::read32(fp, _VendorCode);
55 AtomUtils::read8(fp, _codec_version);
57 AtomUtils::read8(fp, _frame_type);
59 AtomUtils::read16(fp, _mode_set);
63 AtomUtils::read8(fp, data);
72 AtomUtils::read8(fp, data);
73 AtomUtils::read8(fp, data);
74 AtomUtils::read8(fp, dat
[all...]
H A Dmediadataatom.cpp43 MediaDataAtom::MediaDataAtom(MP4_FF_FILE *fp, OSCL_wString& filename) argument
44 : Atom(fp)
55 filePointer = AtomUtils::getCurrentFilePosition(fp);
57 if ((filePointer + offset) == fp->_fileSize)
62 AtomUtils::seekFromStart(fp, (filePointer + offset));
H A Dmpeg4sampleentryextensions.cpp27 MPEG4BitRateBox::MPEG4BitRateBox(MP4_FF_FILE *fp, uint32 size, uint32 type) argument
28 : Atom(fp, size, type)
37 if (!AtomUtils::read32(fp, _bufferSizeDB))
41 if (!AtomUtils::read32(fp, _maxBitRate))
45 if (!AtomUtils::read32(fp, _avgBitRate))
/external/icu4c/tools/tzcode/
H A Dscheck.c22 register const char * fp; local
34 fp = format;
36 while ((*tp++ = c = *fp++) != '\0') {
39 if (*fp == '%') {
40 *tp++ = *fp++;
44 if (*fp == '*')
45 ++fp;
46 while (is_digit(*fp))
47 *tp++ = *fp++;
48 if (*fp
[all...]
/external/icu4c/test/testdata/
H A DNumberFormatTestCases.txt15 fp: "0.####" 0.10005 "0.1" 0.1
16 fp: - 0.10006 "0.1001" 0.1001
18 fp: "#.####" 0.10005 "0.1" 0.1
25 fp: "@@@" 1.234567 "1.23" 1.23
26 fp: - 1234567 "1230000" 1230000
27 fp: - 0.012345 "0.0123" 0.0123
29 fp: "#,@@@" 1234567 "1,230,000" 1230000
32 fp: - 0.99999 "1.000" 1
36 fp: - 123456 "123500" 123500
37 fp
[all...]
/external/opencore/fileformats/mp3/parser/include/
H A Dmp3fileio.h79 * @param fp Pointer to file to read from
83 static bool read64(PVFile *fp, uint64 &data);
88 * @param fp Pointer to file to read from
92 static bool read32(PVFile *fp, uint32 &data);
98 * @param fp Pointer to file to read from
103 static bool read32read32(PVFile *fp, uint32 &data1, uint32 &data2);
108 * @param fp Pointer to file to read from
112 static bool read24(PVFile *fp, uint32 &data);
117 * @param fp Pointer to file to read from
121 static bool read16(PVFile *fp, uint1
[all...]
/external/oprofile/libutil/
H A Dop_lockfile.c24 FILE * fp; local
27 fp = fopen(file, "r");
28 if (fp == NULL)
31 if (fscanf(fp, "%d", &value) != 1) {
32 fclose(fp);
36 fclose(fp);
44 FILE * fp; local
61 fp = fopen(file, "w");
62 if (!fp)
65 fprintf(fp, "
[all...]
H A Dop_fileio.h55 * @param fp file pointer
61 void op_close_file(FILE * fp);
65 * @param fp file pointer
72 void op_write_file(FILE * fp, void const * buf, size_t size);
76 * @param fp file pointer
84 void op_write_u32(FILE * fp, u32 val);
88 * @param fp file pointer
96 void op_write_u64(FILE * fp, u64 val);
100 * @param fp file pointer
106 void op_write_u8(FILE * fp, u
[all...]
/external/opencore/fileformats/mp3/parser/src/
H A Dmp3utils.cpp32 MP3Utils::getCurrentFilePosition(PVFile *fp) argument
34 return (fp->Tell());
39 MP3_FF_FILE *fp)
42 if (fp != NULL)
44 return (fp->_pvfile.Open(filename.get_cstr(),
46 (fp->_fileServSession)));
51 int32 MP3Utils::CloseFile(PVFile *fp) argument
53 if (fp != NULL)
55 return (fp->Close());
60 int32 MP3Utils::Flush(PVFile *fp) argument
37 OpenFile(OSCL_wHeapString<OsclMemAllocator> filename, uint32 mode, MP3_FF_FILE *fp) argument
69 getCurrentFileSize(PVFile *fp, uint32& aCurrentSize) argument
[all...]
/external/bison/lib/
H A Dfopen-safer.c39 FILE *fp = fopen (file, mode); local
41 if (fp)
43 int fd = fileno (fp);
52 fclose (fp);
57 if (fclose (fp) != 0
58 || ! (fp = fdopen (f, mode)))
68 return fp;
/external/opencore/fileformats/mp4/composer/src/
H A Dmovieheaderatom.cpp45 * last sample as well, which in our case fp same as the last but one.
94 // Need to verify that this fp in the movie timescale
95 // Currenly ts for the media samples fp in terms of milliseconds
111 PVA_FF_MovieHeaderAtom::renderToFileStream(MP4_AUTHOR_FF_FILE_IO_WRAP *fp) argument
116 if (!renderAtomBaseMembers(fp))
122 if (!PVA_FF_AtomUtils::render32(fp, getCreationTime()))
126 if (!PVA_FF_AtomUtils::render32(fp, getModificationTime()))
130 if (!PVA_FF_AtomUtils::render32(fp, getTimeScale()))
137 * last sample as well, which in our case fp same as the last but one.
141 if (!PVA_FF_AtomUtils::render32(fp, totalDuratio
[all...]
H A Datomutils.cpp33 PVA_FF_AtomUtils::render64(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint64 data) argument
35 if (fp != NULL)
41 if (fp->_filePtr->Write(&byte, 1, 1) != 1)
53 PVA_FF_AtomUtils::render32(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 data) argument
55 if (fp != NULL)
60 if (fp->_filePtr->Write(&byte, 1, 1) != 1)
72 PVA_FF_AtomUtils::render24(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 data) argument
74 if (fp != NULL)
79 if (fp->_filePtr->Write(&byte, 1, 1) != 1)
91 PVA_FF_AtomUtils::render16(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint1 argument
110 render8(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint8 data) argument
125 renderString(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, PVA_FF_UTF8_STRING_PARAM data) argument
145 renderUnicodeString(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, PVA_FF_UNICODE_STRING_PARAM data) argument
179 renderNullTerminatedString(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, PVA_FF_UTF8_STRING_PARAM data) argument
197 renderNullTerminatedUnicodeString(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, PVA_FF_UNICODE_STRING_PARAM data) argument
215 renderByteData(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 length, uint8 *data) argument
269 seekFromCurrPos(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 n) argument
274 seekFromStart(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 n) argument
279 seekToEnd(MP4_AUTHOR_FF_FILE_IO_WRAP *fp) argument
284 rewindFilePointerByN(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 n) argument
289 getCurrentFilePosition(MP4_AUTHOR_FF_FILE_IO_WRAP *fp) argument
295 openFile(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, PVA_FF_UNICODE_STRING_PARAM fileName, int32 mode, uint32 aCacheSize) argument
314 closeFile(MP4_AUTHOR_FF_FILE_IO_WRAP *fp) argument
330 readByteData(MP4_AUTHOR_FF_FILE_IO_WRAP *fp, uint32 length, uint8 *data) argument
[all...]
/external/opencore/fileformats/mp4/parser/utils/mp4recognizer/src/
H A Dpvmp4ffrec.cpp32 MP4_FF_FILE *fp = &fileStruct; local
34 fp->_fileServSession = fileServSession;
38 fp) != 0)
45 filePointer = AtomUtils::getCurrentFilePosition(fp);
46 AtomUtils::seekToEnd(fp);
47 fileSize = AtomUtils::getCurrentFilePosition(fp);
48 AtomUtils::seekFromStart(fp, filePointer);
49 fp->_fileSize = fileSize;
58 AtomUtils::getNextAtomType(fp, atomSize, atomType);
76 AtomUtils::seekFromCurrPos(fp, atomSiz
90 MP4_FF_FILE *fp = &fileStruct; local
146 MP4_FF_FILE *fp = &fileStruct; local
[all...]

Completed in 194 milliseconds

1234567891011>>