Home
last modified time | relevance | path

Searched refs:nRet (Results 1 – 23 of 23) sorted by relevance

/external/pdfium/testing/
Dembedder_test.cpp140 int32_t nRet = PDF_DATA_NOTAVAIL; in OpenDocument() local
141 while (nRet == PDF_DATA_NOTAVAIL) { in OpenDocument()
142 nRet = FPDFAvail_IsDocAvail(avail_, &hints_); in OpenDocument()
144 if (nRet == PDF_DATA_ERROR) { in OpenDocument()
147 nRet = FPDFAvail_IsFormAvail(avail_, &hints_); in OpenDocument()
148 if (nRet == PDF_FORM_ERROR || nRet == PDF_FORM_NOTAVAIL) { in OpenDocument()
153 nRet = PDF_DATA_NOTAVAIL; in OpenDocument()
154 while (nRet == PDF_DATA_NOTAVAIL) { in OpenDocument()
155 nRet = FPDFAvail_IsPageAvail(avail_, i, &hints_); in OpenDocument()
157 if (nRet == PDF_DATA_ERROR) { in OpenDocument()
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_Context.cpp91 int32_t nRet; in decode_SquentialOrgnazation() local
98 nRet = parseSegmentHeader(m_pSegment.get()); in decode_SquentialOrgnazation()
99 if (nRet != JBIG2_SUCCESS) { in decode_SquentialOrgnazation()
101 return nRet; in decode_SquentialOrgnazation()
105 nRet = parseSegmentData(m_pSegment.get(), pPause); in decode_SquentialOrgnazation()
111 if (nRet == JBIG2_END_OF_PAGE || nRet == JBIG2_END_OF_FILE) { in decode_SquentialOrgnazation()
115 if (nRet != JBIG2_SUCCESS) { in decode_SquentialOrgnazation()
117 return nRet; in decode_SquentialOrgnazation()
139 int32_t nRet; in decode_RandomOrgnazation_FirstPage() local
142 nRet = parseSegmentHeader(pSegment.get()); in decode_RandomOrgnazation_FirstPage()
[all …]
/external/pdfium/samples/
Dpdfium_test.cc436 int nRet = PDF_DATA_NOTAVAIL; in RenderPdf() local
444 while (nRet == PDF_DATA_NOTAVAIL) { in RenderPdf()
445 nRet = FPDFAvail_IsDocAvail(pdf_avail, &hints); in RenderPdf()
447 if (nRet == PDF_DATA_ERROR) { in RenderPdf()
451 nRet = FPDFAvail_IsFormAvail(pdf_avail, &hints); in RenderPdf()
452 if (nRet == PDF_FORM_ERROR || nRet == PDF_FORM_NOTAVAIL) { in RenderPdf()
455 nRet); in RenderPdf()
520 nRet = PDF_DATA_NOTAVAIL; in RenderPdf()
521 while (nRet == PDF_DATA_NOTAVAIL) { in RenderPdf()
522 nRet = FPDFAvail_IsPageAvail(pdf_avail, i, &hints); in RenderPdf()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DJS_Context.cpp58 int nRet = 0; in RunScript() local
60 nRet = m_pRuntime->Execute(this, script.c_str(), &sErrorMessage); in RunScript()
63 if (nRet < 0) { in RunScript()
73 return nRet >= 0; in RunScript()
DJS_Runtime.cpp241 int nRet = FXJS_Execute(m_isolate, cc, script, &error); local
242 if (nRet < 0) {
246 return nRet;
DPublicMethods.cpp378 int nRet = 0; in ParseStringInteger() local
388 nRet = nRet * 10 + FXSYS_toDecimalDigitWide(c); in ParseStringInteger()
394 return nRet; in ParseStringInteger()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp626 int nRet = temp->second->ReleaseFace(face); in ReleaseFace() local
627 if (nRet == -1) in ReleaseFace()
630 if (nRet == 0) in ReleaseFace()
927 int32_t nRet = GetStyleType(family, TRUE); in FindSubstFont() local
928 if (nRet > -1) { in FindSubstFont()
929 family = family.Left(nLen - g_FontStyles[nRet].len); in FindSubstFont()
930 if (nRet == 0) { in FindSubstFont()
933 if (nRet == 1) { in FindSubstFont()
936 if (nRet == 2) { in FindSubstFont()
959 int32_t nRet = GetStyleType(buf, FALSE); in FindSubstFont() local
[all …]
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtengine.cpp448 int32_t nRet = pField->Replace(nSelStart - nBgn, nSelCount, in Insert() local
451 switch (nRet) { in Insert()
506 int32_t nRet = in Insert() local
509 switch (nRet) { in Insert()
682 int32_t nRet = in Delete() local
685 switch (nRet) { in Delete()
1975 int32_t nRet = pField->NormalizeCaretPos( in NormalizeCaretPos() local
1977 if (nRet >= 0) { in NormalizeCaretPos()
1978 return nRet + nBgn; in NormalizeCaretPos()
1980 if (nRet == -2) { in NormalizeCaretPos()
[all …]
Dfde_txtedtblock.cpp253 int32_t nRet = Validate(wsTemp); in Insert() local
254 switch (nRet) { in Insert()
286 int32_t nRet = Validate(wsTemp); in Delete() local
287 switch (nRet) { in Delete()
327 int32_t nRet = Validate(wsTemp); in Replace() local
328 switch (nRet) { in Replace()
Dfde_txtedtpage.cpp373 int32_t nRet = pIter->GetWordPos(); in SelectWord() local
375 return nRet; in SelectWord()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_win.cc89 int32_t nRet = WSAEnumProtocols(NULL, lpProtocolBuf, &dwBufLen); in UdpSocket2Windows() local
91 nRet = WSAEnumProtocols(NULL, lpProtocolBuf, &dwBufLen); in UdpSocket2Windows()
100 for (int32_t i=0; i<nRet; i++) in UdpSocket2Windows()
169 int32_t nRet = setsockopt(_socket, SOL_SOCKET, SO_SNDBUF, in UdpSocket2Windows() local
171 if( nRet == SOCKET_ERROR ) in UdpSocket2Windows()
570 int32_t nRet = 0; in PostRecv() local
589 nRet = WSARecvFrom( in PostRecv()
600 if( nRet == SOCKET_ERROR) in PostRecv()
619 if((rxError == ERROR_IO_PENDING) || (nRet == 0)) in PostRecv()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Edit.h24 int32_t& nRet,
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_IFormFiller.h150 int32_t& nRet,
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_imp.cpp628 int32_t nRet = -1; in ResolveObjects() local
696 nRet = m_pResolveProcessor->XFA_ResolveNodes(rndFind); in ResolveObjects()
697 if (nRet < 1) { in ResolveObjects()
Dxfa_script_resolveprocessor.cpp78 int32_t nRet = XFA_ResolveNodes_Normal(rnd); in XFA_ResolveNodes() local
79 if (nRet < 1 && rnd.m_uHashName == XFA_HASHCODE_Xfa) { in XFA_ResolveNodes()
/external/pdfium/fpdfsdk/src/
Dfsdk_baseform.cpp238 int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param); in OnXFAAAction() local
239 return nRet == XFA_EVENTERROR_Sucess; in OnXFAAAction()
244 int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param); in OnXFAAAction() local
245 return nRet == XFA_EVENTERROR_Sucess; in OnXFAAAction()
1912 int32_t nRet = pXFAWidgetHandler->ProcessEvent(pAcc, &param); local
1918 if (nRet == XFA_EVENTERROR_Sucess)
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp3946 int32_t nRet = CheckCrossRefStream(pHints, xref_offset); in CheckAllCrossRefStream() local
3947 if (nRet == 1) { in CheckAllCrossRefStream()
3956 if (nRet == -1) { in CheckAllCrossRefStream()
4385 DocAvailStatus nRet = CheckLinearizedData(pHints); in CheckLinearizedFirstPage() local
4386 if (nRet == DataAvailable) in CheckLinearizedFirstPage()
4388 return nRet; in CheckLinearizedFirstPage()
4429 DocAvailStatus nRet = CheckLinearizedFirstPage(iPage, pHints); in IsPageAvail() local
4430 if (nRet == DataAvailable) in IsPageAvail()
4432 return nRet; in IsPageAvail()
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_IFormFiller.cpp569 int32_t& nRet, in QueryWherePopup() argument
635 nRet = bBottom ? 0 : 1; in QueryWherePopup()
/external/libvncserver/libvncserver/
Drfbserver.c1595 int nRet = 0; in rfbProcessFileTransfer() local
1829 nRet = uncompress(compBuff,&nRawBytes,(const unsigned char*)buffer, length); in rfbProcessFileTransfer()
1830 if(nRet == Z_OK) in rfbProcessFileTransfer()
/external/llvm/lib/Target/
DREADME.txt550 int nRet = 17;
554 nRet += 2;
556 nRet -= 1;
558 return nRet;
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_fm2jscontext.cpp2525 FX_DOUBLE nRet = r * nTemp / (nTemp - 1) - nPayment / nPrincipal; in Apr() local
2526 while ((nRet > FINANCIAL_PRECISION || nRet < -FINANCIAL_PRECISION) && in Apr()
2537 r = r - nRet / nDerivative; in Apr()
2542 nRet = r * nTemp / (nTemp - 1) - nPayment / nPrincipal; in Apr()
/external/sqlite/dist/
Dsqlite3.c16047 int nRet = 0; in sqlite3_db_status() local
16054 sqlite3PagerCacheStat(pPager, op, resetFlag, &nRet); in sqlite3_db_status()
16060 *pCurrent = nRet; in sqlite3_db_status()
61055 int nRet = 0;
61081 nRet++;
61088 return nRet;
66411 int nRet;
66421 nRet = 1 + nSerial + nVal;
66422 aRet = sqlite3DbMallocRaw(db, nRet);
66429 sqlite3_result_blob(context, aRet, nRet, SQLITE_TRANSIENT);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c16047 int nRet = 0; in sqlite3_db_status() local
16054 sqlite3PagerCacheStat(pPager, op, resetFlag, &nRet); in sqlite3_db_status()
16060 *pCurrent = nRet; in sqlite3_db_status()
61037 int nRet = 0;
61063 nRet++;
61070 return nRet;
66393 int nRet;
66403 nRet = 1 + nSerial + nVal;
66404 aRet = sqlite3DbMallocRaw(db, nRet);
66411 sqlite3_result_blob(context, aRet, nRet, SQLITE_TRANSIENT);
[all …]