Home
last modified time | relevance | path

Searched refs:FromFileDescriptor (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/
Dtextclassifier_jni.cc329 TextClassifier::FromFileDescriptor(fd).release(), new UniLib(env)); in JNI_METHOD()
332 TextClassifier::FromFileDescriptor(fd).release()); in JNI_METHOD()
352 TextClassifier::FromFileDescriptor(fd, offset, size, new UniLib(env)) in JNI_METHOD()
356 TextClassifier::FromFileDescriptor(fd, offset, size).release()); in JNI_METHOD()
Dtext-classifier.h116 static std::unique_ptr<TextClassifier> FromFileDescriptor(
118 static std::unique_ptr<TextClassifier> FromFileDescriptor(
Dtext-classifier.cc113 std::unique_ptr<TextClassifier> TextClassifier::FromFileDescriptor( in FromFileDescriptor() function in libtextclassifier2::TextClassifier
119 std::unique_ptr<TextClassifier> TextClassifier::FromFileDescriptor( in FromFileDescriptor() function in libtextclassifier2::TextClassifier
/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc928 FileStream::FromFileDescriptor(STDIN_FILENO, false, nullptr); in TEST_F()
938 FileStream::FromFileDescriptor(STDOUT_FILENO, false, nullptr); in TEST_F()
948 FileStream::FromFileDescriptor(STDERR_FILENO, false, nullptr); in TEST_F()
960 StreamPtr stream = FileStream::FromFileDescriptor(fds[0], true, nullptr); in TEST_F()
999 StreamPtr stream = FileStream::FromFileDescriptor(fds[1], true, nullptr); in TEST_F()
1065 StreamPtr stream = FileStream::FromFileDescriptor(fds[0], true, nullptr); in TEST_F()
1123 StreamPtr stream = FileStream::FromFileDescriptor(fds[1], true, nullptr); in TEST_F()
Dfile_stream.h91 static StreamPtr FromFileDescriptor(int file_descriptor,
Dfile_stream.cc281 stream = FromFileDescriptor(fd, true, error); in CreateTemporary()
287 StreamPtr FileStream::FromFileDescriptor(int file_descriptor, in FromFileDescriptor() function in brillo::FileStream