All Functions and Procedures

Name Unit Description
* bigdecimalmath_template

Standard operator binary *

* int65math

 

* int65math

 

* int65math

 

* int65math

 

* int65math

 

** bigdecimalmath_template

Standard operator binary **

+ bigdecimalmath_template

Standard operator binary +

+ int65math

 

+ int65math

 

+ int65math

 

+ int65math

 

+ int65math

 

- bigdecimalmath_template

Standard operator unary -

- bigdecimalmath_template

Standard operator binary -

- int65math

 

- int65math

 

- int65math

 

- int65math

 

- int65math

 

- int65math

 

/ bigdecimalmath_template

Standard operator binary /
If the result can not be represented as finite decimal number (e.g.

:= bigdecimalmath_template

Converts a native integer to a BigDecimal

:= bigdecimalmath_template

Converts an extended to a BigDecimal
Marked as deprecated, because it may lead to rounding errors.

:= int65math

 

:= int65math

 

:= int65math

 

:= int65math

 

:= int65math

 

:= int65math

 

:= int65math

 

< bbutils

 

< bbutils

 

< int65math

 

< int65math

 

< int65math

 

< int65math

 

< int65math

 

<= int65math

 

<= int65math

 

<= int65math

 

<= int65math

 

= bbutils

 

= bbutils

 

= int65math

 

= int65math

 

= int65math

 

= int65math

 

= int65math

 

> int65math

 

> int65math

 

> int65math

 

> int65math

 

> int65math

 

>= int65math

 

>= int65math

 

>= int65math

 

>= int65math

 

abs bigdecimalmath_template

Returns the absolute value of v

addProperty simplexmlparser

 

and int65math

 

arrayAdd bbutils

Adds element e to array a.

arrayAdd bbutils

Adds element e to array a.

arrayAdd bbutils

Adds element e to array a.

arrayAdd bbutils

Adds element e to array a.

arrayAdd bbutils

Adds element e to array a.

arrayAdd bbutils

Adds elements from a2 e to array a.

arrayAdd bbutils

Adds elements from a2 e to array a.

arrayAdd bbutils

Adds elements from a2 e to array a.

arrayAdd bbutils

Adds elements from a2 e to array a.

arrayAdd bbutils

Adds elements from a2 e to array a.

arrayAddFast bbutils

returns i with a[i]=e.

arrayAddFast bbutils

returns i with a[i]=e,

arrayAddFast bbutils

returns i with a[i]=e.

arrayAddFast bbutils

returns i with a[i]=e.

arrayAddFast bbutils

returns i with a[i]=e.

arrayBinarySearch bbutils

Binary search in a float array.

arrayBinarySearch bbutils

Binary search in a longword array.

arrayBinarySearch bbutils

Binary search in a int64 array.

arrayBinarySearch bbutils

Binary search in a longint array.

arrayBinarySearch bbutils

Binary search in a string array.

arrayCompare bbutils

Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements).

arrayCompare bbutils

Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements),

arrayCompare bbutils

Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements).

arrayCompare bbutils

Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements).

arrayCompare bbutils

Compares two array/slices (interleaved slice parameters, so arrayEqual(a,b,3,3) compares the first 3 elements).

arrayContains bbutils

Tests if element e exists in the array/slice (see above).

arrayContains bbutils

Tests if element e exists in the array/slice (see above).

arrayContains bbutils

Tests if element e exists in the array/slice (see above).

arrayContains bbutils

Tests if element e exists in the array/slice (see above).

arrayContains bbutils

Tests if element e exists in the array/slice (see above).

arrayDelete bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDelete bbutils

Removes element at position i from a,
Returns e=a[i],

arrayDelete bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDelete bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDelete bbutils

Removes element at position i from a.

arrayDeleteFast bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDeleteFast bbutils

Removes element at position i from a,
Returns e=a[i],

arrayDeleteFast bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDeleteFast bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDeleteFast bbutils

Removes element at position i from a.
Returns e=a[i].

arrayDeleteUnordered bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayDeleteUnordered bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayDeleteUnordered bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayDeleteUnordered bbutils

Removes element at position i from a (destroying the order of the elements),
Returns e=a[i],

arrayDeleteUnordered bbutils

Removes element at position i from a (destroying the order of the elements).

arrayDeleteUnorderedFast bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayDeleteUnorderedFast bbutils

Removes element at position i from a (destroying the order of the elements),
Returns e=a[i],

arrayDeleteUnorderedFast bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayDeleteUnorderedFast bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayDeleteUnorderedFast bbutils

Removes element at position i from a (destroying the order of the elements).
Returns e=a[i].

arrayEqual bbutils

Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements).

arrayEqual bbutils

Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements).

arrayEqual bbutils

Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements).

arrayEqual bbutils

Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements).

arrayEqual bbutils

Tests if two array/slices are equal (interleaved slice parameters, so arrayEqual(a,b,3,3) tests the first 3 elements),

arrayGet bbutils

