Home
last modified time | relevance | path

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

/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/experimental/support/java/src/java/org/tensorflow/lite/support/common/
DFileUtil.java88 AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath); in loadMappedFile() local
89 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadMappedFile()
91 long startOffset = fileDescriptor.getStartOffset(); in loadMappedFile()
92 long declaredLength = fileDescriptor.getDeclaredLength(); in loadMappedFile()
/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/libtextclassifier/jni/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.java80 public AnnotatorModel(int fileDescriptor) { in AnnotatorModel() argument
81 annotatorPtr = nativeNewAnnotator(fileDescriptor); in AnnotatorModel()
/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/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/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/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java226 AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(getModelPath()); in loadModelFile() local
227 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadModelFile()
229 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
230 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
/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/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestBadIdentifiers.java52 Descriptors.FileDescriptor fileDescriptor = in testGetDescriptor() local
/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java150 ParcelFileDescriptor fileDescriptor = openPipeHelper(uri, null, null, null, this); in openAssetFile() local
151 return new AssetFileDescriptor(fileDescriptor, 0, C.LENGTH_UNSET); in openAssetFile()
/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/golang-protobuf/proto/
Dproperties.go539 func RegisterFile(filename string, fileDescriptor []byte) {
540 protoFiles[filename] = fileDescriptor
/external/golang-protobuf/protoc-gen-go/
Dgolden_test.go117 var fdescRE = regexp.MustCompile(`(?ms)^var fileDescriptor.*}`)
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java103 FileDescriptor fileDescriptor, Source source) { in ImageDecoder_nCreateFd() argument
/external/protobuf/objectivec/
DGPBMessage.m827 static GPBFileDescriptor *fileDescriptor = NULL;
831 fileDescriptor =
837 file:fileDescriptor