Searched refs:iTokLen (Results 1 – 4 of 4) sorted by relevance
/dports/textproc/libsphinxclient/sphinx-2.0.9-release/src/ |
H A D | indexer.cpp | 321 int iTokLen = -1; in ParseMultiAttr() local 333 #define LOC_TOK() { sTok = sBuf; while ( sphIsAlpha(*sBuf) ) sBuf++; iTokLen = sBuf-sTok; } in ParseMultiAttr() 334 #define LOC_TOKEQ(_arg) ( iTokLen==(int)strlen(_arg) && strncasecmp ( sTok, _arg, iTokLen )==0 ) in ParseMultiAttr() 346 if ( iTokLen ) tAttr.m_sName.SetBinary ( sTok, iTokLen ); in ParseMultiAttr() 364 if ( iTokLen ) tAttr.m_sQuery.SetBinary ( sTok, iTokLen ); in ParseMultiAttr() 371 if ( iTokLen ) tAttr.m_sQueryRange.SetBinary ( sTok, iTokLen ); in ParseMultiAttr() 550 int iTokLen = 0; in ParseJoinedField() local 552 if ( iTokLen ) in ParseJoinedField() 553 pField->m_sQuery.SetBinary ( sTmp, iTokLen ); in ParseJoinedField() 562 if ( iTokLen ) in ParseJoinedField() [all …]
|
/dports/textproc/sphinxsearch/sphinx-2.2.11-release/src/ |
H A D | indexer.cpp | 315 int iTokLen = -1; in ParseMultiAttr() local 327 #define LOC_TOK() { sTok = sBuf; while ( sphIsAlpha(*sBuf) ) sBuf++; iTokLen = sBuf-sTok; } in ParseMultiAttr() 328 #define LOC_TOKEQ(_arg) ( iTokLen==(int)strlen(_arg) && strncasecmp ( sTok, _arg, iTokLen )==0 ) in ParseMultiAttr() 340 if ( iTokLen ) tAttr.m_sName.SetBinary ( sTok, iTokLen ); in ParseMultiAttr() 358 if ( iTokLen ) tAttr.m_sQuery.SetBinary ( sTok, iTokLen ); in ParseMultiAttr() 365 if ( iTokLen ) tAttr.m_sQueryRange.SetBinary ( sTok, iTokLen ); in ParseMultiAttr() 545 int iTokLen = 0; in ParseJoinedField() local 547 if ( iTokLen ) in ParseJoinedField() 548 pField->m_sQuery.SetBinary ( sTmp, iTokLen ); in ParseJoinedField() 557 if ( iTokLen ) in ParseJoinedField() [all …]
|
H A D | sphinxexcerpt.cpp | 806 int iTokLen = m_dTokenStream.Last() & 15; in StoreOverlap() local 807 assert ( iTokLen > 0 ); in StoreOverlap() 809 if ( iLen<=4 && iTokLen<=16 ) in StoreOverlap() 812 m_dTokenStream.Last() = ( uType<<4 )+ (BYTE)iTokLen-1; in StoreOverlap() 815 } else if ( iLen>=5 && iLen<=6 && iTokLen<=8 ) in StoreOverlap() 817 m_dTokenStream.Last() = (BYTE)( ( TYPE_TOKOVER5<<4 ) + ( ( iTokLen-1 ) << 1 ) + iLen-5 ); in StoreOverlap()
|
H A D | sphinx.cpp | 5040 int iTokLen = strnlen ( dBuf.Begin() + iOff, SPH_MAX_WORD_LEN*3 ); in AddTokenRLP() local 5041 dBuf.Resize ( iOff+iTokLen ); in AddTokenRLP()
|