Home
last modified time | relevance | path

Searched refs:dist (Results 26 - 50 of 470) sorted by relevance

12345678910>>...19

/third_party/python/Lib/distutils/tests/
H A Dtest_install_scripts.py18 dist = Distribution()
19 dist.command_obj["build"] = support.DummyCommand(
21 dist.command_obj["install"] = support.DummyCommand(
26 cmd = install_scripts(dist)
62 dist = Distribution()
63 dist.command_obj["build"] = support.DummyCommand(build_scripts=source)
64 dist.command_obj["install"] = support.DummyCommand(
69 cmd = install_scripts(dist)
H A Dtest_upload.py91 dist = Distribution()
92 cmd = upload(dist)
104 dist = Distribution()
105 cmd = upload(dist)
110 # initialized it at the dist level
111 dist.password = 'xxx'
112 cmd = upload(dist)
125 pkg_dir, dist = self.create_dist(dist_files=dist_files)
126 cmd = upload(dist)
175 pkg_dir, dist
[all...]
H A Dtest_install_lib.py20 dist = self.create_dist()[1]
21 cmd = install_lib(dist)
40 project_dir, dist = self.create_dist()
42 cmd = install_lib(dist)
55 project_dir, dist = self.create_dist()
58 cmd = install_lib(dist)
60 # setting up a dist environment
75 project_dir, dist = self.create_dist()
78 cmd = install_lib(dist)
80 # setting up a dist environmen
[all...]
/third_party/mesa3d/src/panfrost/shared/
H A Dpan_tiling.c315 unsigned dist = MIN2(first_full_tile_y - y, h); in panfrost_access_tiled_image() local
318 x, y, w, dist, in panfrost_access_tiled_image()
321 if (dist == h) in panfrost_access_tiled_image()
324 y += dist; in panfrost_access_tiled_image()
325 h -= dist; in panfrost_access_tiled_image()
330 unsigned dist = (y + h) - last_full_tile_y; in panfrost_access_tiled_image() local
333 x, last_full_tile_y, w, dist, in panfrost_access_tiled_image()
336 h -= dist; in panfrost_access_tiled_image()
341 unsigned dist = MIN2(first_full_tile_x - x, w); in panfrost_access_tiled_image() local
344 x, y, dist, in panfrost_access_tiled_image()
356 unsigned dist = (x + w) - last_full_tile_x; panfrost_access_tiled_image() local
[all...]
/kernel/linux/linux-5.10/lib/zlib_inflate/
H A Dinffast.c92 unsigned dist; /* match distance */ in inflate_fast() local
159 dist = (unsigned)(this.val); in inflate_fast()
169 dist += (unsigned)hold & ((1U << op) - 1); in inflate_fast()
171 if (dist > dmax) { in inflate_fast()
180 if (dist > op) { /* see if copy from window */ in inflate_fast()
181 op = dist - op; /* distance back in window */ in inflate_fast()
195 from = out - dist; /* rest from output */ in inflate_fast()
213 from = out - dist; /* rest from output */ in inflate_fast()
224 from = out - dist; /* rest from output */ in inflate_fast()
243 from = out - dist; /* cop in inflate_fast()
[all...]
/kernel/linux/linux-6.6/lib/zlib_inflate/
H A Dinffast.c92 unsigned dist; /* match distance */ in inflate_fast() local
159 dist = (unsigned)(this.val); in inflate_fast()
169 dist += (unsigned)hold & ((1U << op) - 1); in inflate_fast()
171 if (dist > dmax) { in inflate_fast()
180 if (dist > op) { /* see if copy from window */ in inflate_fast()
181 op = dist - op; /* distance back in window */ in inflate_fast()
195 from = out - dist; /* rest from output */ in inflate_fast()
213 from = out - dist; /* rest from output */ in inflate_fast()
224 from = out - dist; /* rest from output */ in inflate_fast()
243 from = out - dist; /* cop in inflate_fast()
[all...]
/third_party/node/deps/v8/third_party/zlib/
H A Dinffast.c81 unsigned dist; /* match distance */ local
152 dist = (unsigned)(here->val);
162 dist += (unsigned)hold & ((1U << op) - 1);
164 if (dist > dmax) {
172 Tracevv((stderr, "inflate: distance %u\n", dist));
174 if (dist > op) { /* see if copy from window */
175 op = dist - op; /* distance back in window */
195 from = out - dist;
211 from = out - dist; /* rest from output */
229 from = out - dist; /* res
[all...]
H A Ddeflate.h295 int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
303 #define d_code(dist) \
304 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
305 /* Mapping from a distance to a distance code. dist is the distance - 1 and
331 ush dist = (ush)(distance); \
332 s->sym_buf[s->sym_next++] = dist; \
333 s->sym_buf[s->sym_next++] = dist >> 8; \
335 dist
[all...]
/third_party/node/deps/zlib/
H A Dinffast.c78 unsigned dist; /* match distance */ in inflate_fast() local
149 dist = (unsigned)(here->val); in inflate_fast()
159 dist += (unsigned)hold & ((1U << op) - 1); in inflate_fast()
161 if (dist > dmax) { in inflate_fast()
169 Tracevv((stderr, "inflate: distance %u\n", dist)); in inflate_fast()
171 if (dist > op) { /* see if copy from window */ in inflate_fast()
172 op = dist - op; /* distance back in window */ in inflate_fast()
192 from = out - dist; in inflate_fast()
208 from = out - dist; /* rest from output */ in inflate_fast()
226 from = out - dist; /* res in inflate_fast()
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dinffast.c81 unsigned dist; /* match distance */ local
152 dist = (unsigned)(here.val);
162 dist += (unsigned)hold & ((1U << op) - 1);
164 if (dist > dmax) {
172 Tracevv((stderr, "inflate: distance %u\n", dist));
174 if (dist > op) { /* see if copy from window */
175 op = dist - op; /* distance back in window */
195 from = out - dist;
211 from = out - dist; /* rest from output */
229 from = out - dist; /* res
[all...]
H A Ddeflate.h295 int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
303 #define d_code(dist) \
304 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
305 /* Mapping from a distance to a distance code. dist is the distance - 1 and
331 ush dist = (ush)(distance); \
332 s->sym_buf[s->sym_next++] = dist; \
333 s->sym_buf[s->sym_next++] = dist >> 8; \
335 dist
[all...]
/third_party/zlib/
H A Dinffast.c74 unsigned dist; /* match distance */ in inflate_fast() local
145 dist = (unsigned)(here->val); in inflate_fast()
155 dist += (unsigned)hold & ((1U << op) - 1); in inflate_fast()
157 if (dist > dmax) { in inflate_fast()
165 Tracevv((stderr, "inflate: distance %u\n", dist)); in inflate_fast()
167 if (dist > op) { /* see if copy from window */ in inflate_fast()
168 op = dist - op; /* distance back in window */ in inflate_fast()
188 from = out - dist; in inflate_fast()
204 from = out - dist; /* rest from output */ in inflate_fast()
222 from = out - dist; /* res in inflate_fast()
[all...]
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
H A Dvgic-v4.c190 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_configure_vsgis() local
197 if (dist->nassgireq) in vgic_v4_configure_vsgis()
217 struct vgic_dist *dist = &kvm->arch.vgic; in vgic_v4_init() local
224 if (dist->its_vm.vpes) in vgic_v4_init()
229 dist->its_vm.vpes = kcalloc(nr_vcpus, sizeof(*dist->its_vm.vpes), in vgic_v4_init()
231 if (!dist->its_vm.vpes) in vgic_v4_init()
234 dist->its_vm.nr_vpes = nr_vcpus; in vgic_v4_init()
237 dist->its_vm.vpes[i] = &vcpu->arch.vgic_cpu.vgic_v3.its_vpe; in vgic_v4_init()
239 ret = its_alloc_vcpu_irqs(&dist in vgic_v4_init()
[all...]
/third_party/node/deps/npm/node_modules/pacote/lib/
H A Dregistry.js59 new Error('Invalid package manifest: no `dist.tarball` field'),
144 // add _resolved and _integrity from dist object
145 const { dist } = mani
146 if (dist) {
147 this.resolved = mani._resolved = dist.tarball
149 const distIntegrity = dist.integrity ? ssri.parse(dist.integrity)
150 : dist.shasum ? ssri.fromHex(dist.shasum, 'sha1', { ...this.opts })
178 if (dist
[all...]
/kernel/linux/linux-5.10/lib/
H A Dcpu_rmap.c54 rmap->near[cpu].dist = CPU_RMAP_DIST_INF; in alloc_cpu_rmap()
95 const struct cpumask *mask, u16 dist) in cpu_rmap_copy_neigh()
100 if (rmap->near[cpu].dist > dist && in cpu_rmap_copy_neigh()
101 rmap->near[neigh].dist <= dist) { in cpu_rmap_copy_neigh()
103 rmap->near[cpu].dist = dist; in cpu_rmap_copy_neigh()
121 cpu, index, rmap->near[cpu].dist); in debug_print_rmap()
169 rmap->near[cpu].dist in cpu_rmap_update()
94 cpu_rmap_copy_neigh(struct cpu_rmap *rmap, unsigned int cpu, const struct cpumask *mask, u16 dist) cpu_rmap_copy_neigh() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dcpu_rmap.c54 rmap->near[cpu].dist = CPU_RMAP_DIST_INF; in alloc_cpu_rmap()
95 const struct cpumask *mask, u16 dist) in cpu_rmap_copy_neigh()
100 if (rmap->near[cpu].dist > dist && in cpu_rmap_copy_neigh()
101 rmap->near[neigh].dist <= dist) { in cpu_rmap_copy_neigh()
103 rmap->near[cpu].dist = dist; in cpu_rmap_copy_neigh()
121 cpu, index, rmap->near[cpu].dist); in debug_print_rmap()
181 rmap->near[cpu].dist in cpu_rmap_update()
94 cpu_rmap_copy_neigh(struct cpu_rmap *rmap, unsigned int cpu, const struct cpumask *mask, u16 dist) cpu_rmap_copy_neigh() argument
[all...]
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/
H A Dinffast_chunk.c102 unsigned dist; /* match distance */ local
192 dist = (unsigned)(here->val);
208 dist += (unsigned)hold & ((1U << op) - 1);
210 if (dist > dmax) {
218 Tracevv((stderr, "inflate: distance %u\n", dist));
220 if (dist > op) { /* see if copy from window */
221 op = dist - op; /* distance back in window */
241 from = out - dist;
269 /* When dist is small the amount of data that can be
278 out = chunkunroll_relaxed(out, &dist,
[all...]
/third_party/node/deps/brotli/c/enc/
H A Dcommand.h121 const BrotliDistanceParams* dist, size_t insertlen, in InitCommand()
131 distance_code, dist->num_direct_distance_codes, in InitCommand()
132 dist->distance_postfix_bits, &self->dist_prefix_, &self->dist_extra_); in InitCommand()
147 const Command* self, const BrotliDistanceParams* dist) { in CommandRestoreDistanceCode()
149 BROTLI_NUM_DISTANCE_SHORT_CODES + dist->num_direct_distance_codes) { in CommandRestoreDistanceCode()
155 uint32_t postfix_mask = (1U << dist->distance_postfix_bits) - 1U; in CommandRestoreDistanceCode()
156 uint32_t hcode = (dcode - dist->num_direct_distance_codes - in CommandRestoreDistanceCode()
158 dist->distance_postfix_bits; in CommandRestoreDistanceCode()
159 uint32_t lcode = (dcode - dist->num_direct_distance_codes - in CommandRestoreDistanceCode()
162 return ((offset + extra) << dist in CommandRestoreDistanceCode()
120 InitCommand(Command* self, const BrotliDistanceParams* dist, size_t insertlen, size_t copylen, int copylen_code_delta, size_t distance_code) InitCommand() argument
146 CommandRestoreDistanceCode( const Command* self, const BrotliDistanceParams* dist) CommandRestoreDistanceCode() argument
[all...]
H A Dprefix.h34 size_t dist = ((size_t)1 << (postfix_bits + 2u)) + in PrefixEncodeCopyDistance() local
36 size_t bucket = Log2FloorNonZero(dist) - 1; in PrefixEncodeCopyDistance()
38 size_t postfix = dist & postfix_mask; in PrefixEncodeCopyDistance()
39 size_t prefix = (dist >> bucket) & 1; in PrefixEncodeCopyDistance()
45 *extra_bits = (uint32_t)((dist - offset) >> postfix_bits); in PrefixEncodeCopyDistance()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dcommand.h121 const BrotliDistanceParams* dist, size_t insertlen, in InitCommand()
131 distance_code, dist->num_direct_distance_codes, in InitCommand()
132 dist->distance_postfix_bits, &self->dist_prefix_, &self->dist_extra_); in InitCommand()
147 const Command* self, const BrotliDistanceParams* dist) { in CommandRestoreDistanceCode()
149 BROTLI_NUM_DISTANCE_SHORT_CODES + dist->num_direct_distance_codes) { in CommandRestoreDistanceCode()
155 uint32_t postfix_mask = (1U << dist->distance_postfix_bits) - 1U; in CommandRestoreDistanceCode()
156 uint32_t hcode = (dcode - dist->num_direct_distance_codes - in CommandRestoreDistanceCode()
158 dist->distance_postfix_bits; in CommandRestoreDistanceCode()
159 uint32_t lcode = (dcode - dist->num_direct_distance_codes - in CommandRestoreDistanceCode()
162 return ((offset + extra) << dist in CommandRestoreDistanceCode()
120 InitCommand(Command* self, const BrotliDistanceParams* dist, size_t insertlen, size_t copylen, int copylen_code_delta, size_t distance_code) InitCommand() argument
146 CommandRestoreDistanceCode( const Command* self, const BrotliDistanceParams* dist) CommandRestoreDistanceCode() argument
[all...]
/third_party/skia/third_party/externals/zlib/contrib/optimizations/
H A Dinffast_chunk.c102 unsigned dist; /* match distance */ local
192 dist = (unsigned)(here.val);
208 dist += (unsigned)hold & ((1U << op) - 1);
210 if (dist > dmax) {
218 Tracevv((stderr, "inflate: distance %u\n", dist));
220 if (dist > op) { /* see if copy from window */
221 op = dist - op; /* distance back in window */
241 from = out - dist;
269 /* When dist is small the amount of data that can be
278 out = chunkunroll_relaxed(out, &dist,
[all...]
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/
H A DLzmaSpec.cpp99 Byte GetByte(UInt32 dist) const in GetByte()
101 return Buf[dist <= Pos ? Pos - dist : Size - dist + Pos]; in GetByte()
104 void CopyMatch(UInt32 dist, unsigned len) in CopyMatch() argument
107 PutByte(GetByte(dist)); in CopyMatch()
110 bool CheckDistance(UInt32 dist) const in CheckDistance()
112 return dist <= Pos || IsFull; in CheckDistance()
424 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits); in DecodeDistance() local
426 dist in DecodeDistance()
515 UInt32 dist; Decode() local
[all...]
/third_party/skia/third_party/externals/imgui/misc/fonts/
H A Dbinary_to_compressed_c.cpp220 static int stb_not_crap(int best, int dist) in stb_not_crap() argument
222 return ((best > 2 && dist <= 0x00100) in stb_not_crap()
223 || (best > 5 && dist <= 0x04000) in stb_not_crap()
224 || (best > 7 && dist <= 0x80000)); in stb_not_crap()
260 int best = 2, dist=0; in stb_compress_chunk() local
270 if (p ? dist != q-t : 1) \ in stb_compress_chunk()
273 best = m, dist = q - (t) in stb_compress_chunk()
293 assert(dist > 0); in stb_compress_chunk()
298 } else if (best > 2 && best <= 0x80 && dist <= 0x100) { in stb_compress_chunk()
301 stb_out(dist in stb_compress_chunk()
[all...]
/third_party/libwebsockets/win32port/zlib/
H A Ddeflate.h289 int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc));
296 #define d_code(dist) \
297 ((dist) < 256 ? _dist_code[dist] : _dist_code[256+((dist)>>7)])
298 /* Mapping from a distance to a distance code. dist is the distance - 1 and
324 ush dist = (ush)(distance); \
325 s->sym_buf[s->sym_next++] = dist; \
326 s->sym_buf[s->sym_next++] = dist >> 8; \
328 dist
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Ddiscrete_distribution_test.cc159 absl::discrete_distribution<int> dist(std::begin(weights), std::end(weights)); in TEST()
168 auto x = dist(rng); in TEST()
214 absl::discrete_distribution<int32_t> dist({1.0, 2.0, 3.0, 5.0, 2.0}); in TEST()
215 EXPECT_EQ(0, dist.min()); in TEST()
216 EXPECT_EQ(4, dist.max()); in TEST()
218 v = dist(urbg); in TEST()
240 absl::discrete_distribution<int64_t> dist({1.0, 2.0, 3.0, 5.0, 2.0}); in TEST()
241 EXPECT_EQ(0, dist.min()); in TEST()
242 EXPECT_EQ(4, dist.max()); in TEST()
244 v = dist(urb in TEST()
[all...]

Completed in 13 milliseconds

12345678910>>...19