/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | native_module_buffer.cpp | 432 Buffer *buf = nullptr; in GetValueOffsetAndBuf() local 447 Buffer *buf = nullptr; in GetOffsetAndBuf() local 504 Buffer *buf = nullptr; in GetLength() local 516 Buffer *buf = nullptr; in GetByteOffset() local 544 Buffer *buf = nullptr; in WriteString() local 572 Buffer *buf = nullptr; in FillString() local 596 Buffer *buf = nullptr; in FillNumbers() local 651 Buffer *buf = nullptr; in GetBufferData() local 677 Buffer *buf = nullptr; in GetArrayBuffer() local 696 Buffer *buf = nullptr; in Get() local [all …]
|
/aosp12/bionic/tests/ |
H A D | grp_pwd_test.cpp | 106 char buf[512]; in check_getpwuid_r() local 121 char buf[512]; in check_getpwnam_r() local 151 char buf[512]; in expect_no_passwd_id() local 165 char buf[512]; in expect_no_passwd_name() local 330 char buf[2][512]; in TEST() local 373 char buf[size]; in TEST() local 514 char buf[512]; in check_getgrgid_r() local 527 char buf[512]; in check_getgrnam_r() local 555 char buf[512]; in expect_no_group_id() local 569 char buf[512]; in expect_no_group_name() local [all …]
|
H A D | net_if_test.cpp | 29 char buf[IF_NAMESIZE] = {}; in TEST() local 46 char buf[IF_NAMESIZE] = {}; in TEST() local
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/ |
H A D | read_task.rs | 42 buf: &'a mut [u8], field 64 let mut buf = ReadBuf::new(self.buf); in poll() localVariable 81 buf: &'a mut Vec<u8>, field 151 buf: Vec<u8>, field 227 buf: ReadBuf<'a>, field 277 buf: &'a mut Vec<u8>, field 344 buf: Vec<u8>, field 384 buf: Vec<u8>, field 427 buf: Vec<u8>, field 501 let buf = [0, 159, 146, 150]; in ut_io_string_result() localVariable [all …]
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
H A D | StructNdOptPref64Test.java | 74 ByteBuffer buf = ByteBuffer.allocate(16) in makeNdOptPref64() local 106 ByteBuffer buf = makeNdOptPref64(600, prefixBytes(PREFIX1), 0); in testParsing() local 156 ByteBuffer buf = makeNdOptPref64(600, prefixBytes(PREFIX1), 4); in testToString() local
|
/aosp14/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
H A D | SparseInputStream.java | 71 ByteBuffer buf = readBuffer(in, CHUNK_HDR_SIZE); in readChunk() local 91 ByteBuffer buf = readBuffer(mIn, FILE_HDR_SIZE); in SparseInputStream() local 137 public int read(byte[] buf, int off, int len) throws IOException { in read()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | netsys_tcp_client.c | 50 static int64_t SendWrapper(int fd, char *buf, size_t len) in SendWrapper() 55 static int64_t RecvWrapper(int fd, char *buf, size_t len) in RecvWrapper() 83 …ata(int sock, char *data, size_t size, short event, int64_t (*func)(int fd, char *buf, size_t len)) in ProcData()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/databaseutils/src/ |
H A D | acl.cpp | 104 auto buf = std::make_unique<char[]>(bufSize); in Serialize() local 151 char buf[BUF_SIZE] = { 0 }; in AclFromDefault() local 187 auto buf = Serialize(bufSize); in SetDefault() local
|
/aosp12/packages/modules/Connectivity/tests/cts/net/jni/ |
H A D | NativeMultinetworkJni.cpp | 76 int makeQuery(const char* name, int qtype, uint8_t* buf, size_t buflen) { in makeQuery() 80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse() 96 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers() 125 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local 141 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local 228 uint8_t buf[MAXPACKET] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() local 283 uint8_t buf[10] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() local 378 char buf[kSockaddrStrLen+1]; in sockaddr_ntop() local
|
/aosp12/frameworks/av/media/codec2/sfplugin/tests/ |
H A D | MediaCodec_sanity_test.cpp | 133 sp<MediaCodecBuffer> buf; in TEST_P() local 162 sp<MediaCodecBuffer> buf; in TEST_P() local 195 sp<MediaCodecBuffer> buf; in TEST_P() local 227 sp<MediaCodecBuffer> buf; in TEST_F() local 309 sp<MediaCodecBuffer> buf; in TEST_P() local
|
/ohos5.0/base/powermgr/battery_manager/charger/src/ |
H A D | power_supply_provider.cpp | 115 int32_t PowerSupplyProvider::ReadSysfsFile(const char* path, char* buf, size_t size) const in ReadSysfsFile() 131 int32_t PowerSupplyProvider::ReadBatterySysfsToBuff(const char* path, char* buf, size_t size) const in ReadBatterySysfsToBuff() 285 char buf[MAX_BUFF_SIZE] = {0}; in ParseCapacity() local 300 char buf[MAX_BUFF_SIZE] = {0}; in ParseTemperature() local 314 char buf[MAX_BUFF_SIZE] = {0}; in ParseChargeState() local
|
/ohos5.0/base/tee/tee_client/services/teecd/src/ |
H A D | tee_ca_auth.c | 28 static int GetLoginInfo(const struct ucred *cr, int fd, uint8_t *buf, unsigned int bufLen) in GetLoginInfo() 56 uint8_t *buf = (uint8_t *)malloc(bufLen); in SendLoginInfo() local
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
H A D | async_file.rs | 281 let mut buf = match file.state { in set_len() localVariable 633 let buf = vec![65, 66, 67, 68, 69, 70, 71, 72, 73]; in ut_fs_file_seek() localVariable 645 let mut buf = [0; 1]; in ut_fs_file_seek() localVariable 653 let mut buf = [0; 1]; in ut_fs_file_seek() localVariable 661 let mut buf = [0; 2]; in ut_fs_file_seek() localVariable 668 let mut buf = [0; 9]; in ut_fs_file_seek() localVariable 675 let mut buf = [0; 2]; in ut_fs_file_seek() localVariable 720 let buf = [2; 20000]; in ut_fs_file_sync_all() localVariable 726 let buf = [2; 20000]; in ut_fs_file_sync_all() localVariable 752 let buf = [2; 20000]; in ut_fs_set_buf_size_limit() localVariable
|
/aosp14/system/core/fastboot/fuzzy_fastboot/ |
H A D | main.cpp | 261 std::vector<char> buf(4096); in TEST_F() local 623 std::vector<char> buf; in TEST_F() local 647 std::vector<char> buf; in TEST_F() local 753 std::vector<char> buf; in TEST_F() local 782 std::vector<char> buf(size); in TEST_F() local 988 const std::vector<char> buf = { in TEST_F() local 1007 const std::vector<char> buf = { in TEST_F() local 1024 const std::vector<char> buf = { in TEST_F() local 1043 const std::vector<char> buf = { in TEST_F() local 1112 std::vector<char> buf; in TEST_F() local [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
H A D | fillp_mgt_msg_log.c | 89 static FILLP_INT FillpExtParaRttFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_t … in FillpExtParaRttFormat() 94 static FILLP_INT FillpExtParaPktSizeFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, siz… in FillpExtParaPktSizeFormat() 99 static FILLP_INT FillpBitmapFormat(FILLP_CHAR *buf, size_t len, FILLP_UINT32 bitmap, in FillpBitmapFormat() 120 static FILLP_INT FillpExtParaCharacterFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, s… in FillpExtParaCharacterFormat() 141 static FILLP_INT FillpExtParaFcAlgFormat(FILLP_CONST struct FtNetconn *conn, FILLP_CHAR *buf, size_… in FillpExtParaFcAlgFormat() 171 …pExtParaFormat(FILLP_CONST FILLP_UCHAR *extPara, FILLP_INT extParaLen, FILLP_CHAR *buf, size_t len) in FillpExtParaFormat()
|
/ohos5.0/base/startup/hvb/libhvb/src/cert/ |
H A D | hvb_cert.c | 163 static bool _decode_octets(struct hvb_buf *buf, size_t size, uint8_t **p, uint8_t *end) in _decode_octets() 180 struct hvb_buf buf; in _hvb_cert_payload_parser() local 233 struct hvb_buf buf; in _hvb_cert_signature_parser() local 269 struct hvb_buf buf; in _hvb_cert_signature_parser_v2() local 318 struct hvb_buf buf; in hvb_cert_parser() local 391 struct hvb_buf buf; in hvb_cert_pubk_parser() local
|
/aosp12/system/update_engine/common/ |
H A D | utils.cc | 151 bool WriteAll(int fd, const void* buf, size_t count) { in WriteAll() 162 bool PWriteAll(int fd, const void* buf, size_t count, off_t offset) { in PWriteAll() 196 const void* buf, in WriteAll() 222 void* buf, in ReadAll() 243 void* buf, in PReadAll() 256 const void* buf, in PWriteAll() 269 static void AppendBytes(const uint8_t* buf, in AppendBytes() 290 uint8_t buf[1024]; in Read() local 412 char buf[20]; in HexDumpArray() local 481 char buf[100]; in ErrnoNumberAsString() local [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/base/cRPC/src/ |
H A D | context.c | 160 static int ContextAppendRead(Context *context, const char *buf, int len) in ContextAppendRead() 187 int ContextAppendWrite(Context *context, const char *buf, int len) in ContextAppendWrite() 225 char *buf = (char *)calloc(len + 1, sizeof(char)); in ContextGetReadRecord() local
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | check_gso_support.c | 42 FILLP_CHAR buf[CFG_MSS]; in SendUdpSegment() local 83 FILLP_CHAR buf[RECV_BUF]; in RecvUdpSegment() local
|
/ohos5.0/base/msdp/device_status/utils/ipc/src/ |
H A D | stream_session.cpp | 43 bool StreamSession::SendMsg(const char *buf, size_t size) const in SendMsg() argument 103 StreamBuffer buf; in SendMsg() local
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | fec_file_descriptor.cc | 48 ssize_t FecFileDescriptor::Read(void* buf, size_t count) { in Read() 52 ssize_t FecFileDescriptor::Write(const void* buf, size_t count) { in Write()
|
/ohos5.0/base/security/security_guard/test/unittest/data_collect/sa/ |
H A D | kernel_interface_adapter.h | 36 virtual ssize_t Recv(int socket, void* const buf, size_t len, int flags) { return 0; }; in Recv() 38 virtual ssize_t Write(int fd, const void* const buf, size_t count) { return 0; }; in Write()
|
/ohos5.0/commonlibrary/utils_lite/hals/file/ |
H A D | hal_file.c | 32 int HalFileRead(int fd, char *buf, unsigned int len) in HalFileRead() 37 int HalFileWrite(int fd, const char *buf, unsigned int len) in HalFileWrite()
|
/ohos5.0/base/powermgr/thermal_manager/utils/native/src/ |
H A D | file_operation.cpp | 63 int32_t FileOperation::WriteFile(std::string path, std::string buf, size_t size) in WriteFile() 85 int32_t FileOperation::ReadFile(const char *path, char *buf, size_t size) in ReadFile()
|
/ohos5.0/foundation/arkui/napi/sample/native_module_netserver/ |
H A D | net_server.cpp | 153 void NetServer::TakeDiffactionsByStatus(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf, Ne… in TakeDiffactionsByStatus() 201 void NetServer::AfterRead(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf) in AfterRead() 233 void NetServer::EchoAlloc(uv_handle_t* handle, size_t suggestedSize, uv_buf_t* buf) in EchoAlloc()
|