Returns the i-th element of the array.

arrayGet bbutils

Returns the i-th element of the array.

arrayGet bbutils

Returns the i-th element of the array.

arrayGet bbutils

Returns the i-th element of the array.

arrayGet bbutils

Returns the i-th element of the array.

arrayIndexOf bbutils

Finds element e in the array/slice (see above).

arrayIndexOf bbutils

Finds element e in the array/slice (see above).

arrayIndexOf bbutils

Finds element e in the array/slice (see above).

arrayIndexOf bbutils

Finds element e in the array/slice (see above).

arrayIndexOf bbutils

Finds element e in the array/slice (see above).

arrayIndexOfLargest bbutils

Finds the largest element in the array/slice (see above).

arrayIndexOfLargest bbutils

Finds the largest element in the array/slice (see above).

arrayIndexOfLargest bbutils

Finds the largest element in the array/slice (see above).

arrayIndexOfLargest bbutils

Finds the largest element in the array/slice (see above).

arrayIndexOfLargest bbutils

Finds the largest element in the array/slice (see above).

arrayIndexOfSmallest bbutils

Finds the smallest element, in the array/slice (see above).

arrayIndexOfSmallest bbutils

Finds the smallest element, in the array/slice (see above).

arrayIndexOfSmallest bbutils

Finds the smallest element, in the array/slice (see above).

arrayIndexOfSmallest bbutils

Finds the smallest element, in the array/slice (see above).

arrayIndexOfSmallest bbutils

Finds the smallest element, in the array/slice (see above).

arrayInsert bbutils

Inserts element e at position i in a.

arrayInsert bbutils

Inserts element e at position i in a.

arrayInsert bbutils

Inserts element e at position i in a.

arrayInsert bbutils

Inserts element e at position i in a.

arrayInsert bbutils

Inserts element e at position i in a.

arrayInsertFast bbutils

Inserts element e at position i in a.

arrayInsertFast bbutils

Inserts element e at position i in a.

arrayInsertFast bbutils

Inserts element e at position i in a.

arrayInsertFast bbutils

Inserts element e at position i in a.

arrayInsertFast bbutils

Inserts element e at position i in a.

arrayInvert bbutils

Inverts the order of the elements in the array/slice (see above).

arrayInvert bbutils

Inverts the order of the elements in the array/slice (see above).

arrayInvert bbutils

Inverts the order of the elements in the array/slice (see above).

arrayInvert bbutils

Inverts the order of the elements in the array/slice (see above).

arrayInvert bbutils

Inverts the order of the elements in the array/slice (see above).

arrayLast bbutils

Returns the last element of the array, returns default, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, raises exception, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, returns default, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, raises exception, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, raises exception, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, returns default, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, raises exception, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, returns default, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, raises exception, iff the array is empty.

arrayLast bbutils

Returns the last element of the array, returns default, iff the array is empty.

arrayPrepend bbutils

Prepends e to a, i.e.

arrayPrepend bbutils

Prepends e to a, i.e.

arrayPrepend bbutils

Prepends e to a, i.e.

arrayPrepend bbutils

Prepends e to a, i.e.

arrayPrepend bbutils

Prepends e to a, i.e.

arrayPrependFast bbutils

Prepends e to a, i.e.

arrayPrependFast bbutils

Prepends e to a, i.e.

arrayPrependFast bbutils

Prepends e to a, i.e.

arrayPrependFast bbutils

Prepends e to a, i.e.

arrayPrependFast bbutils

Prepends e to a, i.e.

arrayReserveFast bbutils

Ensures that a has at least reserveLength elements,

arrayReserveFast bbutils

Ensures that a has at least reserveLength elements.

arrayReserveFast bbutils

Ensures that a has at least reserveLength elements.

arrayReserveFast bbutils

Ensures that a has at least reserveLength elements.

arrayReserveFast bbutils

Ensures that a has at least reserveLength elements.

arraySlice bbutils

Extracts a array slice.

arraySlice bbutils

Extracts a array slice.

arraySlice bbutils

Extracts a array slice.

arraySlice bbutils

Extracts a array slice.

arraySlice bbutils

Extracts a array slice.

BigDecimalToExtended bigdecimalmath_template

Converts a bigdecimal to an extended (may introduce rounding errors)

BigDecimalToStr bigdecimalmath_template

Converts a bigdecimal to a decimal string
The result will be fixed width format [0-9]+(.[0-9]+)?, even if the input had an exponent

BigDecimalToT_NativeInt_ bigdecimalmath_template

Converts a bigdecimal to a native int (can overflow)

binarySearch bbutils

General binary search function.

binomial bbutils

Calculates n|k = n!/k!(n-k)!

binomialDeviation bbutils

deviation(=sqrt(variance)) of a binomial distribution

binomialExpectation bbutils

expectated value of a binomial distribution

binomialProbability bbutils

probability: P(X = k) where X is binomial distributed with n possible values (exact value calculated with binomial coefficients, )

