Home
last modified time | relevance | path

Searched refs:fileDescriptor (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc/src/csharp/Grpc.Reflection/
DSymbolRegistry.cs86 internal void AddFile(FileDescriptor fileDescriptor) in AddFile() argument
88 if (filesByName.ContainsKey(fileDescriptor.Name)) in AddFile()
92 filesByName.Add(fileDescriptor.Name, fileDescriptor); in AddFile()
94 foreach (var dependency in fileDescriptor.Dependencies) in AddFile()
98 foreach (var enumeration in fileDescriptor.EnumTypes) in AddFile()
102 foreach (var message in fileDescriptor.MessageTypes) in AddFile()
106 foreach (var service in fileDescriptor.Services) in AddFile()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DImageVideoWrapper.java12 private final ParcelFileDescriptor fileDescriptor; field in ImageVideoWrapper
14 public ImageVideoWrapper(InputStream streamData, ParcelFileDescriptor fileDescriptor) { in ImageVideoWrapper() argument
16 this.fileDescriptor = fileDescriptor; in ImageVideoWrapper()
24 return fileDescriptor; in getFileDescriptor()
DImageVideoModelLoader.java80 ParcelFileDescriptor fileDescriptor = null; in loadData() local
83 fileDescriptor = fileDescriptorFetcher.loadData(priority); in loadData()
93 return new ImageVideoWrapper(is, fileDescriptor); in loadData()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs149 internal void AddFile(FileDescriptor fileDescriptor) in AddFile() argument
151 if (!fileDescriptorNames.Add(fileDescriptor.Name)) in AddFile()
155 foreach (var dependency in fileDescriptor.Dependencies) in AddFile()
159 foreach (var message in fileDescriptor.MessageTypes) in AddFile()
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/
DSmartReplyClient.java93 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(MODEL_PATH); in loadModelFile() argument
94 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor())) { in loadModelFile()
96 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
97 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
/external/libtextclassifier/java/com/google/android/textclassifier/
DActionsSuggestionsModel.java40 public ActionsSuggestionsModel(int fileDescriptor, byte[] serializedPreconditions) { in ActionsSuggestionsModel() argument
41 actionsModelPtr = nativeNewActionsModel(fileDescriptor, serializedPreconditions); in ActionsSuggestionsModel()
47 public ActionsSuggestionsModel(int fileDescriptor) { in ActionsSuggestionsModel() argument
48 this(fileDescriptor, /* serializedPreconditions= */ null); in ActionsSuggestionsModel()
DAnnotatorModel.java74 public AnnotatorModel(int fileDescriptor) { in AnnotatorModel() argument
75 annotatorPtr = nativeNewAnnotator(fileDescriptor); in AnnotatorModel()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageVideoBitmapDecoder.java48 ParcelFileDescriptor fileDescriptor = source.getFileDescriptor(); in decode() local
49 if (fileDescriptor != null) { in decode()
50 result = fileDescriptorDecoder.decode(fileDescriptor, width, height); in decode()
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp115 int JNU_GetFdFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in JNU_GetFdFromFileDescriptor() argument
118 return env->GetIntField(fileDescriptor, descriptor); in JNU_GetFdFromFileDescriptor()
180 JNIEnv* env, jclass clazz, jobject fileDescriptor, jint row, jint col, jint xpixel, in Java_com_googlecode_android_1scripting_Exec_setPtyWindowSize() argument
183 int fd = JNU_GetFdFromFileDescriptor(env, fileDescriptor); in Java_com_googlecode_android_1scripting_Exec_setPtyWindowSize()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DTFLiteImageClassifier.java68 AssetFileDescriptor fileDescriptor = assets.openFd(modelFilename); in loadModelFile() local
69 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadModelFile()
71 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
72 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
DTFLiteObjectDetectionAPIModel.java81 AssetFileDescriptor fileDescriptor = assets.openFd(modelFilename); in loadModelFile() local
82 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadModelFile()
84 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
85 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
DSpeechActivity.java108 AssetFileDescriptor fileDescriptor = assets.openFd(modelFilename); in loadModelFile() local
109 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadModelFile()
111 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
112 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
/external/conscrypt/common/src/jni/main/include/conscrypt/
DNetFd.h27 NetFd(JNIEnv* env, jobject fileDescriptor) in NetFd() argument
28 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1) {} in NetFd()
Djniutil.h131 extern int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor);
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java101 AssetFileDescriptor fileDescriptor = am.openFd(modelPath); in initializeTest() local
102 FileInputStream modelInputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in initializeTest()
104 long startOffset = fileDescriptor.getStartOffset(); in initializeTest()
105 long declaredLength = fileDescriptor.getDeclaredLength(); in initializeTest()
/external/grpc-grpc-java/services/src/main/java/io/grpc/protobuf/services/
DProtoReflectionService.java108 FileDescriptor fileDescriptor = in updateIndexIfNecessary() local
111 serverFileDescriptors.add(fileDescriptor); in updateIndexIfNecessary()
416 FileDescriptor fileDescriptor = in FileDescriptorIndex() local
422 serviceFileDescriptors.add(fileDescriptor); in FileDescriptorIndex()
424 if (!seenFiles.contains(fileDescriptor.getName())) { in FileDescriptorIndex()
425 seenFiles.add(fileDescriptor.getName()); in FileDescriptorIndex()
426 fileDescriptorsToProcess.add(fileDescriptor); in FileDescriptorIndex()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java217 AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(getModelPath()); in loadModelFile() local
218 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadModelFile()
220 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
221 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java125 final Descriptors.FileDescriptor fileDescriptor = Descriptors.FileDescriptor.buildFrom( in buildFileDescriptor() local
128 for (Descriptors.EnumDescriptor enumDescriptor : fileDescriptor.getEnumTypes()) { in buildFileDescriptor()
137 for (Descriptors.Descriptor descriptor : fileDescriptor.getMessageTypes()) { in buildFileDescriptor()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java68 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in writeRingBufferData() local
69 mOutputStream = new FileOutputStream(fileDescriptor); in writeRingBufferData()
DLoopbackActivity.java2019 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveScreenShot() local
2020 outputStream = new FileOutputStream(fileDescriptor); in saveScreenShot()
2083 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveImage() local
2084 outputStream = new FileOutputStream(fileDescriptor); in saveImage()
2118 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveBufferPeriod() local
2119 outputStream = new FileOutputStream(fileDescriptor); in saveBufferPeriod()
2158 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveTextToFile() local
2159 outputStream = new FileOutputStream(fileDescriptor); in saveTextToFile()
2359 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveGlitchOccurrences() local
2360 outputStream = new FileOutputStream(fileDescriptor); in saveGlitchOccurrences()
/external/tensorflow/tensorflow/lite/g3doc/models/image_classification/
Dandroid.md136 AssetFileDescriptor fileDescriptor = assets.openFd(modelFilename);
138 FileInputStream(fileDescriptor.getFileDescriptor()); FileChannel fileChannel =
139 inputStream.getChannel(); long startOffset = fileDescriptor.getStartOffset();
140 long declaredLength = fileDescriptor.getDeclaredLength(); return
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc100 int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() argument
107 if (fileDescriptor != nullptr) { in jniGetFDFromFileDescriptor()
108 return env->GetIntField(fileDescriptor, fid); in jniGetFDFromFileDescriptor()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTestBadIdentifiers.java51 Descriptors.FileDescriptor fileDescriptor = in testGetDescriptor() local
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dproperties.go539 func RegisterFile(filename string, fileDescriptor []byte) {
540 protoFiles[filename] = fileDescriptor
/external/golang-protobuf/proto/
Dproperties.go540 func RegisterFile(filename string, fileDescriptor []byte) {
541 protoFiles[filename] = fileDescriptor

12