Home
last modified time | relevance | path

Searched refs:buff (Results 251 - 275 of 598) sorted by relevance

1...<<11121314151617181920>>...24

/foundation/arkui/ui_lite/test/autotest/include/
H A Dcompare_tools.h60 static void SaveResultLog(const char* filePath, const char* buff, size_t bufSize);
69 static bool SaveLog(const char* buff, size_t bufSize, const char* filePath = nullptr);
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/
H A Dhttp_lite_manager.h65 bool HttpRead(unsigned char *buff, unsigned int wantReadLength, unsigned int &realReadLength, int &flag);
66 bool HttpPeek(unsigned char *buff, unsigned int wantReadLength, unsigned int &realReadLength);
/foundation/communication/netstack/utils/tlv_utils/include/
H A Dtlv_utils.h76 static uint32_t Serialize(const TlvCommon *tlv, uint32_t tlvCount, uint8_t *buff, uint32_t maxBuffSize,
78 static uint32_t Deserialize(const uint8_t *buff, uint32_t buffSize, TlvCommon *tlv, uint32_t maxTlvCount,
/foundation/communication/dhcp/services/utils/include/
H A Ddhcp_arp_checker.h52 int32_t SendData(uint8_t *buff, int32_t count, uint8_t *destHwaddr);
53 int32_t RecvData(uint8_t *buff, int32_t count, int32_t timeoutMillis);
/third_party/node/deps/npm/node_modules/smart-buffer/build/
H A Dutils.js81 * @param { SmartBuffer } buff The SmartBuffer instance to check against.
83 function checkTargetOffset(offset, buff) {
84 if (offset < 0 || offset > buff.length) {
/third_party/icu/icu4c/source/test/cintltst/
H A Dcloctst.c1698 char buff[256]; in TestObsoleteNames() local
1755 uloc_getLanguage(locale, buff, 256, &status); in TestObsoleteNames()
1762 if(strcmp(buff,tests[i].lang)) in TestObsoleteNames()
1765 locale, buff, tests[i].lang); in TestObsoleteNames()
1769 log_verbose(" uloc_getLanguage(%s)==\t%s\n", locale, buff); in TestObsoleteNames()
1795 uloc_getCountry(locale, buff, 256, &status); in TestObsoleteNames()
1802 if(strcmp(buff,tests[i].ctry)) in TestObsoleteNames()
1805 locale, buff, tests[i].ctry); in TestObsoleteNames()
1809 log_verbose(" uloc_getCountry(%s)==\t%s\n", locale, buff); in TestObsoleteNames()
1834 log_err("FAIL: Got %s trying to do uloc_getLanguage(kok, buff)\ in TestObsoleteNames()
6742 UChar buff[256]; checkTerminating() local
7143 UChar buff[256]; TestUsingDefaultWarning() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/
H A Dscreen_capture_consumer.cpp40 mediaData->buff = move(frame); in OnFrame()
55 if (spsOld != nullptr && spsOld->buff != nullptr) { in HandleSpsFrame()
60 sps->buff = move(frame); in HandleSpsFrame()
69 if (ppsOld != nullptr && ppsOld->buff != nullptr) { in HandlePpsFrame()
74 pps->buff = move(frame); in HandlePpsFrame()
120 mediaData->buff = move(frame); in OnFrame()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/transaction/
H A Drs_marshalling_helper.h97 if (const uint8_t* buff = parcel.ReadUnpadBuffer(sizeof(T))) { in Unmarshalling()
98 if (buff == nullptr) { in Unmarshalling()
101 val = *(reinterpret_cast<const T*>(buff)); in Unmarshalling()
130 if (const uint8_t* buff = parcel.ReadUnpadBuffer(count * sizeof(T))) { in UnmarshallingArray()
131 if (buff == nullptr) { in UnmarshallingArray()
134 val = reinterpret_cast<const T*>(buff); in UnmarshallingArray()
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c932 unsigned char x_dst[32], buff[SHA512_DIGEST_LENGTH]; in s390x_ecd_keygen25519() local
963 j = EVP_Digest(privkey, 32, buff, &sz, sha, NULL); in s390x_ecd_keygen25519()
968 buff[0] &= 248; in s390x_ecd_keygen25519()
969 buff[31] &= 63; in s390x_ecd_keygen25519()
970 buff[31] |= 64; in s390x_ecd_keygen25519()
973 generator_x, generator_y, buff) != 1) in s390x_ecd_keygen25519()
1000 unsigned char x_dst[57], buff[114]; in s390x_ecd_keygen448() local
1037 if (EVP_DigestFinalXOF(hashctx, buff, sizeof(buff)) != 1) in s390x_ecd_keygen448()
1040 buff[ in s390x_ecd_keygen448()
[all...]
/third_party/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c929 unsigned char x_dst[32], buff[SHA512_DIGEST_LENGTH]; in s390x_ecd_keygen25519() local
960 j = EVP_Digest(privkey, 32, buff, &sz, sha, NULL); in s390x_ecd_keygen25519()
965 buff[0] &= 248; in s390x_ecd_keygen25519()
966 buff[31] &= 63; in s390x_ecd_keygen25519()
967 buff[31] |= 64; in s390x_ecd_keygen25519()
970 generator_x, generator_y, buff) != 1) in s390x_ecd_keygen25519()
997 unsigned char x_dst[57], buff[114]; in s390x_ecd_keygen448() local
1034 if (EVP_DigestFinalXOF(hashctx, buff, sizeof(buff)) != 1) in s390x_ecd_keygen448()
1037 buff[ in s390x_ecd_keygen448()
[all...]
/base/update/updater/services/package/pkg_manager/
H A Dpkg_stream.cpp334 int32_t FlowDataStream::ReadFromRingBuf(uint8_t *&buff, const uint32_t needLen, uint32_t &readLen) in ReadFromRingBuf() argument
338 buff = nullptr; in ReadFromRingBuf()
345 buff = nullptr; in ReadFromRingBuf()
349 buff = buff_ + bufOffset_; in ReadFromRingBuf()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy/
H A Dintell_voice_service_proxy.cpp194 const uint8_t *buff = reply.ReadBuffer(size); in GetWakeupSourceFile() local
195 if (buff == nullptr) { in GetWakeupSourceFile()
206 std::copy(buff, buff + size, buffer.data()); in GetWakeupSourceFile()
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_javascript_result_callback.cpp58 auto buff = argument->GetBinaryValue(); in GetWebJSValueHelper() local
59 return std::make_shared<WebJSValue>(buff, size); in GetWebJSValueHelper()
140 auto buff = webJSValue->GetBinaryValue(); in GetWebViewValue() local
141 return std::make_shared<NWebValue>(buff, size); in GetWebViewValue()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_libpng.cpp121 png_bytep buff = static_cast<png_bytep>(malloc(imgSize * sizeof(uint8_t))); in LoadFromMemory() local
122 if (buff == nullptr) { in LoadFromMemory()
126 imageBytes = {buff, FreeLibBaseImageBytes}; in LoadFromMemory()
139 buff[pos++] = rp.rowPointers[y][x + k]; in LoadFromMemory()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_media_downloader.h69 Status Read(unsigned char* buff, ReadDataInfo& readDataInfo) override;
114 Status ReadDelegate(unsigned char* buff, ReadDataInfo& readDataInfo);
115 void ReadCacheBuffer(unsigned char* buff, ReadDataInfo& readDataInfo);
136 Status CheckPlaylist(unsigned char* buff, ReadDataInfo& readDataInfo);
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_resolv_listen.cpp312 char buff[sizeof(RequestInfo)] = {0}; in ProcCommand() local
313 if (!PollRecvData(clientSockFd, buff, sizeof(buff))) { in ProcCommand()
319 auto info = reinterpret_cast<RequestInfo *>(buff); in ProcCommand()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
H A Dnativetoken.c75 char *buff = (char *)malloc((size_t)(fileSize + 1)); in GetFileBuff() local
76 if (buff == NULL) { in GetFileBuff()
82 if (fread(buff, fileSize, 1, cfgFd) != 1) { in GetFileBuff()
84 free(buff); in GetFileBuff()
85 buff = NULL; in GetFileBuff()
89 buff[fileSize] = '\0'; in GetFileBuff()
90 *retBuff = buff; in GetFileBuff()
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_client.cpp533 uint8_t *buff = (uint8_t*)malloc(KERNEL_BUFF_SIZE * sizeof(uint8_t)); in StartIpv6() local
534 if (buff == NULL) { in StartIpv6()
535 DHCP_LOGE("StartIpv6 ipv6 malloc buff failed."); in StartIpv6()
545 (void)memset_s(buff, KERNEL_BUFF_SIZE * sizeof(uint8_t), 0, KERNEL_BUFF_SIZE * sizeof(uint8_t)); in StartIpv6()
562 int32_t len = recv(ipv6SocketFd, buff, 8 *1024, 0); in StartIpv6()
572 handleKernelEvent(buff, len); in StartIpv6()
577 free(buff); in StartIpv6()
578 buff = NULL; in StartIpv6()
/third_party/alsa-lib/test/
H A Dmidifile.c202 char buff[32]; local
205 (void) strcpy (buff, "expecting ");
206 (void) strcat (buff, s);
207 mferror (buff);
507 char buff[32]; local
509 (void) sprintf (buff, "unexpected byte: 0x%02x", c);
510 mferror (buff);
/third_party/node/deps/openssl/openssl/crypto/
H A Ds390xcap.c673 char *tok_begin, *tok_end, *buff, tok[S390X_STFLE_MAX][LEN + 1]; in parse_env() local
676 buff = malloc(strlen(env) + 1); in parse_env()
677 if (buff == NULL) in parse_env()
682 strcpy(buff, env); in parse_env()
684 tok_begin = buff + strspn(buff, ";"); in parse_env()
743 free(buff); in parse_env()
/third_party/openssl/crypto/
H A Ds390xcap.c673 char *tok_begin, *tok_end, *buff, tok[S390X_STFLE_MAX][LEN + 1]; in parse_env() local
676 buff = malloc(strlen(env) + 1); in parse_env()
677 if (buff == NULL) in parse_env()
682 strcpy(buff, env); in parse_env()
684 tok_begin = buff + strspn(buff, ";"); in parse_env()
743 free(buff); in parse_env()
/third_party/skia/modules/skottie/src/
H A DSkottie.cpp53 char buff[1024]; in log() local
56 const auto len = vsnprintf(buff, sizeof(buff), fmt, va); in log()
64 if (len >= SkToInt(sizeof(buff))) { in log()
66 strcpy(buff + sizeof(buff) - sizeof(kEllipsesStr), kEllipsesStr); in log()
71 fLogger->log(lvl, buff, jsonstr.c_str()); in log()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map.h236 NATIVEEXPORT virtual bool EncodeTlv(std::vector<uint8_t> &buff) const;
237 NATIVEEXPORT static PixelMap *DecodeTlv(std::vector<uint8_t> &buff);
472 void WriteUint8(std::vector<uint8_t> &buff, uint8_t value) const;
473 static uint8_t ReadUint8(std::vector<uint8_t> &buff, int32_t &cursor);
475 void WriteVarint(std::vector<uint8_t> &buff, int32_t value) const;
476 static int32_t ReadVarint(std::vector<uint8_t> &buff, int32_t &cursor);
477 void WriteData(std::vector<uint8_t> &buff, const uint8_t *data,
479 static uint8_t *ReadData(std::vector<uint8_t> &buff, int32_t size, int32_t &cursor);
480 static void ReadTlvAttr(std::vector<uint8_t> &buff, ImageInfo &info, int32_t &type, int32_t &size, uint8_t **data);
/third_party/pcre2/pcre2/src/
H A Dpcre2_study.c823 PCRE2_UCHAR buff[6]; in set_table_bit() local
824 (void)PRIV(ord2utf)(c, buff); in set_table_bit()
825 SET_BIT(buff[0]); in set_table_bit()
877 PCRE2_UCHAR buff[6]; in set_type_bits() local
878 (void)PRIV(ord2utf)(c, buff); in set_type_bits()
879 SET_BIT(buff[0]); in set_type_bits()
1089 PCRE2_UCHAR buff[6]; in set_start_bits() local
1090 (void)PRIV(ord2utf)(c, buff); in set_start_bits()
1091 c = buff[0]; in set_start_bits()
/base/startup/init/interfaces/innerkits/control_fd/
H A Dcontrol_fd_service.c107 char *buff = (char *)LE_GetBufferInfo(handle, NULL, &bufferSize); in SendMessage() local
108 BEGET_ERROR_CHECK(buff != NULL, return -1, "[control_fd] Failed get buffer info"); in SendMessage()
109 int ret = memcpy_s(buff, bufferSize, message, strlen(message) + 1); in SendMessage()

Completed in 26 milliseconds

1...<<11121314151617181920>>...24