Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz.c236 unsigned int distance; in FASTLZ_COMPRESSOR() local
248 distance = 1; in FASTLZ_COMPRESSOR()
261 distance = anchor - ref; in FASTLZ_COMPRESSOR()
269 if (distance == 0 || in FASTLZ_COMPRESSOR()
271 (distance >= MAX_DISTANCE) || in FASTLZ_COMPRESSOR()
273 (distance >= MAX_FARDISTANCE) || in FASTLZ_COMPRESSOR()
281 if (distance >= MAX_DISTANCE) { in FASTLZ_COMPRESSOR()
294 distance--; in FASTLZ_COMPRESSOR()
296 if (!distance) { in FASTLZ_COMPRESSOR()
347 if (distance < MAX_DISTANCE) { in FASTLZ_COMPRESSOR()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_compliance.out37 0 medium distance (M)
38 1 long distance (L)
39 2 intermeddiate distance (I)
40 3 short distance (S)
41 4 very long distance (V)
96 0 medium distance (M)
97 1 long distance (L)
98 2 intermeddiate distance (I)
99 3 short distance (S)
100 4 very long distance (V)
/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.c248 UInt32 distance; in LzmaDec_DecodeReal() local
254 distance = rep1; in LzmaDec_DecodeReal()
263 distance = rep2; in LzmaDec_DecodeReal()
268 distance = rep3; in LzmaDec_DecodeReal()
274 rep0 = distance; in LzmaDec_DecodeReal()
314 UInt32 distance; in LzmaDec_DecodeReal() local
317 TREE_6_DECODE(prob, distance); in LzmaDec_DecodeReal()
318 if (distance >= kStartPosModelIndex) in LzmaDec_DecodeReal()
320 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal()
321 int numDirectBits = (int)(((distance >> 1) - 1)); in LzmaDec_DecodeReal()
[all …]
H A DLzmaEnc.c856 UInt32 distance = p->matches[numPairs - 1] + 1; in ReadMatchDistances() local
861 const Byte *pby2 = pby - distance; in ReadMatchDistances()
1103 UInt32 distance = matches[offs + 1]; in GetOptimum() local
1107 if (distance < kNumFullDistances) in GetOptimum()
1108 curAndLenPrice += p->distancesPrices[lenToPosState][distance]; in GetOptimum()
1112 GetPosSlot2(distance, slot); in GetOptimum()
1113 … curAndLenPrice += p->alignPrices[distance & kAlignMask] + p->posSlotPrices[lenToPosState][slot]; in GetOptimum()
1120 opt->backPrev = distance + LZMA_NUM_REPS; in GetOptimum()
1829 UInt32 distance = p->reps[pos]; in LzmaEnc_CodeOneBlock() local
1842 p->reps[0] = distance; in LzmaEnc_CodeOneBlock()
/illumos-gate/usr/src/cmd/sort/
H A Dfields.c1060 ssize_t start, end, distance; in field_convert() local
1073 distance = 0; in field_convert()
1080 distance = cur_fieldp->f_convert(cur_fieldp, L, in field_convert()
1086 if (distance == -1) { in field_convert()
1106 xstrninv(L->l_collate.sp, coll_offset, distance); in field_convert()
1107 *(L->l_collate.sp + coll_offset + distance) = in field_convert()
1109 distance++; in field_convert()
1112 ASSERT(distance >= 0); in field_convert()
1113 coll_offset += distance; in field_convert()
1142 ssize_t start, end, distance; in field_convert_wide() local
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Ddeflate.h327 # define _tr_tally_dist(s, distance, length, flush) \ argument
329 ush dist = (ush)(distance); \
340 # define _tr_tally_dist(s, distance, length, flush) \ argument
341 flush = _tr_tally(s, distance, length)
H A DChangeLog624 - Add puff compile option to permit invalid distance-too-far streams
646 - Add compile option to permit invalid distance-too-far streams
856 dynamic blocks with only literals and no distance codes --
858 - Add a note to puff.c on no distance codes case
912 - Perform more rigorous check for distance-too-far in inffast.c
979 - Make inflate distance-too-far checks more rigorous
1026 - When Z_RLE requested, restrict matches to distance one
/illumos-gate/usr/src/cmd/make/bin/
H A Dread.cc473 int distance; in parse_makefile() local
1522 distance = 0; in parse_makefile()
1576 if (distance != 0) { in parse_makefile()
1577 *source_p = *(source_p + distance); in parse_makefile()
1598 if (distance != 0) { in parse_makefile()
1600 *(source_p + distance); in parse_makefile()
1621 if (distance != 0) { in parse_makefile()
1624 distance); in parse_makefile()
1636 distance++; in parse_makefile()
1639 distance + 1) == in parse_makefile()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dntp.h294 struct s_fixedpt distance; member
363 struct s_fixedpt distance; /* receive */ member
398 struct s_fixedpt distance; /* clock update */ member
H A Dsnoop_ntp.c160 (char *)(uintptr_t)ntp->distance.int_part - in interpret_ntp()
163 ntohs(ntp->distance.int_part), in interpret_ntp()
164 ntohs(ntp->distance.fraction), in interpret_ntp()
165 s_fixed_to_double(&ntp->distance)); in interpret_ntp()
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_bus_reset.c784 int distance = 0; in s1394_topology_tree_calculate_diameter() local
832 distance = current->max_1st + 1; in s1394_topology_tree_calculate_diameter()
835 if (distance > current->max_1st) { in s1394_topology_tree_calculate_diameter()
837 current->max_1st = (uchar_t)distance; in s1394_topology_tree_calculate_diameter()
839 } else if (distance > current->max_2nd) { in s1394_topology_tree_calculate_diameter()
840 current->max_2nd = (uchar_t)distance; in s1394_topology_tree_calculate_diameter()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/
H A Dusbwcm.c179 int right, int wheel, int distance) in uwacom_mouse_events_graphire() argument
185 uwacom_event(usbwcmp, EVT_ABS, ABS_DISTANCE, distance); in uwacom_mouse_events_graphire()
247 int wheel, distance; in usbwcm_input_graphire() local
252 distance = PACKET_BITS(7, 0, 6); in usbwcm_input_graphire()
256 distance = PACKET_BITS(6, 0, 6); in usbwcm_input_graphire()
264 distance); in usbwcm_input_graphire()
305 uwacom_pos_events_intuos(usbwcm_state_t *usbwcmp, int x, int y, int distance) in uwacom_pos_events_intuos() argument
309 uwacom_event(usbwcmp, EVT_ABS, ABS_DISTANCE, distance); in uwacom_pos_events_intuos()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_frame2.c1677 Dwarf_Unsigned distance = in read_encoded_ptr() local
1679 *addr += dbg->de_debug_frame_eh_gnu.dss_addr + distance; in read_encoded_ptr()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcompile-i386.c963 int distance = ea_current - ea_last - 1; in emit_initializer() local
965 if (distance > 0) in emit_initializer()
966 printf("\t.zero\t%d\n", (sym->bit_size / 8) * distance); in emit_initializer()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DTYPES86 gives the distance of the point to the origin. Thus, p1.len will output
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c1525 # define _tr_tally_dist(s, distance, length, flush) \ argument
1527 ush dist = (distance); \
1537 # define _tr_tally_dist(s, distance, length, flush) \ argument
1538 flush = _tr_tally(s, distance, length)
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd.c2830 int nunits, distance, j; in sbd_get_devlist() local
2847 distance = MAX_CMP_UNITS_PER_BOARD; in sbd_get_devlist()
2850 distance = 0; in sbd_get_devlist()
2854 if ((dip = devlist[i + j * distance]) == NULL) in sbd_get_devlist()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_nfs.c436 add_mfs(struct mapfs *mfs, int distance, struct mapfs **mfs_head, in add_mfs() argument
453 if (distance) in add_mfs()
454 new->mfs_distance = distance; in add_mfs()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/
H A Dstructure.tex69 stepnumber=5, % The step distance between line numbers, i.e. how often will lines be numbered
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c612 #define _tr_tally_dist(s, distance, length, flush) \ argument
614 ush dist = (distance); \
624 #define _tr_tally_dist(s, distance, length, flush) \ argument
625 flush = _tr_tally(s, distance, length)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c8177 l2arc_evict(l2arc_dev_t *dev, uint64_t distance, boolean_t all) in l2arc_evict() argument
8191 distance += l2arc_log_blk_overhead(distance, dev); in l2arc_evict()
8195 if (dev->l2ad_hand >= (dev->l2ad_end - distance)) { in l2arc_evict()
8207 taddr = dev->l2ad_hand + distance; in l2arc_evict()
8355 ASSERT3U(dev->l2ad_hand + distance, <, dev->l2ad_end); in l2arc_evict()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex.news508 distance from the right edge of the screen, but this location