/external/toybox/toys/posix/ |
strings.c | 34 int nread, i, wlen = TT.num, count = 0; local 36 char *string = xzalloc(wlen + 1); 44 if (count == wlen) fputc(toybuf[i], stdout); 47 if (count == wlen) { 50 printf("%7lld ",(long long)(offset - wlen)); 55 if (count == wlen) xputc('\n');
|
/external/skia/src/utils/win/ |
SkDWrite.cpp | 57 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); local 58 if (0 == wlen) { 62 name->reset(wlen); 63 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); 64 if (0 == wlen) {
|
/external/libnfc-nci/halimpl/pn54x/dnld/ |
phDnldNfc.c | 82 (gpphDnldContext->tRspBuffInfo.wLen) = 0; 84 (gpphDnldContext->tUserData.wLen) = 0; 142 if((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) 145 (gpphDnldContext->tRspBuffInfo.wLen) = pVersionInfo->wLen; 149 (gpphDnldContext->tUserData.wLen) = 0; 212 if((NULL != pSession->pBuff) && (0 != pSession->wLen)) 215 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen; 219 (gpphDnldContext->tUserData.wLen) = 0 [all...] |
phDnldNfc_Utils.h | 25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
|
phDnldNfc_Utils.c | 54 ** wLen - input buffer length 59 uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen) 67 if((NULL == pBuff) || (0 == wLen)) 74 for (i = 0; i < wLen; i++)
|
phDnldNfc_Internal.c | 608 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) 617 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); 624 if((0 == (pDlContext->tRspBuffInfo.wLen)) || (NULL == (pDlContext->tRspBuffInfo.pBuff))) 634 wFrameLen = (pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; 637 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); 651 if((0 == (pDlContext->tUserData.wLen)) || (NULL == (pDlContext->tUserData.pBuff))) [all...] |
phNxpNciHal_Dnld.c | 409 (tData.wLen) = sizeof(bClkVal); 488 (tData.wLen) = sizeof(bClkVal); 562 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) 596 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) 704 tDnldBuff.wLen = sizeof(bGetVerRes); 759 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) 847 tDnldBuff.wLen = sizeof(bGSnStateRes); 944 (Data.wLen) = sizeof(phLibNfc_EELogParams_t); [all...] |
phDnldNfc.h | 84 uint16_t wLen; /*Buffer length*/
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_gcc.cpp | 226 int wlen, 232 for (int i = 0; i < wlen; i++) { 248 int wlen = 0; local 250 if (buf && wlen < buflen) { 251 buf[wlen] = bstr[i]; 253 wlen++; 255 return wlen;
|
fx_basic_wstring.cpp | 366 FX_STRSIZE wlen) { 367 if (!wstr || 0 == wlen) { 372 FX_WCHAR* buf = result.GetBuffer(wlen); 373 for (int i = 0; i < wlen; i++) { 376 result.ReleaseBuffer(wlen);
|
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 217 const int wlen = (len + 1) / 2; local 219 const int wlen = len; local 222 if ((tmpInts != NULL) && (bn_wexpand(ret, wlen) != NULL)) { 225 ret->d[wlen - 1] = tmpInts[--len]; 235 ret->top = wlen; 263 int wLen = (bytesLen + sizeof(BN_ULONG) - 1) / sizeof(BN_ULONG); 265 if (bn_wexpand(ret, wLen) != NULL) { 268 ret->top = wLen; 341 int wLen = a->top; 342 if (wLen == 0) [all...] |
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
phNxpExtns_MifareStd.c | [all...] |
phNxpExtns_MifareStd.h | 113 uint16_t wLen; /* Buffer length*/
|
/external/ppp/pppd/ |
upap.c | 619 int mlen, ulen, wlen; local 645 wlen = p[ulen + 1]; 646 if (len < ulen + wlen + 2) 650 p += ulen + wlen + 2; 651 len -= ulen + wlen + 2; 656 print_string(pwd, wlen, printer, arg);
|
/external/toybox/kconfig/lxdialog/ |
util.c | 317 int i, prompt_len, room, wlen; local 349 wlen = strlen(word); 350 if (wlen > room || 351 (newl && wlen < 4 && sp 352 && wlen + 1 + strlen(sp) > room 354 || wlen + 1 + (sp2 - sp) > room))) {
|
/external/webrtc/webrtc/base/ |
win32.cc | 376 int wlen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), local 379 if (0 == wlen) { 382 wchar_t* wfilename = STACK_ARRAY(wchar_t, wlen); 385 wfilename, wlen)) { 389 std::replace(wfilename, wfilename + wlen, L'/', L'\\');
|
/external/libpcap/ |
pcap-dag.c | 377 * o the length of the packet on the link (header->wlen), 386 packet_len = ntohs(header->wlen) + dag_record_size; 425 packet_len = ntohs(header->wlen); 435 packet_len = ntohs(header->wlen); 470 packet_len = ntohs(header->wlen); 485 packet_len = ntohs(header->wlen); 497 packet_len = ntohs(header->wlen); 525 packet_len = ntohs(header->wlen); [all...] |
/system/vold/ |
secdiscard.cpp | 221 size_t wlen = static_cast<size_t>(std::min(static_cast<off64_t>(sizeof(buf)), length)); local 222 auto written = write(fd, buf, wlen);
|
/external/tpm2/ |
RSAKeySieve.c | 245 int wLen; 263 // 3. wlen = len (w). 264 wLen = BN_num_bits(bnW); 265 pAssert((wLen & 7) == 0); 267 b.b.size = (UINT16)(wLen + 7)/8; 271 // Obtain a string b of wlen bits from an RBG. 273 // In the reference implementation, wLen is always a multiple of 8
|
/external/toybox/toys/pending/ |
telnet.c | 73 int wlen = write(TT.sfd, TT.iac, TT.piac); local 75 if(wlen <= 0) error_msg("IAC : send failed.");
|
syslogd.c | 363 int wlen, isNetwork = *tf->filename == '@'; local 365 wlen = sendto(tf->logfd, omsg, olen, 0, (struct sockaddr*)&tf->saddr, sizeof(tf->saddr)); 366 else wlen = write_rotate(tf, len); 367 if (wlen < 0) perror_msg("write failed file : %s ", tf->filename + isNetwork);
|
/external/pdfium/core/include/fxcrt/ |
fx_system.h | 215 int wlen,
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/common/ |
phNciNfcTypes.h | 231 uint16_t wLen; /* Length of the payload */
|
/prebuilts/go/darwin-x86/src/bytes/ |
buffer_test.go | 219 wlen := rand.Intn(len(data)) 221 s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, data[0:wlen]) 223 s = fillBytes(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testBytes[0:wlen])
|
/prebuilts/go/linux-x86/src/bytes/ |
buffer_test.go | 219 wlen := rand.Intn(len(data)) 221 s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, data[0:wlen]) 223 s = fillBytes(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testBytes[0:wlen])
|