Home | History | Annotate | Download | only in ports

Lines Matching full:stream

28 bool find_name_and_attributes(SkStream* stream, SkString* name,
283 SkStream* stream, bool isFixedPitch)
285 stream->ref();
286 fStream = stream;
340 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path));
341 if (stream.get()) {
342 return find_name_and_attributes(stream, name, style, isFixedPitch);
498 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream* stream) {
499 if (NULL == stream || stream->getLength() <= 0) {
500 SkDELETE(stream);
506 if (find_name_and_attributes(stream, NULL, &style, &isFixedPitch)) {
507 return SkNEW_ARGS(StreamTypeface, (style, false, NULL, stream, isFixedPitch));
514 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path));
515 return stream.get() ? CreateTypefaceFromStream(stream) : NULL;