/third_party/elfio/examples/c_wrapper/ |
H A D | c_example.c | 71 char buff[128]; in main() local 72 elfio_section_get_name( psection, buff, 100 ); in main() 73 // printf( " [%02d] %s\n", i, buff ); in main()
|
/third_party/ltp/testcases/kernel/mem/mtest07/ |
H A D | shm_test.c | 187 char buff; /* temporary buffer */ in shmat_rd_wr() local 237 buff = *read_from_mem; in shmat_rd_wr()
|
/third_party/skia/third_party/externals/freetype/src/gxvalid/ |
H A D | gxvmort1.c | 82 FT_UShort buff[5]; in gxv_mort_subtable_type1_subtable_setup() local 97 gxv_set_length_by_ushort_offset( o, l, buff, 4, table_size, gxvalid ); in gxv_mort_subtable_type1_subtable_setup()
|
H A D | gxvmorx1.c | 84 FT_ULong buff[5]; in gxv_morx_subtable_type1_subtable_setup() local 99 gxv_set_length_by_ulong_offset( o, l, buff, 4, table_size, gxvalid ); in gxv_morx_subtable_type1_subtable_setup()
|
/base/startup/init/interfaces/innerkits/control_fd/ |
H A D | control_fd_client.c | 138 char *buff = (char *)LE_GetBufferInfo(handle, NULL, NULL); in SendCmdMessage() local 139 BEGET_ERROR_CHECK(buff != NULL, return -1, "[control_fd] Failed get buffer info"); in SendCmdMessage() 140 CmdMessage *message = (CmdMessage *)buff; in SendCmdMessage()
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
H A D | extractandexecutescript_fuzzer.cpp | 208 PkgBuffer buff(buffSize); in BuildFileDigest() 221 ret = stream->Read(buff, offset, buffSize, readLen); in BuildFileDigest() 227 algorithm->Update(buff, readLen); in BuildFileDigest()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon.cpp | 218 const char *buff = reinterpret_cast<char *>(ReadString(req, &buffLen)); in StoreContentToFileInvoke() local 219 if (buff == nullptr || buffLen == 0) { in StoreContentToFileInvoke() 222 int32_t ret = BundleDaemon::GetInstance().handler_.StoreContentToFile(path, buff, buffLen); in StoreContentToFileInvoke()
|
/foundation/graphic/graphic_surface/surface/test/fuzztest/nativewindow_fuzzer/ |
H A D | nativewindow_fuzzer.cpp | 185 uint8_t buff[len]; in NativeWindowFuzzTest1() local 187 buff[i] = GetData<uint8_t>(); in NativeWindowFuzzTest1() 189 OH_NativeWindow_SetMetadataValue(nativeWindow, metaKey, len, buff); in NativeWindowFuzzTest1()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aiocp.c | 73 char *buff; in async_init() local 78 buff = SAFE_MEMALIGN(alignment, aio_blksize); in async_init() 80 io_prep_pread(iocb_free[i], -1, buff, aio_blksize, 0); in async_init()
|
/base/security/device_auth/services/identity_manager/inc/ |
H A D | identity_common.h | 38 void FreeBuffData(Uint8Buff *buff);
|
/base/telephony/sms_mms/frameworks/native/mms/include/ |
H A D | mms_encode_buffer.h | 28 bool WriteBuffer(MmsEncodeBuffer &buff);
|
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/ |
H A D | media_channel_def.h | 66 DataBuffer::Ptr buff; member
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/ |
H A D | multi_gateway.h | 35 int32_t GetMacAddr(char *buff, const char *macAddr);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_util.h | 31 struct HdiElems *elems, char* buff, int buffLen);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | dns_checker.h | 36 int recvDnsData(char* buff, int size, int timeout);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | db_ability.h | 42 void SetDbAbilityBuff(const std::vector<bool> &buff);
|
/third_party/ffmpeg/libavcodec/ |
H A D | mlz.h | 66 /** Run mlz decompression on the next size bits and the output will be stored in buff 68 int ff_mlz_decompression(MLZ* mlz, GetBitContext* gb, int size, unsigned char *buff);
|
/third_party/skia/third_party/externals/oboe/samples/parselib/src/main/cpp/wav/ |
H A D | WavStreamReader.h | 55 int getDataFloat(float *buff, int numFrames);
57 // int getData16(short *buff, int numFramees);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | ULocaleTest.java | 845 String buff, buff1; in TestObsoleteNames() 848 buff = ULocale.getISO3Language(locale); in TestObsoleteNames() 849 if(buff.compareTo(tests[i][1])!=0){ in TestObsoleteNames() 851 buff+",\t expected "+tests[i][1]); in TestObsoleteNames() 853 logln(" ULocale.getISO3Language("+locale+")=="+buff); in TestObsoleteNames() 859 buff+",\t expected "+tests[i][1]); in TestObsoleteNames() 861 logln(" ULocale.getISO3Language("+locale+")=="+buff); in TestObsoleteNames() 864 buff = ULocale.getLanguage(locale); in TestObsoleteNames() 865 if(buff.compareTo(tests[i][2])!=0){ in TestObsoleteNames() 867 buff in TestObsoleteNames() [all...] |
/base/hiviewdfx/hiview/base/utility/test/unittest/common/ |
H A D | adapter_utility_ohos_test.cpp | 86 char* buff = reinterpret_cast<char *>(malloc(dataLen)); in GetData() local 87 if (buff == nullptr) { in GetData() 90 auto ret = memset_s(buff, dataLen, 0, dataLen); in GetData() 95 ret = memcpy_s(buff, dataLen, data.c_str(), data.length()); in GetData() 100 return buff; in GetData()
|
/base/inputmethod/imf/test/unittest/cpp_test/common/src/ |
H A D | tdd_util.cpp | 193 char buff[EACH_LINE_LENGTH] = { 0x00 }; in ExecuteCmd() local 198 while (fgets(buff, sizeof(buff), ptr) != nullptr) { in ExecuteCmd() 199 output << buff; in ExecuteCmd() local
|
/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
H A D | hap_cert_verify_openssl_utils.cpp | 125 char buff[BUFF_SIZE] = {0};
in GetFingerprintBase64FromPemCert() local 127 if (sprintf_s(buff, sizeof(buff), "%02X", hash[index]) < 0) {
in GetFingerprintBase64FromPemCert() 133 fingerprint += buff;
in GetFingerprintBase64FromPemCert()
|
/base/startup/init/services/modules/bootevent/ |
H A D | bootevent.c | 257 char *buff = cJSON_Print(root);
in SaveServiceBootEvent() local 258 if (buff == NULL) {
in SaveServiceBootEvent() 263 INIT_CHECK_ONLY_ELOG(fprintf(tmpFile, "%s\n", buff) >= 0, "save boot event file failed");
in SaveServiceBootEvent() 264 free(buff);
in SaveServiceBootEvent()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_dsa_helper.c | 63 uint8_t buff[length]; in BinToBN() local 64 if (memcpy_s(buff, sizeof(buff), data, length) != 0) { in BinToBN() 67 return BN_bin2bn(buff, length, NULL); in BinToBN()
|
/base/time/time_service/test/unittest/service_test/src/ |
H A D | time_dfx_test.cpp | 72 char buff[EACH_LINE_LENGTH] = { 0x00 }; in ExecuteCmd() local 75 while (fgets(buff, sizeof(buff), ptr) != nullptr) { in ExecuteCmd() 76 result.append(std::string(buff)); in ExecuteCmd()
|