Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaDec.c263 UInt32 distance; in LzmaDec_DecodeReal() local
269 distance = rep1; in LzmaDec_DecodeReal()
278 distance = rep2; in LzmaDec_DecodeReal()
283 distance = rep3; in LzmaDec_DecodeReal()
289 rep0 = distance; in LzmaDec_DecodeReal()
367 UInt32 distance; in LzmaDec_DecodeReal() local
370 TREE_6_DECODE(prob, distance); in LzmaDec_DecodeReal()
371 if (distance >= kStartPosModelIndex) in LzmaDec_DecodeReal()
373 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal()
374 unsigned numDirectBits = (unsigned)(((distance >> 1) - 1)); in LzmaDec_DecodeReal()
[all …]
DLzmaEnc.c1143 UInt32 distance = matches[offs + 1]; in GetOptimum() local
1147 if (distance < kNumFullDistances) in GetOptimum()
1148 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()
1152 GetPosSlot2(distance, slot); in GetOptimum()
1153 … curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()
1160 opt->backPrev = distance + LZMA_NUM_REPS; in GetOptimum()
1874 UInt32 distance = p->reps[pos]; in LzmaEnc_CodeOneBlock() local
1887 p->reps[0] = distance; in LzmaEnc_CodeOneBlock()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c265 UInt32 distance; in LzmaDec_DecodeReal() local
271 distance = rep1; in LzmaDec_DecodeReal()
280 distance = rep2; in LzmaDec_DecodeReal()
285 distance = rep3; in LzmaDec_DecodeReal()
291 rep0 = distance; in LzmaDec_DecodeReal()
369 UInt32 distance; in LzmaDec_DecodeReal() local
372 TREE_6_DECODE(prob, distance); in LzmaDec_DecodeReal()
373 if (distance >= kStartPosModelIndex) in LzmaDec_DecodeReal()
375 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal()
376 unsigned numDirectBits = (unsigned)(((distance >> 1) - 1)); in LzmaDec_DecodeReal()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c265 UInt32 distance; in LzmaDec_DecodeReal() local
271 distance = rep1; in LzmaDec_DecodeReal()
280 distance = rep2; in LzmaDec_DecodeReal()
285 distance = rep3; in LzmaDec_DecodeReal()
291 rep0 = distance; in LzmaDec_DecodeReal()
369 UInt32 distance; in LzmaDec_DecodeReal() local
372 TREE_6_DECODE(prob, distance); in LzmaDec_DecodeReal()
373 if (distance >= kStartPosModelIndex) in LzmaDec_DecodeReal()
375 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal()
376 unsigned numDirectBits = (unsigned)(((distance >> 1) - 1)); in LzmaDec_DecodeReal()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Ddeflate.h315 # define _tr_tally_dist(s, distance, length, flush) \ argument
317 ush dist = (distance); \
327 # define _tr_tally_dist(s, distance, length, flush) \ argument
328 flush = _tr_tally(s, distance, length)
Dalgorithm.txt6 pointer to the previous string, in the form of a pair (distance,
84 of the first table is nine bits. Also the distance trees have 30 possible
191 byte (a "literal"), or it can be either a length or a distance which
DChangeLog133 dynamic blocks with only literals and no distance codes --
135 - Add a note to puff.c on no distance codes case.
189 - Perform more rigorous check for distance-too-far in inffast.c
256 - Make inflate distance-too-far checks more rigorous
303 - When Z_RLE requested, restrict matches to distance one
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Ddeflate.h330 # define _tr_tally_dist(s, distance, length, flush) \ argument
332 ush dist = (distance); \
342 # define _tr_tally_dist(s, distance, length, flush) \ argument
343 flush = _tr_tally(s, distance, length)
Dalgorithm.txt6 pointer to the previous string, in the form of a pair (distance,
84 of the first table is nine bits. Also the distance trees have 30 possible
191 byte (a "literal"), or it can be either a length or a distance which
DChangeLog518 - Add puff compile option to permit invalid distance-too-far streams
540 - Add compile option to permit invalid distance-too-far streams
750 dynamic blocks with only literals and no distance codes --
752 - Add a note to puff.c on no distance codes case.
806 - Perform more rigorous check for distance-too-far in inffast.c
873 - Make inflate distance-too-far checks more rigorous
920 - When Z_RLE requested, restrict matches to distance one
/device/generic/goldfish/sensors/
Dsensors_qemu.c408 events[ID_PROXIMITY].distance = params[0]; in sensor_device_poll_event_locked()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp618 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample()