Home
last modified time | relevance | path

Searched refs:wordBegin (Results 1 – 19 of 19) sorted by relevance

/dports/textproc/goldendict/goldendict-73ec1b5/
H A Dfolding.cc609 wchar const * wordBegin = in.c_str(); in trimWhitespaceOrPunct() local
613 while( *wordBegin && ( Folding::isWhitespace( *wordBegin ) || Folding::isPunct( *wordBegin ) ) ) in trimWhitespaceOrPunct()
615 ++wordBegin; in trimWhitespaceOrPunct()
620 while( wordSize && ( Folding::isWhitespace( wordBegin[ wordSize - 1 ] ) || in trimWhitespaceOrPunct()
621 Folding::isPunct( wordBegin[ wordSize - 1 ] ) ) ) in trimWhitespaceOrPunct()
624 return wstring( wordBegin, wordSize ); in trimWhitespaceOrPunct()
629 wchar const * wordBegin = in.c_str(); in trimWhitespace() local
633 while( *wordBegin && Folding::isWhitespace( *wordBegin ) ) in trimWhitespace()
635 ++wordBegin; in trimWhitespace()
640 while( wordSize && Folding::isWhitespace( wordBegin[ wordSize - 1 ] ) ) in trimWhitespace()
[all …]
H A Dbtreeidx.cc1113 wchar const * wordBegin = word.c_str(); in addWord() local
1128 Utf8::encode( wordBegin, MAX_LOG_WORD_SIZE, &buffer.front() ) ); in addWord()
1137 while( *wordBegin && Folding::isWhitespace( *wordBegin ) ) in addWord()
1139 ++wordBegin; in addWord()
1144 while( wordSize && Folding::isWhitespace( wordBegin[ wordSize - 1 ] ) ) in addWord()
1147 wchar const * nextChar = wordBegin; in addWord()
1162 wstring folded = Folding::applyWhitespaceOnly( wstring( wordBegin, wordSize ) ); in addWord()
1175 Utf8::encode( wordBegin, wordSize, &utfBuffer.front() ) ); in addWord()
1196 …if ( ( i->second.size() < 1024 ) || ( nextChar == wordBegin ) ) // Don't overpopulate chains with … in addWord()
1202 … Utf8::encode( nextChar, wordSize - ( nextChar - wordBegin ), &utfBuffer.front() ) ); in addWord()
[all …]
/dports/security/py-fail2ban/fail2ban-0.11.2/fail2ban/server/
H A Ddatetemplate.py85 def setRegex(self, regex, wordBegin=True, wordEnd=True): argument
113 boundBegin = wordBegin and not RE_NO_WRD_BOUND_BEG.search(regex)
122 if wordBegin != 'start':
230 self.setRegex(regex, wordBegin='start', wordEnd=True)
300 def setRegex(self, pattern, wordBegin=True, wordEnd=True): argument
306 wordBegin = wordEnd = False
308 if wordBegin and RE_EXLINE_BOUND_BEG.search(pattern):
310 wordBegin = 'start'
319 super(DatePatternRegex, self).setRegex(regex, wordBegin, wordEnd)
357 def __init__(self, wordBegin=False): argument
[all …]
H A Ddatedetector.py61 template = DateTai64n(wordBegin=('start' if key != "TAI64N" else False))
/dports/games/netrek-client-cow/netrek-client-cow-3.3.2/
H A Dcensor.c91 int k, l, wordBegin, wordEnd; in censor() local
93 for (wordBegin = j; wordBegin > 0; wordBegin--) in censor()
94 if (!isalpha(text[wordBegin - 1])) in censor()
99 if (!curseWords[i].beginningOnly || wordBegin == j) in censor()
100 for (k = wordBegin, l = 0; k <= wordEnd; k++) in censor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/contentassist/
H A DBarContentAssistProcessor.java152 int wordBegin= offset; in computeContextInformation() local
153 while (wordBegin > 0 && Character.isLetterOrDigit(document.getChar(wordBegin - 1))) { in computeContextInformation()
154 wordBegin--; in computeContextInformation()
156 if (wordBegin < offset) { in computeContextInformation()
157 String word= document.get(wordBegin, offset - wordBegin); in computeContextInformation()
161 new BarContextInformation(word, "idx= " + wordIdx, wordBegin) in computeContextInformation()
/dports/math/linbox/linbox-1.6.3/linbox/vector/
H A Dvector-domain-gf2.inl175 typename Vector1::const_word_iterator i = v1.wordBegin ();
176 typename Vector2::const_word_iterator j = v2.wordBegin ();
196 for (i = v.wordBegin (); i != v.wordEnd (); ++i)
225 std::fill (res.wordBegin (), res.wordEnd (), 0);
261 typename Vector1::word_iterator i = res.wordBegin ();
262 typename Vector2::const_word_iterator j = y.wordBegin ();
263 typename Vector3::const_word_iterator k = x.wordBegin ();
298 typename Vector1::word_iterator i = y.wordBegin ();
299 typename Vector2::const_word_iterator j = x.wordBegin ();
334 typename Vector1::const_word_iterator i = v1.wordBegin ();
[all …]
H A Dbit-vector.h145 inline word_iterator wordBegin (void) { return _v.begin (); } in wordBegin() function
146 inline const_word_iterator wordBegin (void) const { return _v.begin (); } in wordBegin() function
H A Dvector-domain-gf2.h316 std::copy (v.wordBegin (), v.wordEnd (), res.wordBegin ()); return res; in copySpecialized()
466 std::fill (res.wordBegin (), res.wordEnd (), 0); in mulSpecialized()
486 std::fill (x.wordBegin (), x.wordEnd (), 0); in mulinSpecialized()
H A Dstream-gf2.h97 for (i = v.wordBegin (); i != v.wordEnd (); i++) in get()
H A Dbit-vector.inl624 for (i = wordBegin (), j = v.wordBegin (); i != wordEnd () - 1UL; ++i, ++j)
/dports/math/linbox/linbox-1.6.3/linbox/blackbox/
H A Ddiagonal-gf2.h94 BitVector::word_iterator i = y.wordBegin (); in apply()
95 BitVector::const_word_iterator j1 = x.wordBegin (), j2 = _v.wordBegin (); in apply()
/dports/ftp/sftpgo/sftpgo-2.2.0/vendor/github.com/xhit/go-simple-mail/v2/
H A Dheader.go111 wordBegin := "=?" + e.charset + "?Q?"
114 lineBuffer := wordBegin
127 lineBuffer = " " + wordBegin
/dports/devel/kf5-ktexteditor/ktexteditor-5.89.0/src/completion/
H A Dkatewordcompletion.cpp204 int wordBegin = 0; in allMatches() local
212 …if (offset - wordBegin > minWordSize && (line != range.end().line() || offset != range.end().colum… in allMatches()
214 … if (!cursorLine || (cursorPosition.column() < wordBegin || cursorPosition.column() > offset)) { in allMatches()
215 result.insert(text.mid(wordBegin, offset - wordBegin)); in allMatches()
218 wordBegin = offset + 1; in allMatches()
221 wordBegin = offset + 1; in allMatches()
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/ioMesh/iomel/
H A DStringInput.hpp157 std::ifstream& wordBegin(char*); //!< find (char*)word as the beginning of a string in input file
158 std::ifstream& wordBegin(const std::string&); //!< find (string)word as the beginning of a string
H A DStringInput.cpp388 std::ifstream& StringInput::wordBegin (const string& wd) in wordBegin() function in xlifepp::iomel::StringInput
393 std::ifstream& StringInput::wordBegin (char* wd) in wordBegin() function in xlifepp::iomel::StringInput
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_ui/emoji_suggestions/
H A Demoji_suggestions.cpp360 auto wordBegin = word->data(); in findEqualCharsCount() local
364 auto wordCh = *(wordBegin + equalTill); in findEqualCharsCount()
/dports/editors/fte/fte/src/
H A Do_buffer.cpp1651 int wordBegin, wordEnd; in GetStrVar() local
1665 wordBegin = P; in GetStrVar()
1673 size_t length = wordEnd - wordBegin; in GetStrVar()
1684 strlcpy(str, &L->Chars[wordBegin], length); in GetStrVar()
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/geometry/ioMesh/
H A DloadMelina.cpp474 mi.wordBegin(string("bloc")); in loadMelina()