/external/fastrpc/src/ |
D | BufBound.c | 86 int nLen = *pnLen; in BufBound_ValidateWrite() local 90 if ( nMaxCopy < nLen ) { in BufBound_ValidateWrite() 94 if (nLen > nMaxAdvance) { in BufBound_ValidateWrite() 95 nLen = nMaxAdvance; in BufBound_ValidateWrite() 102 nMaxCopy = nLen; in BufBound_ValidateWrite() 106 me->pcWrite = pcWrite + nLen; in BufBound_ValidateWrite() 110 void BufBound_Write(BufBound *me, const char *pc, int nLen) in BufBound_Write() argument 112 if (nLen > 0) { in BufBound_Write() 113 char *pcDest = BufBound_ValidateWrite(me, &nLen); in BufBound_Write() 115 while (--nLen >= 0) { in BufBound_Write() [all …]
|
D | std.c | 143 int nLen = std_strlen(cpszSrc); in std_strlcpy() local 148 n = STD_MIN(nLen, nDestSize - 1); in std_strlcpy() 154 return nLen; in std_strlcpy() 159 int nLen = 0; in std_strlcat() local 161 while ((nLen < nDestSize) && (0 != pcDst[nLen])) { in std_strlcat() 162 ++nLen; in std_strlcat() 165 return nLen + std_strlcpy(pcDst+nLen, cpszSrc, nDestSize-nLen); in std_strlcat() 227 int nLen = std_wstrlen(cpwszSrc); in std_wstrlcpy() local 232 n = STD_MIN(nLen, nDestSize - 1); in std_wstrlcpy() 240 return nLen; in std_wstrlcpy() [all …]
|
D | std_mem.c | 51 void* std_memset(void* p, int c, int nLen) in std_memset() argument 53 if (nLen < 0) { in std_memset() 56 return memset(p, c, (size_t)nLen); in std_memset() 59 void* std_memmove(void* pTo, const void* cpFrom, int nLen) in std_memmove() argument 61 if (nLen <= 0) { in std_memmove() 65 std_memsmove(pTo, (size_t)nLen, cpFrom, (size_t)nLen); in std_memmove() 68 return memmove(pTo, cpFrom, (size_t)nLen); in std_memmove()
|
D | apps_std_skel.c | 480 _ASSERT(_nErr, _pra[0].buf.nLen >= 12); in _skel_method() 485 _ASSERT(_nErr, (int)((_praIn[0].buf.nLen / 1)) >= (int)(_in1Len[0])); in _skel_method() 489 _ASSERT(_nErr, (int)((_praIn[1].buf.nLen / 1)) >= (int)(_in2Len[0])); in _skel_method() 505 _ASSERT(_nErr, _pra[0].buf.nLen >= 12); in _skel_method_1() 528 _ASSERT(_nErr, _pra[0].buf.nLen >= 8); in _skel_method_2() 530 _ASSERT(_nErr, _pra[(_numIn[0] + 1)].buf.nLen >= 96); in _skel_method_2() 535 _ASSERT(_nErr, (int)((_praIn[0].buf.nLen / 1)) >= (int)(_in1Len[0])); in _skel_method_2() 564 _ASSERT(_nErr, _pra[0].buf.nLen >= 4); in _skel_method_3() 568 _ASSERT(_nErr, (int)((_praIn[0].buf.nLen / 1)) >= (int)(_in0Len[0])); in _skel_method_3() 585 _ASSERT(_nErr, _pra[0].buf.nLen >= 8); in _skel_method_4() [all …]
|
D | std_strlprintf.c | 74 int nLen; // length of string (after prefix) member 175 me->nLen = pc - pcRev; in FormatNumber() 388 me->nLen = BufBound_ReallyWrote(&OutBuf) - me->nPrefix - 1; in ConvertFloat() 416 me->nLen = 0; in FormatFloat() 427 me->nLen = std_strlcpy(pcBuffer, STD_DTOA_NEGATIVE_INF_UPPER_CASE, in FormatFloat() 431 me->nLen = std_strlcpy(pcBuffer, STD_DTOA_NEGATIVE_INF_LOWER_CASE, in FormatFloat() 443 me->nLen = std_strlcpy(pcBuffer, STD_DTOA_POSITIVE_INF_UPPER_CASE, in FormatFloat() 447 me->nLen = std_strlcpy(pcBuffer, STD_DTOA_POSITIVE_INF_LOWER_CASE, in FormatFloat() 459 me->nLen = std_strlcpy(pcBuffer, STD_DTOA_NAN_UPPER_CASE, in FormatFloat() 464 me->nLen = std_strlcpy(pcBuffer, STD_DTOA_NAN_LOWER_CASE, in FormatFloat() [all …]
|
D | adsp_listener_stub.c | 534 _praROut[0].buf.nLen = (1 * _rout0Len[0]); in _stub_pack() 549 _praIn[0].buf.nLen = (1 * _in0Len[0]); in _stub_pack_1() 594 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method() 596 _pra[(_numIn[0] + 1)].buf.nLen = sizeof(_primROut); in _stub_method() 604 _praIn[0].buf.nLen = (4 * _in2Len[0]); in _stub_method() 611 _praIn[1].buf.nLen = (4 * _rout6Len[0]); in _stub_method() 618 _praROut[0].buf.nLen = (4 * _rout7Len[0]); in _stub_method() 621 _praROut[1].buf.nLen = (4 * _rout8Len[0]); in _stub_method() 660 _praROut[0].buf.nLen = (1 * _rout0Len[0]); in _stub_pack_2() 690 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_1() [all …]
|
D | remotectl_stub.c | 567 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method() 569 _pra[(_numIn[0] + 1)].buf.nLen = sizeof(_primROut); in _stub_method() 574 _praIn[0].buf.nLen = (1 * _in0Len[0]); in _stub_method() 578 _praROut[0].buf.nLen = (1 * _rout2Len[0]); in _stub_method() 599 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_1() 601 _pra[(_numIn[0] + 1)].buf.nLen = sizeof(_primROut); in _stub_method_1() 607 _praROut[0].buf.nLen = (1 * _rout1Len[0]); in _stub_method_1() 622 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_2() 639 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_3() 644 _praIn[0].buf.nLen = (4 * _in1Len[0]); in _stub_method_3()
|
D | apps_remotectl_skel.c | 432 _ASSERT(_nErr, _pra[0].buf.nLen >= 8); in _skel_method() 434 _ASSERT(_nErr, _pra[(_numIn[0] + 1)].buf.nLen >= 4); in _skel_method() 440 _ASSERT(_nErr, (int)((_praROut[0].buf.nLen / 1)) >= (int)(_rout1Len[0])); in _skel_method() 464 _ASSERT(_nErr, _pra[0].buf.nLen >= 8); in _skel_method_1() 466 _ASSERT(_nErr, _pra[(_numIn[0] + 1)].buf.nLen >= 8); in _skel_method_1() 470 _ASSERT(_nErr, (int)((_praIn[0].buf.nLen / 1)) >= (int)(_in0Len[0])); in _skel_method_1() 478 _ASSERT(_nErr, (int)((_praROut[0].buf.nLen / 1)) >= (int)(_rout2Len[0])); in _skel_method_1()
|
D | apps_mem_skel.c | 469 _ASSERT(_nErr, _pra[0].buf.nLen >= 12); in _skel_method() 490 _ASSERT(_nErr, _pra[0].buf.nLen >= 8); in _skel_method_1() 492 _ASSERT(_nErr, _pra[(_numIn[0] + 1)].buf.nLen >= 16); in _skel_method_1() 510 _ASSERT(_nErr, _pra[0].buf.nLen >= 16); in _skel_method_2() 534 _ASSERT(_nErr, _pra[0].buf.nLen >= 32); in _skel_method_3() 536 _ASSERT(_nErr, _pra[(_numIn[0] + 1)].buf.nLen >= 16); in _skel_method_3() 557 _ASSERT(_nErr, _pra[0].buf.nLen >= 8); in _skel_method_4() 581 _ASSERT(_nErr, _pra[0].buf.nLen >= 20); in _skel_method_5() 583 _ASSERT(_nErr, _pra[(_numIn[0] + 1)].buf.nLen >= 8); in _skel_method_5()
|
D | adsp_perf_stub.c | 559 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method() 578 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_1() 583 _praROut[0].buf.nLen = (8 * _rout0Len[0]); in _stub_method_1() 602 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_2() 604 _pra[(_numIn[0] + 1)].buf.nLen = sizeof(_primROut); in _stub_method_2() 609 _praROut[0].buf.nLen = (1 * _rout0Len[0]); in _stub_method_2()
|
D | adsp_current_process1_stub.c | 508 _praIn[0].buf.nLen = (1 * _in0Len[0]); in _stub_pack() 542 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_1() 548 _praIn[0].buf.nLen = (4 * _in1Len[0]); in _stub_method_1() 574 _pra[(_numIn[0] + 0)].buf.nLen = sizeof(_primROut); in _stub_method_2()
|
D | adsp_current_process_stub.c | 590 _praIn[0].buf.nLen = (1 * _in0Len[0]); in _stub_pack() 624 _pra[0].buf.nLen = sizeof(_primIn); in _stub_method_1() 630 _praIn[0].buf.nLen = (4 * _in1Len[0]); in _stub_method_1() 656 _pra[(_numIn[0] + 0)].buf.nLen = sizeof(_primROut); in _stub_method_2()
|
D | adspmsgd_apps_skel.c | 473 _ASSERT(_nErr, _pra[0].buf.nLen >= 4); in _skel_method() 477 _ASSERT(_nErr, (int)((_praIn[0].buf.nLen / 1)) >= (int)(_in0Len[0])); in _skel_method()
|
/external/pdfium/core/fxcrt/ |
D | string_data_template.h | 19 static StringDataTemplate* Create(size_t nLen) { in Create() argument 20 ASSERT(nLen > 0); in Create() 25 pdfium::base::CheckedNumeric<size_t> nSize = nLen; in Create() 37 ASSERT(usableLen >= nLen); in Create() 41 return new (pData) StringDataTemplate(nLen, usableLen); in Create() 44 static StringDataTemplate* Create(const CharType* pStr, size_t nLen) { in Create() argument 45 StringDataTemplate* result = Create(nLen); in Create() 46 result->CopyContents(pStr, nLen); in Create() 66 void CopyContents(const CharType* pStr, size_t nLen) { in CopyContents() argument 67 ASSERT(nLen >= 0); in CopyContents() [all …]
|
D | bytestring.cpp | 118 ByteString::ByteString(const char* pStr, size_t nLen) { in ByteString() argument 119 if (nLen) in ByteString() 120 m_pData.Reset(StringData::Create(pStr, nLen)); in ByteString() 123 ByteString::ByteString(const uint8_t* pStr, size_t nLen) { in ByteString() argument 124 if (nLen) in ByteString() 126 StringData::Create(reinterpret_cast<const char*>(pStr), nLen)); in ByteString()
|
/external/fastrpc/inc/ |
D | listener_buf.h | 42 len = (uint32_t)pra[ii].buf.nLen; in pack_in_bufs() 56 len = (uint32_t)pra[ii].buf.nLen; in pack_out_lens() 67 pra[ii].buf.nLen = len; in unpack_in_bufs() 68 if(pra[ii].buf.nLen) { in unpack_in_bufs() 70 if((int)pra[ii].buf.nLen <= sbuf_left(buf)) { in unpack_in_bufs() 73 sbuf_advance(buf, pra[ii].buf.nLen); in unpack_in_bufs() 84 pra[ii].buf.nLen = len; in unpack_out_lens() 95 len = (uint32_t)pra[ii].buf.nLen; in pack_out_bufs() 97 if(pra[ii].buf.nLen) { in pack_out_bufs() 99 if((int)pra[ii].buf.nLen <= sbuf_left(buf)) { in pack_out_bufs() [all …]
|
D | AEEBufBound.h | 61 extern void BufBound_Init(BufBound *me, char *pBuf, int nLen); 62 extern void BufBound_Write(BufBound *me, const char *pc, int nLen); 67 extern void BufBound_Advance(BufBound *me, int nLen);
|
D | AEEstd.h | 97 extern void * std_memset(void *p, int c, int nLen); 98 extern void * std_memmove(void *pTo, const void *cpFrom, int nLen); 105 extern void * std_memrchrbegin(const void* p, int c, int nLen); 106 extern void * std_memchrend(const void* cpcSrch, int c, int nLen); 107 extern void * std_memchrsend(const void *cpSrch, const char* cpszChars, int nLen); 126 extern int std_wstrncmp(const AECHAR* s1, const AECHAR* s2, int nLen);
|
D | remote64.h | 41 int64_t nLen; member
|
D | fastrpc_internal.h | 293 rpra[ii].buf.nLen = pra[ii].buf.nLen; in to_smq_data()
|
D | remote.h | 47 size_t nLen; member
|
/external/pdfium/core/fpdftext/ |
D | cpdf_textpagefind.cpp | 107 int nLen = lpchEnd ? static_cast<int>(lpchEnd - lpszFullString) in ExtractSubString() local 109 if (nLen < 0) in ExtractSubString() 112 return WideString(lpszFullString, static_cast<size_t>(nLen)); in ExtractSubString()
|
D | cpdf_linkextract.cpp | 273 size_t nLen = str->GetLength(); in CheckMailLink() local 275 for (size_t i = aPos.value() + 1; i < nLen; i++) { in CheckMailLink()
|
/external/pdfium/core/fxge/ |
D | cfx_fontmapper.cpp | 457 int nLen = family.GetLength(); in FindSubstFont() local 463 family = family.First(nLen - len); in FindSubstFont() 475 int nLen = style.GetLength(); in FindSubstFont() local 480 while (i < nLen) { in FindSubstFont() 481 buf = ParseStyle(pStyle, nLen, i); in FindSubstFont()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_annot.cpp | 467 size_t nLen = pDashArray->size(); in DrawBorder() local 469 for (; i < nLen; ++i) { in DrawBorder() 475 if (i == nLen) { in DrawBorder()
|