Home
last modified time | relevance | path

Searched refs:nCharCount (Results 1 – 25 of 53) sorted by relevance

123

/dports/net/mDNSResponder/mDNSResponder-1310.140.1/mDNSMacOSX/BonjourTop/source/
H A DDNSFrame.cpp24 int nCharCount = 0; in GetDnsRecordNameFromBuffer() local
40 nCharCount = *pNameBuffer++; in GetDnsRecordNameFromBuffer()
41 if (nCharCount == 0) in GetDnsRecordNameFromBuffer()
52 if (nCharCount > DNS_LABEL_MAX_LENGTH) in GetDnsRecordNameFromBuffer()
67 pNameBuffer += nCharCount; in GetDnsRecordNameFromBuffer()
71 pNameBuffer+= nCharCount; in GetDnsRecordNameFromBuffer()
172 unsigned char nCharCount = 0; in ParseDnsRecord() local
196 nCharCount = *pTemp; in ParseDnsRecord()
199 if (nCharCount == 0) in ParseDnsRecord()
208 if (nCharCount > DNS_LABEL_MAX_LENGTH) in ParseDnsRecord()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/oox/
H A Dbiffhelper.cxx83 …sal_Int32 nCharCount = b32BitLen ? rStrm.readValue< sal_Int32 >() : rStrm.readValue< sal_Int16 >(); in readString() local
85 …OSL_ENSURE( !rStrm.isEof() && (nCharCount >= -1), "BiffHelper::readString - invalid string length"… in readString()
86 if( !rStrm.isEof() && (nCharCount > 0) ) in readString()
89nCharCount = ::std::min( nCharCount, static_cast< sal_Int32 >( rStrm.getRemaining() / 2 ) ); in readString()
90 aString = rStrm.readUnicodeArray( nCharCount ); in readString()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/oox/
H A Dbiffhelper.cxx95 …sal_Int32 nCharCount = b32BitLen ? rStrm.readValue< sal_Int32 >() : rStrm.readValue< sal_Int16 >(); in readString() local
97 …OSL_ENSURE( !rStrm.isEof() && (nCharCount >= -1), "BiffHelper::readString - invalid string length"… in readString()
98 if( !rStrm.isEof() && (nCharCount > 0) ) in readString()
101nCharCount = ::std::min( nCharCount, static_cast< sal_Int32 >( rStrm.getRemaining() / 2 ) ); in readString()
102 aString = rStrm.readUnicodeArray( nCharCount ); in readString()
/dports/graphics/py-gdal/gdal-3.3.3/port/
H A Dcpl_recode_stub.cpp150 const int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
153 utf8froma(pszResult, nCharCount * 2 + 1, pszSource, nCharCount); in CPLRecodeStub()
164 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
167 utf8toa(pszSource, nCharCount, pszResult, nCharCount + 1); in CPLRecodeStub()
212 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
218 for( int i = 0; i <nCharCount; i++ ) in CPLRecodeStub()
228 if( nCharCount ) in CPLRecodeStub()
229 memcpy( pszResult, pszSource, nCharCount ); in CPLRecodeStub()
243 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecodeStub()
255 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/port/
H A Dcpl_recode_stub.cpp150 const int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
153 utf8froma(pszResult, nCharCount * 2 + 1, pszSource, nCharCount); in CPLRecodeStub()
164 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
167 utf8toa(pszSource, nCharCount, pszResult, nCharCount + 1); in CPLRecodeStub()
212 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
218 for( int i = 0; i <nCharCount; i++ ) in CPLRecodeStub()
228 if( nCharCount ) in CPLRecodeStub()
229 memcpy( pszResult, pszSource, nCharCount ); in CPLRecodeStub()
243 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecodeStub()
255 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
[all …]
/dports/graphics/gdal/gdal-3.3.3/port/
H A Dcpl_recode_stub.cpp150 const int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
153 utf8froma(pszResult, nCharCount * 2 + 1, pszSource, nCharCount); in CPLRecodeStub()
164 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
167 utf8toa(pszSource, nCharCount, pszResult, nCharCount + 1); in CPLRecodeStub()
212 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
218 for( int i = 0; i <nCharCount; i++ ) in CPLRecodeStub()
228 if( nCharCount ) in CPLRecodeStub()
229 memcpy( pszResult, pszSource, nCharCount ); in CPLRecodeStub()
243 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecodeStub()
255 int nCharCount = static_cast<int>(strlen(pszSource)); in CPLRecodeStub() local
[all …]
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/port/
H A Dcpl_recode_stub.cpp99 int nCharCount = strlen(pszSource); in CPLRecode() local
100 char *pszResult = (char *) CPLCalloc(1,nCharCount*2+1); in CPLRecode()
102 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecode()
113 int nCharCount = strlen(pszSource); in CPLRecode() local
114 char *pszResult = (char *) CPLCalloc(1,nCharCount+1); in CPLRecode()
116 utf8toa( pszSource, nCharCount, pszResult, nCharCount+1 ); in CPLRecode()
127 int nCharCount = strlen(pszSource); in CPLRecode() local
139 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecode()
151 int nCharCount = strlen(pszSource); in CPLRecode() local
152 char *pszResult = (char *) CPLCalloc(1,nCharCount+1); in CPLRecode()
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/port/
H A Dcpl_recode_stub.cpp140 int nCharCount = strlen(pszSource); in CPLRecodeStub() local
141 char *pszResult = (char *) CPLCalloc(1,nCharCount*2+1); in CPLRecodeStub()
143 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecodeStub()
154 int nCharCount = strlen(pszSource); in CPLRecodeStub() local
155 char *pszResult = (char *) CPLCalloc(1,nCharCount+1); in CPLRecodeStub()
157 utf8toa( pszSource, nCharCount, pszResult, nCharCount+1 ); in CPLRecodeStub()
196 int nCharCount = strlen(pszSource); in CPLRecodeStub() local
207 utf8froma( pszResult, nCharCount*2+1, pszSource, nCharCount ); in CPLRecodeStub()
219 int nCharCount = strlen(pszSource); in CPLRecodeStub() local
220 char *pszResult = (char *) CPLCalloc(1,nCharCount+1); in CPLRecodeStub()
[all …]
/dports/net/hlmaster/hlmaster-0.9.3/lib/pfc++/src/
H A DPArgumentList.cpp393 int nCharCount; in ParseArguments() local
480 for(nCharCount = 1; pszArguments[nCount][nCharCount] != '\0'; nCharCount++) in ParseArguments()
482 if(pszArguments[nCount][nCharCount] == '=') in ParseArguments()
488 pLastRequireArg->SetValue(&pszArguments[nCount][nCharCount + 1]); in ParseArguments()
492 m_pUnknownValuesList->AddItem(&pszArguments[nCount][nCharCount + 1]); in ParseArguments()
500 m_pUnknownValuesList->AddItem(&pszArguments[nCount][nCharCount + 1]); in ParseArguments()
508 pItem = GetItem(pszArguments[nCount][nCharCount]); in ParseArguments()
515 szSmallArgBuffer[1] = pszArguments[nCount][nCharCount]; in ParseArguments()
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/usgsdem/
H A Dusgsdemdataset.cpp206 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
209 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
216 char backupC = szPtr[nCharCount]; in USGSDEMReadDoubleFromBuffer()
217 szPtr[nCharCount] = 0; in USGSDEMReadDoubleFromBuffer()
218 for( i = 0; i < nCharCount; i++ ) in USGSDEMReadDoubleFromBuffer()
225 szPtr[nCharCount] = backupC; in USGSDEMReadDoubleFromBuffer()
226 psBuffer->cur_index += nCharCount; in USGSDEMReadDoubleFromBuffer()
235 static double DConvert( VSILFILE *fp, int nCharCount ) in DConvert() argument
241 VSIFReadL( szBuffer, nCharCount, 1, fp ); in DConvert()
242 szBuffer[nCharCount] = '\0'; in DConvert()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/frmts/usgsdem/
H A Dusgsdemdataset.cpp232 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
235 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
243 char backupC = szPtr[nCharCount]; in USGSDEMReadDoubleFromBuffer()
244 szPtr[nCharCount] = 0; in USGSDEMReadDoubleFromBuffer()
245 for( int i = 0; i < nCharCount; i++ ) in USGSDEMReadDoubleFromBuffer()
252 szPtr[nCharCount] = backupC; in USGSDEMReadDoubleFromBuffer()
253 psBuffer->cur_index += nCharCount; in USGSDEMReadDoubleFromBuffer()
263 static double DConvert( VSILFILE *fp, int nCharCount ) in DConvert() argument
268 CPL_IGNORE_RET_VAL(VSIFReadL( szBuffer, nCharCount, 1, fp )); in DConvert()
269 szBuffer[nCharCount] = '\0'; in DConvert()
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/usgsdem/
H A Dusgsdemdataset.cpp232 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
235 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
243 char backupC = szPtr[nCharCount]; in USGSDEMReadDoubleFromBuffer()
244 szPtr[nCharCount] = 0; in USGSDEMReadDoubleFromBuffer()
245 for( int i = 0; i < nCharCount; i++ ) in USGSDEMReadDoubleFromBuffer()
252 szPtr[nCharCount] = backupC; in USGSDEMReadDoubleFromBuffer()
253 psBuffer->cur_index += nCharCount; in USGSDEMReadDoubleFromBuffer()
263 static double DConvert( VSILFILE *fp, int nCharCount ) in DConvert() argument
268 CPL_IGNORE_RET_VAL(VSIFReadL( szBuffer, nCharCount, 1, fp )); in DConvert()
269 szBuffer[nCharCount] = '\0'; in DConvert()
[all …]
/dports/graphics/gdal/gdal-3.3.3/frmts/usgsdem/
H A Dusgsdemdataset.cpp232 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
235 if (psBuffer->cur_index + nCharCount > psBuffer->buffer_size) in USGSDEMReadDoubleFromBuffer()
243 char backupC = szPtr[nCharCount]; in USGSDEMReadDoubleFromBuffer()
244 szPtr[nCharCount] = 0; in USGSDEMReadDoubleFromBuffer()
245 for( int i = 0; i < nCharCount; i++ ) in USGSDEMReadDoubleFromBuffer()
252 szPtr[nCharCount] = backupC; in USGSDEMReadDoubleFromBuffer()
253 psBuffer->cur_index += nCharCount; in USGSDEMReadDoubleFromBuffer()
263 static double DConvert( VSILFILE *fp, int nCharCount ) in DConvert() argument
268 CPL_IGNORE_RET_VAL(VSIFReadL( szBuffer, nCharCount, 1, fp )); in DConvert()
269 szBuffer[nCharCount] = '\0'; in DConvert()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/gdi/
H A DCommonSalLayout.cxx506 int32_t nCharCount = 0; in LayoutText() local
517 nCharCount = 0; in LayoutText()
531 nCharCount = nNextCharPos - nCharPos; in LayoutText()
543 nCharCount = 0; in LayoutText()
557 nCharCount = nNextCharPos - nCharPos; in LayoutText()
620 const GlyphItem aGI(nCharPos, nCharCount, nGlyphIndex, aNewPos, nGlyphFlags, in LayoutText()
640 const int nCharCount = mnEndCharPos - mnMinCharPos; in GetCharWidths() local
642 for (int i = 0; i < nCharCount; ++i) in GetCharWidths()
648 if (nIndex >= nCharCount) in GetCharWidths()
676 int nCharCount = mnEndCharPos - mnMinCharPos; in ApplyDXArray() local
[all …]
H A Dsallayout.cxx1073 int nCharCount = rArgs.mnEndCharPos - rArgs.mnMinCharPos; in AdjustLayout() local
1081 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout()
1094 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout()
1114 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout()
1426 int nCharCount = mnEndCharPos - mnMinCharPos; in GetTextBreak() local
1437 for( int i = 0; i < nCharCount; ++i ) in GetTextBreak()
1449 for( int i = 0; i < nCharCount; ++i ) in GetTextBreak()
1466 const int nCharCount = mnEndCharPos - mnMinCharPos; in FillDXArray() local
1469 for( int i = 0; i < nCharCount; ++i ) in FillDXArray()
1471 pTempWidths.reset(new DeviceCoordinate[nCharCount]); in FillDXArray()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/gdi/
H A DCommonSalLayout.cxx474 int32_t nCharCount = 0; in LayoutText() local
485 nCharCount = 0; in LayoutText()
499 nCharCount = nNextCharPos - nCharPos; in LayoutText()
511 nCharCount = 0; in LayoutText()
525 nCharCount = nNextCharPos - nCharPos; in LayoutText()
595 const GlyphItem aGI(nCharPos, nCharCount, nGlyphIndex, aNewPos, nGlyphFlags, in LayoutText()
615 const int nCharCount = mnEndCharPos - mnMinCharPos; in GetCharWidths() local
617 for (int i = 0; i < nCharCount; ++i) in GetCharWidths()
623 if (nIndex >= nCharCount) in GetCharWidths()
651 int nCharCount = mnEndCharPos - mnMinCharPos; in ApplyDXArray() local
[all …]
H A Dsallayout.cxx1050 int nCharCount = rArgs.mnEndCharPos - rArgs.mnMinCharPos; in AdjustLayout() local
1058 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout()
1071 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout()
1091 for( int i = 0; i < nCharCount; ++i ) in AdjustLayout()
1403 int nCharCount = mnEndCharPos - mnMinCharPos; in GetTextBreak() local
1414 for( int i = 0; i < nCharCount; ++i ) in GetTextBreak()
1426 for( int i = 0; i < nCharCount; ++i ) in GetTextBreak()
1443 const int nCharCount = mnEndCharPos - mnMinCharPos; in FillDXArray() local
1446 for( int i = 0; i < nCharCount; ++i ) in FillDXArray()
1448 pTempWidths.reset(new DeviceCoordinate[nCharCount]); in FillDXArray()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/
H A Dimpglyphitem.hxx65 GlyphItem(int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const Point& rLinearPos, in GlyphItem() argument
69 , m_nCharCount(nCharCount) in GlyphItem()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/inc/
H A Dimpglyphitem.hxx65 GlyphItem(int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const Point& rLinearPos, in GlyphItem() argument
69 , m_nCharCount(nCharCount) in GlyphItem()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/qa/OStringBuffer/
H A Drtl_String_Const.h354 const sal_Int32 nCharCount=15; variable
355 const sal_Unicode expValChar[nCharCount] =
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/qa/OStringBuffer/
H A Drtl_String_Const.h354 static const sal_Int32 nCharCount=15; variable
355 static const sal_Unicode expValChar[nCharCount] =
/dports/editors/libreoffice/libreoffice-7.2.6.2/filter/source/msfilter/
H A Dsvdfppt.cxx4775 sal_uInt32 nCharCount(0); in Read() local
4777 nCharIdx += nCharCount; in Read()
4884 nCharCount--; in ReadParaProps()
5071 nCharCount = nStringLen; in ReadParaProps()
5081 if ( ( nCharCount > nStringLen ) || ( nStringLen < nCharReadCnt + nCharCount ) ) in ReadParaProps()
5095 if ( nCharCount ) in ReadParaProps()
5109 nCharReadCnt += nCharCount + 1; in ReadParaProps()
5292 sal_uInt32 nCharCount; in Init() local
5315 sal_uInt32 nCharCount; in Init() local
5345 while( nCharCount ) in Init()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/msfilter/
H A Dsvdfppt.cxx4765 sal_uInt32 nCharCount(0); in Read() local
4767 nCharIdx += nCharCount; in Read()
4874 nCharCount--; in ReadParaProps()
5060 nCharCount = nStringLen; in ReadParaProps()
5070 if ( ( nCharCount > nStringLen ) || ( nStringLen < nCharReadCnt + nCharCount ) ) in ReadParaProps()
5084 if ( nCharCount ) in ReadParaProps()
5098 nCharReadCnt += nCharCount + 1; in ReadParaProps()
5281 sal_uInt32 nCharCount; in Init() local
5304 sal_uInt32 nCharCount; in Init() local
5334 while( nCharCount ) in Init()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfdoc/
H A Dcpdf_variabletext.cpp280 int32_t nCharCount = 0; in SetText() local
282 if (m_nLimitChar > 0 && nCharCount >= m_nLimitChar) in SetText()
284 if (m_nCharArray > 0 && nCharCount >= m_nCharArray) in SetText()
312 nCharCount++; in SetText()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfdoc/
H A Dcpdf_variabletext.cpp281 int32_t nCharCount = 0; in SetText() local
283 if (m_nLimitChar > 0 && nCharCount >= m_nLimitChar) in SetText()
285 if (m_nCharArray > 0 && nCharCount >= m_nCharArray) in SetText()
313 nCharCount++; in SetText()

123