Home
last modified time | relevance | path

Searched refs:byteStri (Results 1 – 4 of 4) sorted by relevance

/dports/lang/seed7/seed7/src/
H A Dint_rtl.c1435 if (byteStri->size == 0 || byteStri->mem[0] <= BYTE_MAX) {
1437 while (pos < byteStri->size && byteStri->mem[pos] == 0) {
1453 while (pos < byteStri->size && byteStri->mem[pos] == UBYTE_MAX) {
1478 result += byteStri->mem[pos];
1506 while (pos < byteStri->size && byteStri->mem[pos] == 0) {
1529 result += byteStri->mem[pos];
1626 pos = byteStri->size;
1627 if (byteStri->size == 0 || byteStri->mem[pos - 1] <= BYTE_MAX) {
1670 result += byteStri->mem[pos - 1];
1697 pos = byteStri->size;
[all …]
H A Dint_rtl.h70 intType intBytesBe2Int (const const_striType byteStri);
71 intType intBytesBe2UInt (const const_striType byteStri);
73 intType intBytesLe2Int (const const_striType byteStri);
74 intType intBytesLe2UInt (const const_striType byteStri);
/dports/lang/seed7/seed7/lib/
H A Dencoding.s7i61 ch := byteStri[subIndex];
79 if length(byteStri) rem 3 = 2 then
166 ch := byteStri[index];
170 index < length(byteStri) and byteStri[succ(index)] = '\n') then
202 quoted &:= byteStri[startPos ..];
266 if length(byteStri) <> 0 then
267 if length(byteStri) < 45 then
374 for ch key pos range byteStri do
436 for ch key pos range byteStri do
518 ch := byteStri[subIndex];
[all …]
H A Dbytedata.s7i502 * @param byteStri String of bytes to be converted. The bytes are
511 * @return an integer created from ''byteStri''.
515 const func integer: bytes2Int (in string: byteStri,
520 return bStriBe2BigInt(bstring(byteStri), FALSE);
523 return bStriLe2BigInt(bstring(byteStri), FALSE);
525 const func bigInteger: bytes2BigInt (in string: byteStri, SIGNED, BE) is
526 return bStriBe2BigInt(bstring(byteStri), TRUE);
529 return bStriLe2BigInt(bstring(byteStri), TRUE);
540 * @param byteStri String of bytes to be converted. The bytes are
549 * @return a bigInteger created from ''byteStri''.
[all …]