binomialProbabilityApprox bbutils

expectated value of a binomial distribution (approximates the value with either Poisson or Moivre and Laplace, depending on the variance of the distribution) )

binomialProbabilityDeviationOf bbutils

probability: P(X >= mu + d or X <= mu - d) where X is binomial distributed with n possible values

binomialProbabilityGE bbutils

probability: P(X >= k) where X is binomial distributed with n possible values

binomialProbabilityLE bbutils

probability: P(X <= k) where X is binomial distributed with n possible values

binomialVariance bbutils

variance of a binomial distribution

binomialZScore bbutils

Z-Score of the value k in a distribution with n outcomes

charDecodeDigit bbutils

 

charDecodeHexDigit bbutils

 

charEncodeHexDigitUp bbutils

 

compareBigDecimals bigdecimalmath_template

Compares the big decimals.

convertTemplate pastemplate

Parses a simple pascal template.


It may contain the following commands:
{%REPEAT x, [a, b, c, ..]} .. {%END-REPEAT}
Creates several copy of the text between REPEAT and END-REPEAT while replacing x by a in the first copy, x by b in the second, ...

{%REPEAT (x, y), [(a1, a2), (b1, b2), ...]} .. {%END-REPEAT}
Creates several copy of the text between REPEAT and END-REPEAT while replacing x by a1 and y by a2 in the first copy, x by b1 and y by b2 in the second, ...

{%REPEAT} .. {%END-REPEAT}
Removes the text between REPEAT and END-REPEAT (i.e.

coprime bbutils

Checks if two numbers are coprime

CopyFile xquery.internals.lclexcerpt

 

createXQParsingContext xquery__parse

 

CSSHasHiddenStyle simplehtmltreeparser

 

dateDecode bbutils

Encodes a date as datetime (supports negative years)

dateEncode bbutils

Encodes a date as datetime (supports negative years)

dateEncodeTry bbutils

Encodes a date as datetime (supports negative years)

dateFormat bbutils

Converts a date to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)

dateFormatNew bbutils

Converts a date to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)

dateFormatOld bbutils

 

dateIsLeapYear bbutils

 

dateParse bbutils

Reads a date string given a certain mask .
This function checks whether the date is valid.

dateParseParts bbutils

Reads a date string given a certain mask

dateTimeEncode bbutils

Encodes a date time

dateTimeFormat bbutils

Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)

dateTimeFormat bbutils

Converts a dateTime to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)

dateTimeParse bbutils

Reads date/time from a input matching a given mask

dateTimeParseParts bbutils

Reads date/time parts from a input matching a given mask

dateTimeParsePartsTry bbutils

Reads a date time string given a certain mask (mask is case-sensitive)

The function uses the same mask types as FormatDate:

  • s or ss for a second

  • n or nn for a minute

  • h or hh for a hour

  • d or dd for a numerical day

  • m or mm for a numerical month, mmm for a short month name, mmmm for a long month name

  • am/pm or a/p match am/pm or a/p

  • yy, yyyy or [yy]yy for the year. (if the year is < 90, it will become 20yy, else if it is < 100, it will become 19yy, unless you use uppercase Y instead of y)

  • YY, YYYY or [YY]YY for the year, too.

  • z, zz, zzz, zzzz for microseconds (e.g. use [.zzzzzz] for optional ms with exactly 6 digit precision, use [.z[z[z[z[z[z]]]]]] for optional ┬Ás with up to 6 digit precision)

  • Z for the ISO time zone (written as regular expressions, it matches 'Z | [+-]hh(:?mm)?'. Z is the only format ansichar (except mmm) matching several characters)

The letter formats d/y/h/n/s matches one or two digits, the dd/mm/yy formats require exactly two.
yyyy requires exactly 4 digits, and [yy]yy works with 2 or 4 (there is also [y]yyy for 3 to 4).

dateWeekOfYear bbutils

Week of year

dateWeekOfYear bbutils

 

decodeURL internetaccess

Splits a url into parts

decodeURL internetaccess

 

defaultInternet internetaccess

This provides a thread-safe default internet

defaultInternet simpleinternet

 

defaultQueryEngine simpleinternet

 

div bigdecimalmath_template

Standard operator binary div
The result is an integer, so 1.23E3 / 7 will be 175

div int65math

 

div int65math

 

div int65math

 

div int65math

 

div int65math

 

divide bigdecimalmath_template

Wrapper around divideModNoAlias, ignoring the calculated remainder

divideModNoAlias bigdecimalmath_template

Universal division/modulo function.

equalNamespaces xquery.namespaces

 

equalNamespaces xquery.namespaces

 

eUTF8 bbutils

 

even bigdecimalmath_template

Checks if v is even.

eWindows1252 bbutils

 

existPropertyWithValue simplehtmlparser

 

factorial bbutils

Calculates i!

fastpower2to bigdecimalmath_template

Calculates 2 ** exp exactly, with exp being an integer (faster than power for negative exp)

