Home
last modified time | relevance | path

Searched refs:UdmDSTRLength (Results 1 – 25 of 29) sorted by relevance

12

/dports/www/mnogosearch/mnogosearch-3.4.1/src/
H A Dvalue-str.c312 UdmDSTRLength(&SSec->Value)); in UdmValueSimpleCopy()
427 UdmDSTRLength(&Section1->Value), in UdmValueSimpleMethod_find()
429 UdmDSTRLength(&Section2->Value)); in UdmValueSimpleMethod_find()
454 length= UDM_MIN(UdmDSTRLength(&Section->Value), 1); in UdmValueSimpleMethodLeft()
466 if (pos < 0 || (size_t) pos > UdmDSTRLength(&Section->Value)) in UdmValueSimpleMethodSubstr()
468 length= UdmDSTRLength(&Section->Value) - pos; in UdmValueSimpleMethodSubstr()
484 if (pos < 0 || (size_t) pos > UdmDSTRLength(&Section->Value) || in UdmValueSimpleMethodSubstr2()
487 length= UdmDSTRLength(&Section->Value) - pos; in UdmValueSimpleMethodSubstr2()
503 UdmDSTRLength(&Section->Value)); in UdmValueSimpleMethodPCase()
515 UdmDSTRLength(&Section->Value)); in UdmValueSimpleMethodLower()
[all …]
H A Dwordinfo.c32 if (UdmDSTRLength(dstr)) in UdmDSTRAppendComma()
217 UdmDSTRAppendf(dstr, "%s%s", UdmDSTRLength(dstr) ? " " : "", Wb->Word.str); in UdmWWListWordInfoSuggestions()
236 UdmVarListReplaceStrn(Vars, "WE", UdmDSTRPtr(&dstr), UdmDSTRLength(&dstr)); in UdmWWListWordInfo()
241 UdmVarListReplaceStrn(Vars, "W", UdmDSTRPtr(&dstr), UdmDSTRLength(&dstr)); in UdmWWListWordInfo()
246 UdmVarListReplaceStrn(Vars, "WC", UdmDSTRPtr(&dstr), UdmDSTRLength(&dstr)); in UdmWWListWordInfo()
252 UdmVarListReplaceStrn(Vars, "WS", UdmDSTRPtr(&dstr), UdmDSTRLength(&dstr)); in UdmWWListWordInfo()
H A Dexcerpt.c242 chunk.offset= UdmDSTRLength(&dst->body_unicode); in UdmSnippetHlAppendUnicode()
250 chunk.length= UdmDSTRLength(&dst->body_unicode) - chunk.offset; in UdmSnippetHlAppendUnicode()
629 UdmDSTRLength(&helper->body)); in UdmGetExcerptSourceFromContent()
662 UdmDSTRLength(&helper->body)); in UdmGetExcerptSourceFromContent()
680 UdmDSTRLength(&helper->body)); in UdmGetExcerptSourceFromContent()
697 UdmDSTRLength(&helper->body)); in UdmGetExcerptSourceFromContent()
716 UdmDSTRLength(&helper->body)); in UdmGetExcerptSourceFromContent()
731 return UdmDSTRLength(&helper->snippet.body_unicode); in UdmGetExcerptSourceFromContent()
776 return UdmDSTRLength(&helper->snippet.body_unicode); in UdmGetExcerptSourceBody()
971 if (!UdmDSTRLength(&buf)) in UdmExcerptDoc()
[all …]
H A Dvalue-result.c262 (int) UdmDSTRLength(&Section->Value), UdmDSTRPtr(&Section->Value)); in UdmResultMethodFind()
333 UdmDSTRAppendHighlight(dst, UdmDSTRPtr(&tmp), UdmDSTRLength(&tmp), in UdmResultPropertyAppendHilight()
345 (int) UdmDSTRLength(str), UdmDSTRPtr(str)); in UdmVarListFindValueByDSTR()
440 UdmDSTRLength(&HlBeg->Value), in UdmResultMethodDocumentPropertyHtml5()
442 UdmDSTRLength(&HlEnd->Value)); in UdmResultMethodDocumentPropertyHtml5()
H A Ddstr.c41 UdmDSTRLength(const UDM_DSTR *dstr) in UdmDSTRLength() function
149 size_t newlen= UdmDSTRLength(dstr) + length + 1; in UdmDSTRAppendURLDecode()
453 if (UdmDSTRLength(dstr) > 1) in UdmDSTRBCut()
476 UdmDSTRAppendURLDecode(&dstr2, UdmDSTRPtr(dstr), UdmDSTRLength(dstr)); in UdmDSTRURLDecode()
510 size_t enclen= UdmDSTRLength(dstr) * 6 + 1; in UdmDSTRHTMLEncode()
513 UdmDSTRPtr(dstr), UdmDSTRLength(dstr)); in UdmDSTRHTMLEncode()
610 size_t oldlen= UdmDSTRLength(dst); in UdmDSTRAppendRegexCut()
612 if (UdmDSTRLength(dst) == oldlen) in UdmDSTRAppendRegexCut()
H A Dhighlight.c279 size_t dstlen_phr= UdmDSTRLength(dstr), nfound=0, ulen; in UdmHlConvertExtWithConv()
332 dstlen_phr= UdmDSTRLength(dstr); in UdmHlConvertExtWithConv()
362 dstlen_phr= UdmDSTRLength(dstr); in UdmHlConvertExtWithConv()
371 dstlen_phr= UdmDSTRLength(dstr); in UdmHlConvertExtWithConv()
389 return UdmDSTRLength(dstr); in UdmHlConvertExtWithConv()
530 UdmVarSetStrn(Var, UdmDSTRPtr(&tmp), UdmDSTRLength(&tmp)); /* TODO34: take over */ in UdmVarListHlConvert()
H A Dvalue-doc.c267 UdmDSTRAppendHighlight(dst, UdmDSTRPtr(&tmp), UdmDSTRLength(&tmp), in UdmDocumentPropertyAppendHilightHtml()
279 (int) UdmDSTRLength(str), UdmDSTRPtr(str)); in UdmVarListFindValueByDSTR()
394 UdmDSTRLength(&Section->Value)); in UdmDocumentMethodCachedCopy()
397 UdmDSTRLength(&Section->Value)); in UdmDocumentMethodCachedCopy()
H A Dqcache.c371 wwl_length_escaped= UdmDSTRLength(&wwl) * 5; in UdmQueryCachePutSQL()
394 (int) UdmDSTRLength(&bindata), in UdmQueryCachePutSQL()
398 (int) UdmDSTRLength(&wwl), in UdmQueryCachePutSQL()
416 UdmDSTRPtr(&wwl), UdmDSTRLength(&wwl)); /* WWList XML*/ in UdmQueryCachePutSQL()
417 nbytes= strlen(UdmDSTRPtr(&buf) + UdmDSTRLength(&buf)); in UdmQueryCachePutSQL()
H A Dusersection.c133 content.length= UdmDSTRLength(&param.tbuf); in UdmUserSectionsParse()
160 UDM_ASSERT(UdmDSTRLength(&sbuf) + 1 == buflen);/* TODO34!!! why + 1?*/ in UdmUserSectionsParse()
165 UdmParseSectionsHTML(&param, UdmDSTRPtr(&sbuf), UdmDSTRLength(&sbuf)); in UdmUserSectionsParse()
H A Dparsertf.c479 UdmConstStrSet(&Item.text, UdmDSTRPtr(&dstr), UdmDSTRLength(&dstr)); in UdmRTFParse()
524 UdmDSTRPtr(&dstr2), UdmDSTRLength(&dstr2), &ec); in UdmRTFCachedCopy()
546 return UdmDSTRLength(dstr); in UdmRTFExcerptSource()
H A Ddbmode-blob.c786 len[0]= UdmDSTRLength(buf); in UdmBlobModeInflateOrSelf()
1238 if (!UdmDSTRLength(buf)) in UdmBlobWriteWordUsingMultiInsert()
1301 if (UdmDSTRLength(z) < len) in UdmBlobWriteWordCmpr()
1304 len= UdmDSTRLength(z); in UdmBlobWriteWordCmpr()
1488 if (UdmDSTRLength(&l)) in UdmBlobWriteLimitsInternal()
1531 if (UdmDSTRLength(&pop)) in UdmURLDataListStorePopularityBdict()
1711 if (UdmDSTRLength(dstr)) in UdmDSTRAppendWithComma()
2201 UdmDSTRLength(dstr) < UDM_BLOB2_MILTI_INSERT_WORD_SIZE) in UdmInvertedIndexCacheStoreWord()
2204 if (!UdmDSTRLength(multi)) in UdmInvertedIndexCacheStoreWord()
2219 if (UDM_OK != UdmDSTRRealloc(multi, UdmDSTRLength(multi) + in UdmInvertedIndexCacheStoreWord()
[all …]
H A Ddbmode-multi.c250 if (UdmDSTRLength(&buf)) in UdmWordCacheWrite()
334 if (UdmDSTRLength(&buf)) in UdmWordCacheWrite()
360 if (UdmDSTRLength(&buf)) in UdmWordCacheWrite()
H A Dprogfunc.c47 (int) UdmDSTRLength(&Section->Value), in UdmFunctionGetEnv()
H A Dsql.c498 if (UdmDSTRLength(add)) in WhereConditionDSTRAddAnd()
818 UdmDSTRLength(&CondParam->from) + in UdmSQLConditionParamTotalLength()
819 UdmDSTRLength(&CondParam->lang) + in UdmSQLConditionParamTotalLength()
820 UdmDSTRLength(&CondParam->seed) + in UdmSQLConditionParamTotalLength()
821 UdmDSTRLength(&CondParam->server) + in UdmSQLConditionParamTotalLength()
822 UdmDSTRLength(&CondParam->site) + in UdmSQLConditionParamTotalLength()
823 UdmDSTRLength(&CondParam->status) + in UdmSQLConditionParamTotalLength()
829 UdmDSTRLength(&CondParam->urlinfo); in UdmSQLConditionParamTotalLength()
991 if (UdmDSTRLength(&CondParam.url)) in UdmSQLBuildWhereCondition()
1004 if (UdmDSTRLength(&CondParam.server)) in UdmSQLBuildWhereCondition()
[all …]
H A Dhtdb.c606 if (UdmDSTRLength(dstr)) in UdmHTDBExcerptSource()
611 return UdmDSTRLength(dstr); in UdmHTDBExcerptSource()
H A Dtemplate.c137 return out_strn(stream, dstr, UdmDSTRPtr(src), UdmDSTRLength(src)); in out_dstr()
697 UdmDSTRPtr(&dstr_nosection), UdmDSTRLength(&dstr_nosection)); in UdmTemplateLoad()
H A Dsegment.c320 if (UdmDSTRLength(&uni) && in UdmTextListSegment()
H A Dsqlmon.c315 UdmDSTRRealloc(&qbuf, UdmDSTRLength(&qbuf) + CHUNK_SIZE); in UdmSQLMonitor()
H A Dparsedocx.c807 if (UdmDSTRLength(dstr)) in UdmDOCXExcerptSource()
812 return UdmDSTRLength(dstr); in UdmDOCXExcerptSource()
H A Dparser.c445 UdmHTTPBufPutContent(&Doc->Buf, UdmDSTRPtr(&dstr), UdmDSTRLength(&dstr)); in UdmParserExec()
H A Dstore.c345 UdmDSTRPtr(&param.dstr), UdmDSTRLength(&param.dstr)); in UdmDocCachedCopyGet()
H A Dparsehtml.c1620 UdmDSTRLength(&param->linktext) ? in UdmHTMLTagProcessHref()
1816 if (UdmDSTRLength(&param->linktext) < 256) /* TODO34: what should be the limit? */ in UdmHTMLProcessText()
1818 if (UdmDSTRLength(&param->linktext)) in UdmHTMLProcessText()
H A Dsection.c695 return UdmDSTRLength(&Sec->Value); in UdmSectionLength()
H A Dmessage.c1366 if (UdmDSTRLength(dst)) in UdmMessageRFC822ExcerptSource()
1371 return UdmDSTRLength(dst); in UdmMessageRFC822ExcerptSource()
/dports/www/mnogosearch/mnogosearch-3.4.1/include/
H A Dudm_utils.h252 size_t UdmDSTRLength(const UDM_DSTR *dstr);

12