Home
last modified time | relevance | path

Searched defs:buf (Results 676 – 700 of 1633) sorted by relevance

1...<<21222324252627282930>>...66

/aosp14/frameworks/base/tools/bit/
H A Dadb.cpp127 char* buf = (char*)malloc(size); in read_sized_buffer() local
158 char* buf = read_sized_buffer(fd, &err, &size); in read_sized_proto() local
330 char* buf = (char*)malloc(size); in run_instrumentation_test() local
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java120 private void append(char[] buf, int i, final int length) throws IOException { in append()
169 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { in escapeAndAppendString()
398 public XmlSerializer text(char[] buf, int start, int len) throws IOException, in text()
H A DFastPrintWriter.java50 public void write(char[] buf, int offset, int count) throws IOException { in write()
329 private void appendLocked(char[] buf, int i, final int length) throws IOException { in appendLocked()
/ohos5.0/foundation/communication/nfc/services/src/notification/
H A Dnfc_notification.cpp137 char buf[MAX_BUFF_LEN] = {0}; in GetTrafficCardNotificationText() local
151 char buf[MAX_BUFF_LEN] = {0}; in GetWifiNotificationText() local
165 char buf[MAX_BUFF_LEN] = {0}; in GetBtNotificationText() local
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dipv6_address.cpp197 char buf[INET6_ADDRSTRLEN] = {0}; in GetPrefixByAddr() local
223 char buf[INET6_ADDRSTRLEN] = {0}; in GetIpv6Prefix() local
329 char buf[2] = {0}; in BinToHex() local
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dsoft_bus_channel.cpp174 unsigned char *buf = new (std::nothrow) unsigned char[len + 1]; in ExecuteCommand() local
299 unsigned char *buf = new (std::nothrow) unsigned char[len + 1]; in Decompress() local
415 unsigned char *buf = new (std::nothrow) unsigned char[len + 1]; in HandleRequest() local
/aosp14/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java444 ByteBuffer buf = planes[0].getBuffer(); in writeImage() local
445 writeByteBuffer(pixels.getWidth(), pixels.getHeight(), buf, dngOutput, in writeImage() local
554 ByteBuffer buf = ByteBuffer.allocateDirect(BYTES_PER_RGB_PIX * width * height); in convertToRGB() local
613 ByteBuffer buf = ByteBuffer.allocateDirect(BYTES_PER_RGB_PIX * width * height); in convertToRGB() local
/ohos5.0/base/security/huks/frameworks/huks_standard/main/core/src/
H A Dhks_verifier.c252 static int32_t EncodeTlvAndGetLength(uint8_t **buf, uint32_t *outLength, uint32_t inLen) in EncodeTlvAndGetLength()
293 uint8_t *buf = (uint8_t *)in; in ExtractTlvLength() local
320 uint8_t *buf = (uint8_t *)in; in ExtractTlvData() local
369 uint8_t *buf = NULL; in GetObjByOid() local
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_lite.c72 static int32_t CalcHeaderMac(const struct HksBlob *salt, const uint8_t *buf, in CalcHeaderMac()
177 uint8_t *buf = (uint8_t *)HksMalloc(totalLen); in FreshImageBuffer() local
391 uint8_t *buf = (uint8_t *)HksMalloc(newBufLen); in AdjustImageBuffer() local
392 HKS_IF_NULL_RETURN(buf, HKS_ERROR_MALLOC_FAIL) in AdjustImageBuffer() local
855 uint8_t *buf; in CleanFile() local
/ohos5.0/commonlibrary/ets_utils/js_sys_module/process/
H A Djs_process.cpp204 char buf[260 * NUM_OF_DATA] = { 0 }; // 260:Only numbers path String size is 260. in Cwd() local
340 char buf[260 * NUM_OF_DATA] = { 0 }; // 260:Only numbers path String size is 260. in GetEnvironmentVar() local
388 std::string buf; in GetUidForName() local
506 std::string buf; in GetUidForName() local
559 char buf[260 * NUM_OF_DATA] = { 0 }; // 260:Only numbers path String size is 260. in GetEnvironmentVar() local
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_module_checker.cpp134 char buf[MAX_PATH_LEN]; in GetModuleAllowList() local
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpbinding_fuzzer/
H A Ddhcpbinding_fuzzer.cpp79 char buf; in ParseAddressBindingTest() local
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/
H A Dvpn_interface.cpp96 char buf[1] = {0}; in RecvMsgFromUnixServer() local
/ohos5.0/foundation/multimedia/media_foundation/engine/include/foundation/utils/
H A Dbuffer_pool.h133 auto buf = new Plugin::Buffer(metaType_); in AllocateAppendBufferNonBlocking() local
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/conn/
H A Dhttp1.rs36 let mut buf = vec![0u8; TEMP_BUF_SIZE]; in request() localVariable
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_unique_fd_test.cpp157 char buf[] = "test"; variable
/aosp14/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp85 void* operator new(size_t /*size*/, void* buf) { return buf; } in operator new()
224 void* buf = malloc(pageSize); in newPage() local
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_util.cpp501 struct stat buf = {}; in IsExistFile() local
516 struct stat buf = {}; in IsExistFileNoLog() local
530 struct stat buf = {}; in IsExistDir() local
545 struct stat buf = {}; in IsExistDirNoLog() local
558 struct stat buf = {}; in IsPathInformationConsistent() local
1015 char buf[MAX_PATH_LEN] = { 0 }; in GetNoDisablingConfigPath() local
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_conn.c143 static FILLP_INT32 FillpEncodeExtPara(FILLP_UCHAR *buf, FILLP_INT32 bufLen, FILLP_UCHAR paraType, F… in FillpEncodeExtPara()
180 static FILLP_INT32 FillpDecodeExtParaNameLen(FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen, FILLP_… in FillpDecodeExtParaNameLen()
210 static void FillpDecodeRtt(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen) in FillpDecodeRtt()
229 static void FillpDecodePktSize(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufL… in FillpDecodePktSize()
248 static void FillpDecodeCharacters(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT b… in FillpDecodeCharacters()
267 static void FillpDecodeFcAlg(struct FtNetconn *conn, FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen) in FillpDecodeFcAlg()
288 FILLP_INT32 FillpDecodeExtPara(FILLP_CONST FILLP_UCHAR *buf, FILLP_INT bufLen, struct FtNetconn *co… in FillpDecodeExtPara()
318 static FILLP_INT32 FillpConnReqAckClientBuild(FILLP_CHAR *buf, FILLP_INT32 *len, FILLP_CONST struct… in FillpConnReqAckClientBuild()
375 FILLP_CHAR *buf = p->p + FILLP_HLEN; in FillpDecodeConnReqAckClientPara() local
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/
H A Dobex_headers.cpp97 void ObexHeader::ParseFields(const uint8_t *buf, const uint8_t &code, uint16_t &pos, bool isRequest… in ParseFields()
126 bool ObexHeader::ParseOptionalHeaders(const uint8_t *buf, const uint16_t &size, uint16_t &pos) in ParseOptionalHeaders()
156 bool ObexHeader::Parse(const uint8_t *buf, const uint16_t size, bool isRequest, bool isConnect) in Parse()
190 void ObexHeader::ParseBytes(const uint8_t &headerId, const uint8_t *buf, uint16_t &pos) in ParseBytes()
215 void ObexHeader::ParseUnicodeText(const uint8_t &headerId, const uint8_t *buf, uint16_t &pos) in ParseUnicodeText()
308 std::unique_ptr<ObexHeader> ObexHeader::ParseRequest(const uint8_t *buf, const uint16_t size) in ParseRequest()
317 std::unique_ptr<ObexHeader> ObexHeader::ParseResponse(const uint8_t *buf, const uint16_t size, bool… in ParseResponse()
1000 auto buf = std::make_unique<uint8_t[]>(dataSize_); in GetBytes() local
1219 auto buf = std::make_unique<uint8_t[]>(dataSize_); in GetBytes() local
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dfstat.cpp49 struct stat buf; in Sync() local
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_file.c84 ssize_t OsalFileRead(OsalFile *file, void *buf, uint32_t length) in OsalFileRead()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_policy_test.cpp45 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsysio_udp.c144 FILLP_CONST char *buf, in SysioSendUdp()
192 static void *SysioRecvUdp(void *arg, FILLP_CONST void *buf, void *databuf) in SysioRecvUdp()
228 static void *SysioFetchPacketUdp(void *sock, void *buf, void *count) in SysioFetchPacketUdp()
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c206 ssize_t ConnSendSocketData(int32_t fd, const char *buf, size_t len, int32_t timeout) in ConnSendSocketData()
254 static ssize_t OnRecvData(int32_t fd, char *buf, size_t len, int timeout, int flags) in OnRecvData()
284 ssize_t ConnRecvSocketData(int32_t fd, char *buf, size_t len, int32_t timeout) in ConnRecvSocketData()

1...<<21222324252627282930>>...66