fastpower5to bigdecimalmath_template

Calculates 5 ** exp exactly, with exp being an integer (faster than power for negative exp)

fileMoveReplace bbutils

Moves oldname to newname, replacing newname if it exists.

fileNameExpand bbutils

Expands a path to an absolute path if it not already is one.

fileNameExpandToURI bbutils

Expands a path to an absolute path starting with file://.

fileSaveSafe bbutils

Overrides the file filename with the data written to the stream in the callback function.

finalizeFunctions xquery__functions

 

findLinkWithProperty simplehtmlparser

 

findLinkWithText simplehtmlparser

 

findTagPropertyValueWithProperty simplehtmlparser

 

freeThreadVars internetaccess

If you use the procedural interface from different threads, you have to call freeThreadVars before the thread terminates to prevent memory leaks

freeThreadVars simpleinternet

If you use the functions in this unit from different threads, you have to call freeThreadVars before the thread terminates to prevent memory leaks
This also calls freeThreadVars of the xquery and internetaccess units

gcd bbutils

Calculates the greatest common denominator

gcd bbutils

Calculates the greatest common denominator

gcd bbutils

Calculates the greatest common denominator

gcd bigdecimalmath_template

Calculates the greatest common denominator (only makes sense for positive integer input)

getDigit bigdecimalmath_template

Returns the digit-th digit of v.

getProperty simplehtmlparser

 

getProperty simplexmlparser

 

guessExtractionKind extendedhtmlparser

 

guessFormat simplehtmltreeparser

 

guessType internetaccess

Guesses the type of a given string

E.g.

hashsetQNameIncludeAll xquery__serialization

 

hashsetQNameIncludeAll xquery__serialization

 

htmlAttributeIsBooleanAttribute htmlInformation

 

htmlAttributeIsURI htmlInformation

 

htmlElementIsChildless htmlInformation

 

htmlElementIsExpectedEmpty htmlInformation

 

htmlElementIsExpectedEmptyHTML4 htmlInformation

 

htmlElementIsExpectedVoidHTML5 htmlInformation

 

htmlElementIsFormattedWhitespace htmlInformation

 

htmlElementIsHead htmlInformation

 

htmlElementIsImplicitCDATA htmlInformation

 

htmlElementIsImplicitCDATA htmlInformation

 

htmlElementIsImplicitCDATA htmlInformation

 

htmlElementIsMetaContentType htmlInformation

 

htmlElementIsPhrasing htmlInformation

 

httpRequest internetaccess

Make a HTTP request to a certain url, sending the data in rawdata unmodified to the server.

httpRequest internetaccess

Make a HTTP POST request to a certain url, sending the data in postdata to the server, after url encoding all name=value pairs of it.

httpRequest internetaccess

Make a HTTP POST request to a certain url, sending the data in rawpostdata unmodified to the server.

httpRequest internetaccess

Make a HTTP GET request to a certain url.

httpRequest simpleinternet

 

httpRequest simpleinternet

 

httpRequest simpleinternet

 

httpRequest simpleinternet

 

httpRequest simpleinternet

Make a http request to an address given in an IXQValue.

ignore bbutils

Ignores the parameter to suppress warnings.

ignore bbutils

Ignores the parameter to suppress warnings.

ignore bbutils

Ignores the parameter to suppress warnings.

ignore bbutils

Ignores the parameter to suppress warnings.

ignore bbutils

Ignores the parameter to suppress warnings.

ignore bbutils

Ignores the parameter to suppress warnings.

initializeFunctions xquery__functions

 

Int65ToStr int65math

 

intBound bbutils

caps i at [min,max].

intBound bbutils

caps i at [min,max].

internalDefaultCollation xquery.internals.collations

 

internalGetCollation xquery.internals.collations

 

internalGetCollations xquery.internals.collations

 

internalRegisterCollation xquery.internals.collations

 

intFactor bbutils

Given a number n, this procedure calculates the maximal integer e, so that n = pˆe * r

intLog bbutils

log_b n rounded down (= number of digits of n in base b - 1)

intLog10 bbutils

log 10 rounded down (= number of digits in base 10 - 1)

intSieveDivisorCount bbutils

This calculates the number of divisors: divcount[i] := |{1 <= j <= i | i mod j = 0}| for all i <= n.
Speed: 10ˆ7 in 5s

intSieveEulerPhi bbutils

This calculates the euler phi function totient[i] := phi(i) = |{1 <= j <= i | gcd(i,j) = 0}| for all i <= n.
It uses a sieve approach and is quite fast (10ˆ7 in 3s)
You can also use it to calculate all primes (i is prime iff phi(i) = i - 1)

intSqrt bbutils

 

intSqrt bbutils

 

isInt64 bigdecimalmath_template

Returns true iff v has no fractional digits and can be stored within an int64

isIntegral bigdecimalmath_template

Returns true iff v has no fractional digits

isInvalidUTF8Guess simplehtmltreeparser

 

isLongint bigdecimalmath_template

