Home
last modified time | relevance | path

Searched +defs:buffer +defs:from (Results 101 – 125 of 1941) sorted by relevance

12345678910>>...78

/aosp_15_r20/frameworks/native/libs/bufferstreams/rust/src/
H A Dstream_config.rs36 fn from(config: StreamConfig) -> Self { in from() method
74 let buffer = maybe_buffer.unwrap(); in test_create_hardware_buffer() localVariable
/aosp_15_r20/external/testng/src/main/java/org/testng/reporters/
H A DFiles.java46 public static void copyFile(InputStream from, File to) throws IOException { in copyFile()
65 char[] buffer = new char[1024]; in streamToString() local
/aosp_15_r20/external/rust/android-crates-io/crates/nix/test/sys/
Dtest_socket.rs402 let mut from = None; in sendrecv() localVariable
454 let from = sendrecv( in udp() localVariable
585 let from = sendrecv( in udp_sendmmsg() localVariable
810 let from = sendrecv( in udp_inet6() localVariable
2349 let mut buffer = vec![0u8; message.len()]; in test_recvmsg_timestampns() localVariable
2408 let mut buffer = vec![0u8; message.len()]; in test_recvmmsg_timestampns() localVariable
2499 let mut buffer = vec![0u8; message.len()]; in test_recvmsg_rxq_ovfl() localVariable
/aosp_15_r20/packages/modules/DnsResolver/
DDnsTlsSocket.cpp370 bool DnsTlsSocket::sslWrite(const Slice buffer) { in sslWrite()
571 void DnsTlsSocket::transitionState(State from, State to) { in transitionState()
581 int DnsTlsSocket::sslRead(const Slice buffer, bool wait) { in sslRead()
/aosp_15_r20/bootable/deprecated-ota/updater/
H A Dcommands.cpp319 const uint8_t* from = source.data(); in MoveRange() local
331 std::vector<uint8_t>* buffer, size_t block_size, in ReadAll()
359 void SourceInfo::DumpBuffer(const std::vector<uint8_t>& buffer, size_t block_size) const { in DumpBuffer() argument
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/doze/
DDozeLogger.java20 private final com.android.systemui.log.LogBuffer buffer = null; field in DozeLogger
23 public DozeLogger(@com.android.systemui.log.dagger.DozeLog() in DozeLogger()
114 public final void logPulseDropped(@org.jetbrains.annotations.NotNull() in logPulseDropped()
/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
H A DLsrvCanonicalizer.java59 StringBuilder buffer = new StringBuilder(); in toLocaleString() local
75 StringBuilder buffer = new StringBuilder(); in toString() local
84 StringBuilder buffer, in addItem()
227 static ReplacementRule from( in from() method in LsrvCanonicalizer.ReplacementRule
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
H A DMathOnByteBuffers.c216 BYTE *from; in AdjustNumberB() local
254 BYTE *buffer = value->buffer; in ShiftLeft() local
/aosp_15_r20/frameworks/base/core/java/android/view/
H A DSurface.java99 HardwareBuffer buffer, int colorSpaceId); in nativeAttachAndQueueBufferWithColorSpace()
361 public Surface(@NonNull SurfaceControl from) { in Surface()
917 public void attachAndQueueBufferWithColorSpace(HardwareBuffer buffer, ColorSpace colorSpace) { in attachAndQueueBufferWithColorSpace()
1090 public Builder setDesiredRateRange(@FloatRange(from = 0.0) float desiredMinRate, in setDesiredRateRange()
/aosp_15_r20/packages/modules/Connectivity/thread/framework/java/android/net/thread/
DOperationalDatasetTimestamp.java142 ByteBuffer buffer = ByteBuffer.wrap(tlv); in toTlvValue() local
162 @IntRange(from = 0x0, to = 0xffffffffffffL) long seconds, in OperationalDatasetTimestamp()
/aosp_15_r20/external/virtio-media/device/src/
H A Dmmap.rs66 fn from(mapper: M) -> Self { in from() method
150 let buffer = &mut self.buffers[index]; in unregister_buffer() localVariable
206 let buffer = self in create_mapping() localVariable
/aosp_15_r20/external/pytorch/c10/util/
H A DStringUtil.cpp81 size_t ReplaceAll(std::string& s, c10::string_view from, c10::string_view to) { in ReplaceAll()
122 std::string buffer; in ReplaceAll() local
/aosp_15_r20/external/executorch/extension/data_loader/
H A Dfile_data_loader.cpp77 Result<FileDataLoader> FileDataLoader::from( in from() function in executorch::extension::FileDataLoader
166 void* buffer = std::malloc(alloc_size); in load() local
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_adv/src/legacy/serialize/
Dmod.rs220 buffer: [u8; BLE_4_ADV_SVC_MAX_CONTENT_LEN], field
232 let mut buffer = [0; BLE_4_ADV_SVC_MAX_CONTENT_LEN]; in new() localVariable
292 fn from(value: DataElementSerializeError) -> Self { in from() method
/aosp_15_r20/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp75 sp<GraphicBuffer> GraphicBuffer::from(ANativeWindowBuffer* anwb) { in from() function in android::GraphicBuffer
79 GraphicBuffer* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer* buffer) { in fromAHardwareBuffer()
83 GraphicBuffer const* GraphicBuffer::fromAHardwareBuffer(AHardwareBuffer const* buffer) { in fromAHardwareBuffer()
458 status_t GraphicBuffer::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
497 status_t GraphicBuffer::unflatten(void const*& buffer, size_t& size, int const*& fds, in unflatten()
/aosp_15_r20/cts/tests/tests/car/src/android/car/cts/
H A DCarEvsManagerTest.java270 public void onNewFrame(CarEvsBufferDescriptor buffer) { in onNewFrame()
280 public boolean waitForStreamEvent(int from, int expected) { in waitForStreamEvent()
/aosp_15_r20/external/okio/samples/src/jvmMain/java/okio/samples/
H A DSocksProxyServer.java75 final Socket from = serverSocket.accept(); in acceptSockets() local
163 Buffer buffer = new Buffer(); in transfer() local
/aosp_15_r20/test/mlts/benchmark/jni/
Dbenchmark_jni.cpp44 const char *buffer = nullptr; in Java_com_android_nn_benchmark_core_NNTestBase_hasNnApiDevice() local
224 uint8_t* buffer, size_t length) { in InferenceInOutSequenceList()
472 const char* buffer = nullptr; in Java_com_android_nn_benchmark_core_NNTestBase_getAcceleratorNames() local
486 static jfloatArray convertToJfloatArray(JNIEnv* env, const std::vector<float>& from) { in convertToJfloatArray()
/aosp_15_r20/external/rust/android-crates-io/crates/gbm/src/
Dbuffer_object.rs77 buffer: &'a mut [u8], field
136 pub fn buffer(&self) -> &[u8] { in buffer() method
686 fn from(err: DeviceDestroyedError) -> Self { in from() method
692 fn from(err: InvalidFdError) -> Self { in from() method
/aosp_15_r20/packages/modules/Virtualization/guest/pvmfw/src/
Ddice.rs47 fn from(e: ciborium::value::Error) -> Self { in from() method
53 fn from(e: diced_open_dice::DiceError) -> Self { in from() method
375 let mut buffer = [0; 4096]; in dice_derivation_with_different_algorithms_is_valid() localVariable
/aosp_15_r20/frameworks/base/media/java/android/media/
H A DImageWriter.java147 @IntRange(from = 1) int maxImages) { in newInstance()
196 @IntRange(from = 1) int maxImages, @Format int format, int width, int height) { in newInstance()
245 @IntRange(from = 1) int maxImages, @Format int format) { in newInstance()
918 public @NonNull Builder setWidthAndHeight(@IntRange(from = 1) int width, in setWidthAndHeight()
1237 private SurfacePlane(int rowStride, int pixelStride, ByteBuffer buffer) { in SurfacePlane()
/aosp_15_r20/external/libpcap/
H A Dsockutils.c1209 int sock_send(SOCKET sock, SSL *ssl _U_NOSSL_, const char *buffer, size_t size, in sock_send()
1413 int sock_recv(SOCKET sock, SSL *ssl _U_NOSSL_, void *buffer, size_t size, in sock_recv()
1520 int sock_recv_dgram(SOCKET sock, SSL *ssl _U_NOSSL_, void *buffer, size_t size, in sock_recv_dgram()
1672 char buffer[TEMP_BUF_SIZE]; /* network buffer, to be used when the message is discarded */ in sock_discard() local
1731 int sock_check_hostlist(char *hostlist, const char *sep, struct sockaddr_storage *from, char *errbu… in sock_check_hostlist()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowMediaCodec.java466 Buffer buffer = (Buffer) buffers[index]; in validateOutputByteBuffer() local
488 protected void freeByteBuffer(@Nullable ByteBuffer buffer) {} in freeByteBuffer()
491 protected void freeByteBufferLocked(@Nullable ByteBuffer buffer) {} in freeByteBufferLocked()
531 private static void copyBufferInfo(BufferInfo from, BufferInfo to) { in copyBufferInfo()
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ltc/
H A DTpmToLtcHash.h99 #define HASH_END(hashState, buffer) \ argument
133 #define HASH_STATE_IMPORT(hashStateTo, from) \ argument
/aosp_15_r20/external/armnn/third-party/ghc/
H A Dfilesystem.hpp1574 GHC_INLINE const char* strerror_adapter(int posix, char* buffer) in strerror_adapter()
3176 GHC_INLINE void copy(const path& from, const path& to) in copy()
3181 GHC_INLINE void copy(const path& from, const path& to, std::error_code& ec) noexcept in copy()
3186 GHC_INLINE void copy(const path& from, const path& to, copy_options options) in copy()
3195 GHC_INLINE void copy(const path& from, const path& to, copy_options options, std::error_code& ec) n… in copy()
3271 GHC_INLINE bool copy_file(const path& from, const path& to) in copy_file()
3276 GHC_INLINE bool copy_file(const path& from, const path& to, std::error_code& ec) noexcept in copy_file()
3281 GHC_INLINE bool copy_file(const path& from, const path& to, copy_options option) in copy_file()
3291 GHC_INLINE bool copy_file(const path& from, const path& to, copy_options options, std::error_code& … in copy_file()
3331 std::vector<char> buffer(16384, '\0'); in copy_file() local
[all …]

12345678910>>...78