/aosp12/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead()
|
/aosp12/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead()
|
/aosp12/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
H A D | NduseroptMessage.java | 64 NduseroptMessage(@NonNull StructNlMsgHdr header, @NonNull ByteBuffer buf) in NduseroptMessage() 120 public static NduseroptMessage parse(@NonNull StructNlMsgHdr header, @NonNull ByteBuffer buf) { in parse()
|
/aosp12/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead()
|
/ohos5.0/foundation/graphic/graphic_surface/interfaces/inner_api/common/ |
H A D | graphic_common.h | 76 #define strerror_r(err, buf, len) strerror_s((buf), (len), (err)) argument 83 char buf[256] = {0}; // 256 mean buffer max length in LowErrorStr() local
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/muxer/ |
H A D | data_sink_fd.cpp | 50 int32_t DataSinkFd::Read(uint8_t *buf, int32_t bufSize) in Read() 63 int32_t DataSinkFd::Write(const uint8_t *buf, int32_t bufSize) in Write()
|
/ohos5.0/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
H A D | hci_protocol.cpp | 53 char buf[bufsize] = {0}; in Read() local 66 char buf[bufsize] = {0}; in Write() local
|
/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
|
/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
|
/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/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
|
/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
|
/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/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
|
/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
|
/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/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 …]
|