Returns true iff v has no fractional digits and can be stored within an longint (32 bit integer)

isValidNCName xquery.namespaces

 

isZero bigdecimalmath_template

Returns true iff the bigdecimal is zero

lcm bbutils

Calculates the least common multiple (just a*b div gcd(a,b), so it can easily overflow)

lcm bigdecimalmath_template

Calculates the least common multiple

log bbdebugtools

 

makeMethod bbutils

 

mod bigdecimalmath_template

Standard operator binary mod
Calculates the remainder of an integer division a - (a div b) * b

mod int65math

 

modPow bbutils

Calculates iˆe mod m in O(log(e)) and never exceeding m.

modPow bbutils

Calculates iˆe mod m in O(log(e)) and never exceeding m.

namespaceGetURL xquery.namespaces

 

needInternetAccess simpleinternet

 

normalize bigdecimalmath_template

Removes leading (pre .) and trailing (post .) zeros

normalizeString xquery__serialization_nodes

 

objInheritsFrom bbutilsbeta

 

ObjToUInt bbutils

 

odd bigdecimalmath_template

Checks if v is odd.

parseEQName xquery.namespaces

 

parseHTML simplehtmlparser

This parses html data Notice: You can pass nil for every callback function and if one of them returns prStop, the parsing is aborted.

parseML simplehtmlparser

This parses html/xml data Notice: You can pass nil for every callback function and if one of them returns prStop, the parsing is aborted.

parseXML simplexmlparser

Perhaps this parses xml data, perhaps it doesn't.

pcharStartEqual simplehtmlparser

 

power bigdecimalmath_template

Calculates v ** exp, with exp being an integer

precision bigdecimalmath_template

How many non-zero digits the number contains

procedureToMethod bbutils

 

process simpleinternet

Processes data with a certain query.

data can be an url, or a html/xml file in a string, like in retrieve.

query can be a xquery.TXQueryEngine, like in process('http://www.google.de', '//title');.

processedTree simpleinternet

Returns a tree representation of the last processed html/xml data
Might return nil

processedVariables simpleinternet

Returns all variable assignments during the last query

PtrToUInt bbutils

 

regexprGetGroupNesting xquery__regex

 

regexprreencode xquery__regex

 

registerFallbackUnicodeConversion bbutils

 

registerModuleBinary xquery_module_binary

Registers the module to the XQuery engine

registerModuleFile xquery_module_file

Registers the module to the XQuery engine

registerModuleMath xquery_module_math

Registers the module to the XQuery engine

registerModuleUCAICU xquery_module_uca_icu

Registers the module to the XQuery engine

ResolveDots xquery.internals.lclexcerpt

 

retrieve simpleinternet

Retrieve data from any url.

It is really simple to use, you pass the desired url as single parameter and get the data of the url.

It supports:

round bigdecimalmath_template

Universal rounding function
Rounds v to the precision of a certain digit, subject to a certain rounding mode.

roundInRange bigdecimalmath_template

Given mi < exact < ma, truncate exact to a bigdecimal result, such that
mi < result < ma
result has the minimal number of non-zero digits
| result - exact | is minimized

serialize xquery__serialization

 

serialize xquery__serialization

 

serialize xquery__serialization

 

serializeAdaptive xquery__serialization

 

serializeJSON xquery__serialization

 

serializeNodes xquery__serialization_nodes

 

serializeWithContextDefaults xquery__serialization

 

serializeXMLHTMLText xquery__serialization

 

SetCodePage bbutils

no-op function, so not every SetCodePage has to be wrapped in ifdefs when using FPC 2.x.

setOne bigdecimalmath_template

Sets the bigdecimal to 1

setProperty simplexmlparser

 

setZero bigdecimalmath_template

Sets the bigdecimal to 0

shift10 bigdecimalmath_template

Calculates a decimal shift: v := v * 10ˆshift

shifted10 bigdecimalmath_template

Calculates a decimal shift: result := v * 10ˆshift

sqrt bigdecimalmath_template

Calculates the square root of v, to precision digits after the decimal point
Not much tested

stableSort bbutils

 

stableSort bbutils

general stable sort functions for arrays (modifying the array inline and returning it)

stableSort bbutils

 

stableSort bbutils

General stable sort function, .

startTiming bbdebugtools

 

stoplogging bbdebugtools

 

stopTiming bbdebugtools

 

strActualEncoding bbutils

 

strActualEncoding bbutils

 

strAddPathSeparator xquery.internals.lclexcerpt

 

strAfter bbutils

If the string s has the form '...sepEND', it returns 'END'.

strAfterLast bbutils

If the string s has the form '...sepEND', it returns 'END'.

strAfterLast bbutils

If the string s has the form '...sepEND', it returns 'END'.

strAnsi2UnicodeMoveProc bbutils

converts unicode pages and latin1 to utf16.

strAppendIfMissing bbutils

Appends expectedEnd, if s does not end with expectedEnd.

strBefore bbutils

