Home
last modified time | relevance | path

Searched refs:bufTmp (Results 1 - 3 of 3) sorted by relevance

/base/time/time_service/test/unittest/native_test/
H A Dtime_service_native_test.cpp40 char *bufTmp = static_cast<char *>(malloc(len)); in HWTEST_F() local
41 auto ret = OH_TimeService_GetTimeZone(bufTmp, len); in HWTEST_F()
53 char *bufTmp = static_cast<char *>(malloc(len + 1)); in HWTEST_F() local
54 auto ret = OH_TimeService_GetTimeZone(bufTmp, len); in HWTEST_F()
/base/print/print_fwk/utils/include/
H A Dprint_ipp_over_usb_util.h138 const uint8_t *bufTmp = readBuf; in ConstructHttpResponse() local
143 bool isHeaerEnd = (bufTmp[index] == HTTP_SPLIT_R_CODE && bufTmp[index + INDEX_1] == HTTP_SPLIT_N_CODE && in ConstructHttpResponse()
144 bufTmp[index + INDEX_2] == HTTP_SPLIT_R_CODE && in ConstructHttpResponse()
145 bufTmp[index + INDEX_3] == HTTP_SPLIT_N_CODE); in ConstructHttpResponse()
149 bool isLineBegin = (index > INDEX_2 && bufTmp[index - INDEX_2] == HTTP_SPLIT_R_CODE && in ConstructHttpResponse()
150 bufTmp[index - INDEX_1] == HTTP_SPLIT_N_CODE); in ConstructHttpResponse()
155 while (!(bufTmp[endline + INDEX_1] == HTTP_SPLIT_R_CODE && in ConstructHttpResponse()
156 bufTmp[endline + INDEX_2] == HTTP_SPLIT_N_CODE)) { in ConstructHttpResponse()
165 DumpRespCode(bufTmp, lengt in ConstructHttpResponse()
[all...]
/base/startup/appspawn/lite/
H A Dappspawn_message.c79 char *bufTmp = (char *)malloc(strLength + 1); in ReadStringItem() local
80 if (bufTmp == NULL) { in ReadStringItem()
84 if (strLength > 0 && memcpy_s(bufTmp, strLength, strPtr, strLength) != EOK) { in ReadStringItem()
85 free(bufTmp); in ReadStringItem()
86 bufTmp = NULL; in ReadStringItem()
90 bufTmp[strLength] = '\0'; in ReadStringItem()
91 *buf = bufTmp; in ReadStringItem()

Completed in 1 milliseconds