Searched refs:stream (Results 201 - 225 of 2435) sorted by last modified time

1234567891011>>

/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp47 bool SkCLImageDiffer::loadKernelStream(SkStream* stream, const char name[], cl_kernel* kernel) { argument
50 sourceString.resize(stream->getLength());
51 size_t bytesRead = stream->read(sourceString.writable_str(), sourceString.size());
H A DSkCLImageDiffer.h57 * Loads an OpenCL kernel from the stream with the given named entry point. This only works
59 * @param stream The stream that contains the kernel
60 * @param name The name of the entry point of the desired kernel in the stream
64 bool loadKernelStream(SkStream* stream, const char name[], cl_kernel* kernel);
H A DSkDiffContext.cpp223 void SkDiffContext::outputRecords(SkWStream& stream, bool useJSONP) { argument
228 stream.writeText("var SkPDiffRecords = {\n");
230 stream.writeText("{\n");
232 stream.writeText(" \"records\": [\n");
234 stream.writeText(" {\n");
240 stream.writeText(" \"commonName\": \"");
241 stream.writeText(currentRecord->fCommonName.c_str());
242 stream.writeText("\",\n");
244 stream.writeText(" \"differencePath\": \"");
245 stream
301 outputCsv(SkWStream& stream) argument
[all...]
H A DSkDiffContext.h102 * @param stream The stream to output the diff to
105 void outputRecords(SkWStream& stream, bool useJSONP);
110 void outputCsv(SkWStream& stream);
H A Dgenerate_pmetric_tables.py69 def generate_cube_root_table(stream):
70 print('static float gCubeRootTable[] = {', end='', file=stream)
73 print('\n ', end='', file=stream)
74 print("%.10f" % pow(i / 1024.0, 1.0 / 3.0), end='f,', file=stream)
75 print('\n};', end='', file=stream)
76 print(CUBE_ROOT_ACCESS_FUNCTION, file=stream)
85 def generate_gamma_table(stream):
86 print('static float gGammaTable[] = {', end='', file=stream)
89 print('\n ', end='', file=stream)
90 print("%.10f" % pow(i / 255.0, 2.2), end='f,', file=stream)
[all...]
/external/skia/tools/
H A Dskpinfo.cpp44 SkFILEStream stream(FLAGS_input[0]);
45 if (!stream.isValid()) {
52 size_t totStreamSize = stream.getLength();
55 if (!SkPicture::InternalOnly_StreamIsSKP(&stream, &info)) {
72 if (!stream.readBool()) {
80 uint32_t tag = stream.readU32();
85 uint32_t chunkSize = stream.readU32();
86 size_t curPos = stream.getPosition();
147 if (!stream.move(chunkSize)) {
H A Dskpmaker.cpp41 SkFILEWStream stream(writePath);
42 pict->serialize(&stream);
/external/smack/asmack-master/lib/
H A Dxpp3-1.1.4c.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META-INF/services/org. ...
/external/smack/src/org/jivesoftware/smack/
H A DPacketWriter.java163 // Open the stream.
192 // Close the stream.
194 writer.write("</stream:stream>");
224 * Sends to the server a new stream element. This operation may be requested several times
231 StringBuilder stream = new StringBuilder();
232 stream.append("<stream:stream");
233 stream
[all...]
/external/smack/src/org/jivesoftware/smackx/filetransfer/
H A DFaultTolerantNegotiator.java39 * The fault tolerant negotiator takes two stream negotiators, the primary and the secondary
40 * negotiator. If the primary negotiator fails during the stream negotiaton process, the second
68 "stream method.");
86 InputStream stream = null;
93 while (stream == null && i < futures.size()) {
108 stream = future.get();
125 if (stream == null) {
134 return stream;
143 OutputStream stream;
145 stream
[all...]
H A DFileTransfer.java215 // write to the output stream
219 throw new XMPPException("error writing to output stream", e);
224 // read more bytes from the input stream
228 throw new XMPPException("error reading from input stream", e);
263 * request. If they accept, then the process of stream negotiation will
277 * The stream to transfer the file is being negotiated over the chosen
278 * stream type. After the stream negotiating process is complete the
286 * After the stream negotiation has completed the intermediate state
321 * Return the length of bytes written out to the stream
358 stream("An error occured while sending or recieving the file."); enum constant in enum:FileTransfer.Error
[all...]
H A DIncomingFileTransfer.java36 * {@link #recieveFile()} method. This method, negotiates the appropriate stream
60 * Negotiates the stream method to transfer the file over and then returns
61 * the negotiated stream.
84 * This method negotitates the stream and then transfer's the file over the
85 * negotiated stream. The transfered file will be saved at the provided
139 setError(Error.stream);
H A DOutgoingFileTransfer.java75 protected void setOutputStream(OutputStream stream) { argument
77 this.outputStream = stream;
82 * Returns the output stream connected to the peer to transfer the file. It
86 * @return Returns the output stream connected to the peer to transfer the
98 * This method handles the negotiation of the file transfer and the stream,
99 * it only returns the created stream after the negotiation has been completed.
133 * This methods handles the transfer and stream negotiation process. It
188 * This method handles the stream negotiation process and transmits the file
261 * This method handles the stream negotiation process and transmits the file
271 * @param in the stream t
446 outputStreamEstablished(OutputStream stream) argument
[all...]
H A DSocks5TransferNegotiator.java107 // test input stream
109 PushbackInputStream stream = new PushbackInputStream(session.getInputStream());
110 int firstByte = stream.read();
111 stream.unread(firstByte);
112 return stream;
115 throw new XMPPException("Error establishing input stream", e);
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_miditypes.h7 * Contains declarations for the MIDI stream parser.
40 * Maintains parser state for the MIDI stream parser
72 * This structure contains data required to parse an SMF stream. For SMF0 files, there
74 * one for each separate stream in the file.
82 EAS_U32 ticks; /* time of next event in stream */
84 S_MIDI_STREAM midiStream; /* MIDI stream state */
91 * This structure contains the instance data required to parse an SMF stream.
102 S_SMF_STREAM *nextStream; /* pointer to next stream with event */
134 S_MIDI_STREAM stream; /* stream dat member in struct:s_interactive_midi_tag
[all...]
H A Deas_public.c89 * Sets the specified parameter in the stream. Allows access to
93 * pStream - stream handle
111 * Sets the specified parameter in the stream. Allows access to
115 * pStream - stream handle
165 /* try to set the parameter using stream interface */
271 * Allocates a stream handle
283 /* check for static allocation, only one stream allowed */
310 * Initialize a stream
560 * Private interface for JET to open an SMF stream with an offset
570 /* allocate a stream */
[all...]
/external/skia/bench/
H A DResultsWriter.h135 SkFILEWStream stream(fFilename.c_str());
136 stream.writeText(Json::FastWriter().write(fRoot).c_str());
137 stream.flush();
H A Dbenchmain.cpp111 SkFILEWStream stream(path.c_str());
112 stream.write(data->data(), data->size());
/external/skia/debugger/QT/
H A DSkDebuggerGUI.cpp163 static SkTimedPicturePlayback* CreateFromStream(SkStream* stream, const SkPictInfo& info, argument
169 if (!playback->parseStream(stream, proc)) {
265 static SkTimedPicture* CreateTimedPicture(SkStream* stream, argument
269 if (!InternalOnly_StreamIsSKP(stream, &info)) {
274 if (stream->readBool()) {
276 stream,
962 SkStream* stream = SkNEW_ARGS(SkFILEStream, (fileName.c_str())); local
964 SkPicture* picture = SkPicture::CreateFromStream(stream);
968 SkSafeUnref(stream);
980 SkSafeUnref(stream);
[all...]
/external/skia/dm/
H A DDM.cpp178 SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path.c_str()));
179 if (stream.get() == NULL) {
183 SkAutoTUnref<SkPicture> pic(SkPicture::CreateFromStream(stream.get()));
H A DDMWriteTask.cpp63 SkFILEWStream stream(path);
64 if (!stream.isValid()) {
70 if (!SkImageEncoder::EncodeStream(&stream, bitmap, SkImageEncoder::kPNG_Type, 100)) {
80 const size_t pos = stream.bytesWritten();
81 stream.write(&maxPadding, SkAlign4(pos) - pos);
85 return stream.write(bitmap.getPixels(), bitmap.getSize());
120 SkFILEWStream stream(path);
121 if (!stream.isValid() || !stream.write(data->data(), data->size())) {
/external/skia/experimental/Intersection/
H A DEdgeWalker_TestUtility.cpp406 SkMemoryWStream stream(temp, sizeof(temp));
414 outputToStream(state, pathStr, pathPrefix, nameSuffix, testFunction, stream);
/external/skia/experimental/Networking/
H A DSkSockets.cpp96 SkDynamicMemoryWStream stream; local
147 stream.write(packet + HEADER_SIZE, h.bytes);
160 SkData* data = stream.copyToData();
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.cpp332 SkPdfToUnicode::SkPdfToUnicode(SkPdfNativeDoc* parsed, SkPdfStream* stream) { argument
336 if (stream) {
339 SkPdfNativeTokenizer tokenizer(stream, parsed->allocator(), parsed);
H A DSkPdfFont.h93 SkPdfToUnicode(SkPdfNativeDoc* parsed, SkPdfStream* stream);

Completed in 240 milliseconds

1234567891011>>