If the string s has the form 'STARTsep...', it returns 'START'.

strBeforeLast bbutils

If the string s has the form 'STARTsep...', it returns 'START'.

strBeforeLast bbutils

If the string s has the form 'STARTsep...', it returns 'START'.

strBeginsWith bbutils

Tests if p starts with expectedStart (p is null-terminated).

strBeginsWith bbutils

Tests if strToBeExaminated starts with expectedStart.

strBetween bbutils

If the string s has the form '...fromMIDDLEtill...', it returns 'MIDDLE'.

strChangeEncoding bbutils

deprecated

strCompareClever bbutils

Case sensitive, clever comparison, that basically splits the string into lexicographical and numerical parts and compares them accordingly.

strContains bbutils

Tests if searched exists in str case-sensitive (Attention: opposite parameter order of Pos).

strContains bbutils

Tests if searched exists in str case-sensitive (Attention: opposite parameter order of Pos).

strContains bbutils

Tests if searched exists in str case-sensitive (Attention: opposite parameter order of Pos).

strContains bbutils

Tests if searched exists in str case-sensitive (Attention: opposite parameter order of Pos).

strConvert bbutils

Converts a string from one encoding to another.

strConvertFromUtf8 bbutils

Convert a string from UTF-8 to the encoding from.

strConvertToUtf8 bbutils

Convert a string to UTF-8 from encoding from from.

strCopyFrom bbutils

Returns the substring of s containing all characters after start (including s[start]).

strCount bbutils

Counts all occurrences of searched in searchIn (case sensitive).

strCount bbutils

Counts all occurrences of searched in searchIn (case sensitive).

strDecimalToUIntTry bbutils

Converts a pchar buffer to an unsigned integer.

strDecimalToUIntTry bbutils

Converts a pchar buffer to an unsigned integer.

strDecodeHex bbutils

Decodes a binary hex string like 202020 where every pair of hex digits corresponds to one char (deprecated, use strUnescapeHex).

strDecodeHTMLEntities bbutils

This decodes all html entities to the given encoding.

strDecodeHTMLEntities bbutils

This decodes all html entities to the given encoding.

strDecodeUTF16Character bbutils

Decodes an UTF-16 and moves to the next character.

strDecodeUTF8Character bbutils

Returns the unicode code point of the utf-8 character starting at str[curpos] and increments curpos to the next utf-8 character.

strDecodeUTF8Character bbutils

Returns the unicode code point of the utf-8 character starting at source and decrements remainingLength to the next utf-8 character.

strDecodeUTF8Character bbutils

Returns the unicode code point of the utf-8 character starting at source.

strDup bbutils

Creates count copies of rep

strEncodeHex bbutils

Encodes to a binary hex string like 202020 where every pair of hex digits corresponds to one char (deprecated, use strEscapeToHex).

strEncodingFromBOMRemove bbutils

Gets the encoding from an unicode bom and removes it

strEncodingFromContentType simplehtmltreeparser

 

strEncodingFromName bbutils

Gets the encoding from an encoding name (e.g.

strEncodingName bbutils

 

strEndsWith bbutils

Tests if strToBeExaminated ends with expectedEnd.

strEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters).

strEscape bbutils

Replace all occurrences of x \in toEscape with escapeChar + x.

strEscapeRegex bbutils

Returns a regex matching s.

strEscapeToHex bbutils

Replace all occurrences of x \in toEscape with escape + hex(ord(x)).

strFromInt bbutils

Creates a string to display an integer.

strFromPchar bbutils

Returns the first l bytes of p (copies them so O(n)).

strFromPtr bbutils

Creates a string to display the value of a pointer (e.g.

strFromSIze bbutils

converts a size (measured in bytes) to a string (e.g.

strGetUnicodeCharacter bbutils

Gets unicode character character in a certain encoding.

strGetUnicodeCharacterUTF bbutils

 

strGetUnicodeCharacterUTFLength bbutils

 

strHexToUIntTry bbutils

Converts a pchar buffer to an unsigned integer.

strHexToUIntTry bbutils

Converts a pchar buffer to an unsigned integer.

striAfter bbutils

If the string s has the form '...sepEND', it returns 'END'.

striAfterLast bbutils

If the string s has the form '...sepEND', it returns 'END'.

striBefore bbutils

If the string s has the form 'STARTsep...', it returns 'START'.

striBeforeLast bbutils

If the string s has the form 'STARTsep...', it returns 'START'.

striBeginsWith bbutils

Tests if p starts with expectedStart (p is null-terminated).

striBeginsWith bbutils

Tests if strToBeExaminated starts with expectedStart.

striBetween bbutils

If the string s has the form '...fromMIDDLEtill...', it returns 'MIDDLE'.

striCompareClever bbutils

Case insensitive, clever comparison, that basically splits the string into lexicographical and numerical parts and compares them accordingly.

striContains bbutils

Tests if searched exists in str case-insensitive (Attention: opposite parameter order of Pos).

striContains bbutils

Tests if searched exists in str case-insensitive (Attention: opposite parameter order of Pos).

striEndsWith bbutils

Tests if strToBeExaminated ends with expectedEnd.

striEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters).

striIndexOf bbutils

Searchs searched in str case-insensitively (Attention: opposite parameter order of Pos).

striIndexOf bbutils

Searchs searched in str case-insensitively (Attention: opposite parameter order of Pos).

striLastIndexOf bbutils

Searchs the last occurrence of searched in str, case-insensitive, returns 0 on no occurrence (Attention: opposite parameter order of Pos).

striLastIndexOf bbutils

Searchs the last occurrence of searched in str, case-insensitive, returns 0 on no occurrence (Attention: opposite parameter order of Pos).

strIndexOf bbutils

Searchs searched in str case-sensitively (Attention: opposite parameter order of Pos).

strIndexOf bbutils

Searchs searched in str case-sensitively (Attention: opposite parameter order of Pos).

strIndexOf bbutils

Searchs searched in str case-sensitively (Attention: opposite parameter order of Pos).

strIndexOf bbutils

Searchs searched in str case-sensitively (Attention: opposite parameter order of Pos).

StringCodePage bbutils

 

strIsAbsoluteURI bbutils

Checks if s is an absolute uri (i.e.

strIterator bbutils

Str iterator.

strJoin bbutils

Joins all string list items to a single string separated by sep.

strJoin bbutils

 

strJoin bbutils

Joins all string list items to a single string separated by sep.
If limit is set, the string is limited to abs(limit) items.

strLastIndexOf bbutils

Searchs the last occurrence of searched in str, case-sensitive, returns 0 on no occurrence (Attention: opposite parameter order of Pos).

strLastIndexOf bbutils

Searchs the last occurrence of searched in str, case-sensitive, returns 0 on no occurrence (Attention: opposite parameter order of Pos).

strLastIndexOf bbutils

Searchs the last occurrence of searched in str, case-sensitive, returns 0 on no occurrence (Attention: opposite parameter order of Pos).

strLastIndexOf bbutils

Searchs the last occurrence of searched in str, case-sensitive, returns 0 on no occurrence (Attention: opposite parameter order of Pos).

strlBeginsWith bbutils

Test if p begins with expectedStart (case-sensitive).

strLengthUtf8 bbutils

length of an utf8 string.

strLengthUtf8 bbutils

length of an utf8 string.

strlEqual bbutils

Tests if the strings are case-sensitively equal (same length and same characters) (null-terminated, stops comparison when meeting #0 ).

strlEqual bbutils

Tests if the strings are case-sensitively equal (same length and same characters) (null-terminated, stops comparison when meeting #0 ).

strlEqual bbutils

Tests if the strings are case-sensitively equal (same length and same characters).

strliBeginsWith bbutils

Test if p begins with expectedStart (case-insensitive).

strliEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters).

strliEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters) (null-terminated, stops comparison when meeting #0 ).

strliEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters) (null-terminated, stops comparison when meeting #0 ).

strlmove bbutils

Copies min(sourceLen, destLen) characters from source to dest and returns dest.

strlnsequal bbutils

equal comparison, case sensitive, stopping at #0-bytes in p1, ignoring #0-bytes in p2.

strlnsiequal bbutils

equal comparison, case insensitive, stopping at #0-bytes in p1, ignoring #0-bytes in p2.

strLoadFromFile bbutils

Loads a file as string.

strLoadFromFileUTF8 bbutils

Loads a file as string.

strLowerCaseSpecialUTF8 bbutils

This function converts codePoint to the corresponding lowercase codepoint according to the unconditional cases of SpecialCasing.txt of Unicode 8.

strlsEqual bbutils

Tests if the strings are case-sensitively equal (same length and same characters) (strict-length, can continue comparison after #0).

strlsequal bbutils

 

strlsEqual bbutils

Tests if the strings are case-sensitively equal (same length and same characters) (strict-length, can continue comparison after #0).

strlsiEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters) (strict-length, can continue comparison after #0).

strlsiEqual bbutils

Tests if the strings are case-insensitively equal (same length and same characters) (strict-length, can continue comparison after #0).

strlsiIndexOf bbutils

Searchs searched in str case-insensitively (Attention: opposite parameter order of Pos) (strict length, this function can find #0-bytes).

strlsiLastIndexOf bbutils

Searchs searched in str, case-insensitive, returns -1 on no occurrence (Attention: opposite parameter order of Pos) (strict length, this function can find #0-bytes).

strlsIndexOf bbutils

Searchs searched in str case-sensitively (Attention: opposite parameter order of Pos) (strict length, this function can find #0-bytes).

strlsIndexOf bbutils

Searchs searched in str case-sensitively (Attention: opposite parameter order of Pos) (strict length, this function can find #0-bytes).

strlsLastIndexOf bbutils

Searchs searched in str, case-sensitive, returns -1 on no occurrence (Attention: opposite parameter order of Pos) (strict length, this function can find #0-bytes).

strlsLastIndexOf bbutils

Searchs searched in str, case-sensitive, returns -1 on no occurrence (Attention: opposite parameter order of Pos) (strict length, this function can find #0-bytes).

strlTrim bbutils

Removes all occurrences of trimCharacter from the left/right side of the string.
It will move the pointer and change length, not modifying the memory pointed to.

strlTrimLeft bbutils

Removes all occurrences of trimCharacter from the left/right side of the string.
It will move the pointer and change length, not modifying the memory pointed to.

strlTrimRight bbutils

Removes all occurrences of trimCharacter from the left/right side of the string.
It will move the pointer and change length, not modifying the memory pointed to.

strMoveRef bbutils

Like move: moves count strings from source memory to dest memory.

strNormalizeLineEndings bbutils

Replaces all #13#10 or #13 by #10.

strNormalizeLineEndingsUTF8 bbutils

Replaces all #$D#$A, #$D #$85, #$85, #$2028, or #13 by #10.

strPrependIfMissing bbutils

Prepends expectedStart, if s does not starts with expectedStart.

strRemoveFileURLPrefix bbutils

Removes a file:// prefix from filename if it is there,

strResolveURI bbutils

Returns a absolute uri for a uri relative to the uri base.

strReverse bbutils

reverses a string.

strRpos bbutils

Searchs the last index of c in s.

strSaveToFile bbutils

Saves a string as file.

strSaveToFileUTF8 bbutils

Saves a string as file.

strSimilarity bbutils

Levenshtein distance between s and t.

strSlice bbutils

Returns a string with all characters between start and last (including start, last).

strSlice bbutils

Returns a string with all characters between first and last (including first, last).

strSplit bbutils

Splits the string remainingPart into two parts at the first position of separator, the first is assign to firstPart, the second one is again assign to remainingPart.

strSplit bbutils

Splits the string s into the array splitted at every occurrence of sep.

strSplit bbutils

Splits the string s into the array splitted at every occurrence of sep.

strSplitGet bbutils

Splits the string remainingPart into two parts at the first position of separator, the first part is returned as function result, the second one is again assign to remainingPart.

strSplitGetBetweenBrackets bbutils

 

strSplitGetUntilBracketClosing bbutils

Given a string like openBracket ..

StrToBigDecimal bigdecimalmath_template

Converts a decimal string to a bigdecimal.

StrToBoolDef bbutils

Converts a str to a bool (for fpc versions before 2.2)

StrToInt65 int65math

 

strTrim bbutils

Removes all occurrences of trimCharacter from the left and right side of the string.

strTrimAndNormalize bbutils

Replaces any sequence of trimCharacter with a single space, and removes leading/trailing spaces.

strTrimCommon bbutils

 

strTrimLeft bbutils

Removes all occurrences of trimCharacter from the left side of the string.

strTrimRight bbutils

Removes all occurrences of trimCharacter from the right side of the string.

strUnescapeHex bbutils

Replace all occurrences of escape + XX with chr(XX).

strUnicode2AnsiMoveProc bbutils

converts utf16 to other unicode pages and latin1.

strUpperCaseSpecialUTF8 bbutils

This function converts codePoint to the corresponding uppercase codepoint according to the unconditional cases of SpecialCasing.txt of Unicode 8.

strWrap bbutils

Word wraps a string to a maximum column length.

strWrapSplit bbutils

Word wraps a string to a maximum column length.

threadedCall bbutils

Calls proc in an new thread

threadedCall bbutils

Calls proc in an new thread

threadedCall bbutils

Calls proc in an new thread

timeFormat bbutils

Converts a time to a string corresponding to the given mask (same mask as dateTimeParsePartsTry)

timeFormatNEW bbutils

 

timeParse bbutils

Reads a time string given a certain mask .
This function checks, if the time is valid.

timeParseParts bbutils

Reads a time string given a certain mask

truncToInt65 int65math

 

TryStrToBigDecimal bigdecimalmath_template

Converts a decimal string to a bigdecimal.

TryStrToInt65 int65math

 

UIntToObj bbutils

 

UIntToPtr bbutils

 

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unequal bbutils

Checks if all elements are pairwise unequal.

unicodeNormalizationForm xquery__serialization_nodes

 

utf16EncodeSurrogatePair bbutils

Encodes an UTF-16 surrogate pair.

widestrlmove bbutils

Copies min(sourceLen, destLen) characters from source to dest and returns dest.

wregexprClone xquery__regex

 

wregexprExtract xquery__regex

 

wregexprFree xquery__regex

 

wregexprMatch xquery__regex

 

wregexprMatches xquery__regex

 

wregexprParse xquery__regex

 

wregexprParseInternal xquery__regex

 

wregexprReplaceAll xquery__regex

 

XQKeyOrderFromString xquery__serialization_nodes

 

_OP_ bigdecimalmath_template

 


Generated by PasDoc 0.16.0.