Home
last modified time | relevance | path

Searched refs:dr (Results 1 - 25 of 88) sorted by relevance

1234

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DPeriodFormatterData.java36 final DataRecord dr; field in PeriodFormatterData
42 public PeriodFormatterData(String localeName, DataRecord dr) { in PeriodFormatterData() argument
43 this.dr = dr; in PeriodFormatterData()
49 if (dr == null) { in PeriodFormatterData()
68 return dr.pl; in pluralization()
76 return dr.allowZero; in allowZero()
80 return dr.weeksAloneOnly; in weeksAloneOnly()
84 return dr.useMilliseconds; in useMilliseconds()
97 if (dr in appendPrefix()
[all...]
H A DResourceBasedPeriodFormatterDataService.java117 DataRecord dr = DataRecord.read(ln, new XMLRecordReader(reader)); in get()
119 if (dr != null) { in get()
126 // dr.write(xrw); in get()
129 ld = new PeriodFormatterData(localeName, dr); in get()
164 // DataRecord dr = new DataRecord(); // hack, no default, will die if used
165 // fallbackFormatterData = new PeriodFormatterData(null, dr);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/
H A DPeriodFormatterData.java38 final DataRecord dr; field in PeriodFormatterData
44 public PeriodFormatterData(String localeName, DataRecord dr) { in PeriodFormatterData() argument
45 this.dr = dr; in PeriodFormatterData()
51 if (dr == null) { in PeriodFormatterData()
70 return dr.pl; in pluralization()
78 return dr.allowZero; in allowZero()
82 return dr.weeksAloneOnly; in weeksAloneOnly()
86 return dr.useMilliseconds; in useMilliseconds()
99 if (dr in appendPrefix()
[all...]
H A DResourceBasedPeriodFormatterDataService.java119 DataRecord dr = DataRecord.read(ln, new XMLRecordReader(reader)); in get()
121 if (dr != null) { in get()
128 // dr.write(xrw); in get()
131 ld = new PeriodFormatterData(localeName, dr); in get()
166 // DataRecord dr = new DataRecord(); // hack, no default, will die if used
167 // fallbackFormatterData = new PeriodFormatterData(null, dr);
/third_party/skia/tools/skdiff/
H A Dskdiff.cpp145 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in colors_match_thresholded() local
150 (SkAbs32(dr) <= threshold) && in colors_match_thresholded()
158 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold) { in compute_diff() argument
159 const int w = dr->fComparison.fBitmap.width(); in compute_diff()
160 const int h = dr->fComparison.fBitmap.height(); in compute_diff()
161 if (w != dr->fBase.fBitmap.width() || h != dr->fBase.fBitmap.height()) { in compute_diff()
162 dr->fResult = DiffRecord::kDifferentSizes_Result; in compute_diff()
174 dr->fWeightedFraction = 0; in compute_diff()
177 SkPMColor c0 = *dr in compute_diff()
[all...]
H A Dskdiff.h259 int dr = SkGetPackedR32(c0) - SkGetPackedR32(c1); in compute_diff_pmcolor() local
263 return SkPackARGB32(0xFF, SkAbs32(dr), SkAbs32(dg), SkAbs32(db)); in compute_diff_pmcolor()
266 /** When finished, dr->fResult should have some value other than kUnknown_Result.
267 * Expects dr->fWhite.fBitmap and dr->fDifference.fBitmap to have the same bounds as
268 * dr->fBase.fBitmap and have a valid pixelref.
270 void compute_diff(DiffRecord* dr, DiffMetricProc diffFunction, const int colorThreshold);
/third_party/FatFs/documents/res/
H A Dapp4.c48 DRESULT dr; in test_diskio() local
73 dr = disk_ioctl(pdrv, GET_SECTOR_COUNT, &sz_drv); in test_diskio()
74 if (dr == RES_OK) { in test_diskio()
90 dr = disk_ioctl(pdrv, GET_SECTOR_SIZE, &sz_sect); in test_diskio()
91 if (dr == RES_OK) { in test_diskio()
105 dr = disk_ioctl(pdrv, GET_BLOCK_SIZE, &sz_eblk); in test_diskio()
106 if (dr == RES_OK) { in test_diskio()
111 if (dr == RES_OK || sz_eblk >= 2) { in test_diskio()
122 dr = disk_write(pdrv, pbuff, lba, 1); in test_diskio()
123 if (dr in test_diskio()
[all...]
H A Dapp3.c81 DRESULT dr; in main() local
103 dr = disk_write(fil.fs->drv, Buff, org, 1024); /* Write 512KiB from top of the file */ in main()
/third_party/FreeBSD/sys/arm/arm/
H A Dnexus.c89 struct devclass_res *dr = NULL; in get_resource_list() local
93 TAILQ_FOREACH(dr, &devclass_resources, link) { in get_resource_list()
94 if (!strcmp(dr->devclass_name, devclass_name)) { in get_resource_list()
98 if (dr == NULL) { in get_resource_list()
99 dr = malloc(sizeof(struct devclass_res) + strlen(devclass_name) + 1); in get_resource_list()
100 if (dr == NULL) { in get_resource_list()
103 dr->devclass_name = (char *)(dr + 1); in get_resource_list()
104 (void)strcpy_s(dr->devclass_name, strlen(devclass_name) + 1, devclass_name); in get_resource_list()
105 resource_list_init(&dr in get_resource_list()
[all...]
/third_party/musl/src/math/
H A Dcbrtl.c33 double_t dr, dt, dx; in cbrtl() local
85 dr = dt * dt * dt; in cbrtl()
86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
89 dr = dt * dt * dt; in cbrtl()
90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dcbrtl.c33 double_t dr, dt, dx; in cbrtl() local
85 dr = dt * dt * dt; in cbrtl()
86 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
89 dr = dt * dt * dt; in cbrtl()
90 dt = dt * (dx + dx + dr) / (dx + dr + dr); in cbrtl()
/third_party/ffmpeg/libavcodec/x86/
H A Dvp9dsp_init_16bpp.c55 decl_ipred_fn(dr, 16, 16, avx2);
56 decl_ipred_fn(dr, 32, 16, avx2);
66 decl_ipred_dir_funcs(dr); variable
109 init_ipred_funcs(dr, DIAG_DOWN_RIGHT, 16, sse2); in ff_vp9dsp_init_16bpp_x86()
118 init_ipred_funcs(dr, DIAG_DOWN_RIGHT, 16, ssse3); in ff_vp9dsp_init_16bpp_x86()
130 init_ipred_funcs(dr, DIAG_DOWN_RIGHT, 16, avx); in ff_vp9dsp_init_16bpp_x86()
143 init_ipred_func(dr, DIAG_DOWN_RIGHT, 16, 16, avx2); in ff_vp9dsp_init_16bpp_x86()
147 init_ipred_func(dr, DIAG_DOWN_RIGHT, 32, 16, avx2); in ff_vp9dsp_init_16bpp_x86()
/third_party/mesa3d/src/compiler/glsl/
H A Dlinker_util.cpp361 * \param dr List of array_deref_range elements to be
369 _mark_array_elements_referenced(const struct array_deref_range *dr, in _mark_array_elements_referenced() argument
379 if (dr[i].index < dr[i].size) { in _mark_array_elements_referenced()
380 linearized_index += dr[i].index * scale; in _mark_array_elements_referenced()
381 scale *= dr[i].size; in _mark_array_elements_referenced()
391 for (unsigned j = 0; j < dr[i].size; j++) { in _mark_array_elements_referenced()
392 _mark_array_elements_referenced(&dr[i + 1], in _mark_array_elements_referenced()
394 scale * dr[i].size, in _mark_array_elements_referenced()
428 * \param dr Lis
432 link_util_mark_array_elements_referenced(const struct array_deref_range *dr, unsigned count, unsigned array_depth, BITSET_WORD *bits) link_util_mark_array_elements_referenced() argument
[all...]
H A Dir_array_refcount.cpp146 array_deref_range *const dr = get_array_deref(); in visit_enter() local
148 dr->size = array->type->array_size(); in visit_enter()
151 dr->index = idx->get_int_component(0); in visit_enter()
159 dr->index = dr->size; in visit_enter()
/third_party/skia/gm/
H A Dhsl.cpp90 static void hue(float dr, float dg, float db, in hue() argument
96 set_sat(&R,&G,&B, sat(dr,dg,db)); in hue()
97 set_lum(&R,&G,&B, lum(dr,dg,db)); in hue()
103 static void saturation(float dr, float dg, float db, in saturation() argument
106 float R = dr, in saturation()
110 set_lum(&R,&G,&B, lum( dr, dg, db)); // This may seem redundant, but it is not. in saturation()
116 static void color(float dr, float dg, float db, in color() argument
122 set_lum(&R,&G,&B, lum(dr,dg,db)); in color()
128 static void luminosity(float dr, float dg, float db, in luminosity() argument
131 float R = dr, in luminosity()
[all...]
/third_party/python/Lib/lib2to3/tests/
H A Dpytree_idempotency.py28 dr = driver.Driver(gr, convert=pytree.convert)
31 tree = dr.parse_file(fn, debug=True)
50 tree = dr.parse_file(fn, debug=True)
67 tree = dr.parse_file(fn, debug=True)
/third_party/FreeBSD/lib/msun/ld128/
H A Ds_expl.c207 double dr, dx, fn, r2; in expm1l() local
289 dr = r; in expm1l()
291 dr * (A7 + dr * (A8 + dr * (A9 + dr * A10)))))))); in expm1l()
H A Dk_expl.h241 double dr, fn, r2; in __k_expl() local
255 dr = r; in __k_expl()
257 dr * (A7 + dr * (A8 + dr * (A9 + dr * A10)))))))); in __k_expl()
/third_party/mesa3d/src/compiler/glsl/tests/
H A Darray_refcount_test.cpp281 static const array_deref_range dr[] = { in TEST_F() local
286 link_util_mark_array_elements_referenced(dr, 3, entry.array_depth, in TEST_F()
302 static const array_deref_range dr[] = { in TEST_F() local
306 link_util_mark_array_elements_referenced(dr, 3, entry.array_depth, in TEST_F()
331 static const array_deref_range dr[] = { in TEST_F() local
335 link_util_mark_array_elements_referenced(dr, 3, entry.array_depth, in TEST_F()
360 static const array_deref_range dr[] = { in TEST_F() local
364 link_util_mark_array_elements_referenced(dr, 3, entry.array_depth, in TEST_F()
389 static const array_deref_range dr[] = { in TEST_F() local
393 link_util_mark_array_elements_referenced(dr, in TEST_F()
[all...]
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h1075 F dr,dg,db,da; member
1114 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \
1118 params->dr, params->dg, params->db, params->da); \
1123 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da)
1127 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da); \
1129 F r, F g, F b, F a, F dr, F dg, F db, F da) { \
1130 name##_k(Ctx{program},dx,dy,tail, r,g,b,a, dr,dg,db,da); \
1132 next(tail,program,dx,dy, r,g,b,a, dr,dg,db,da); \
1135 F& r, F& g, F& b, F& a, F& dr, F& dg, F& db, F& da)
1291 dr
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_ir_fs.h203 * Return whether the register region starting at \p r and spanning \p dr
208 regions_overlap(const fs_reg &r, unsigned dr, const fs_reg &s, unsigned ds) in regions_overlap() argument
216 return regions_overlap(t, dr / 2, s, ds) || in regions_overlap()
217 regions_overlap(byte_offset(t, 4 * REG_SIZE), dr / 2, s, ds); in regions_overlap()
220 return regions_overlap(s, ds, r, dr); in regions_overlap()
224 !(reg_offset(r) + dr <= reg_offset(s) || in regions_overlap()
230 * Check that the register region given by r [r.offset, r.offset + dr[
235 region_contained_in(const fs_reg &r, unsigned dr, const fs_reg &s, unsigned ds) in region_contained_in() argument
239 reg_offset(r) + dr <= reg_offset(s) + ds; in region_contained_in()
/third_party/ffmpeg/libavfilter/
H A Dvf_bilateral.c187 type dr = abs(tcr - tpr); \
189 range_dist = dr; \
206 type dr = abs(tcr - tpr); \
207 int range_dist = dr; \
267 type dr = abs((*tcy++) - (*tpy++)); \
268 int range_dist = dr; \
306 type dr = abs((*tcy++) - (*tpy++)); \
307 int range_dist = dr; \
H A Dvf_colorkey.c51 double dr, dg, db, diff; in do_colorkey_pixel() local
53 dr = r * scale - colorkey_rgba[0]; in do_colorkey_pixel()
57 diff = sqrt((dr * dr + dg * dg + db * db) / (255.0 * 255.0 * 3.0)); in do_colorkey_pixel()
H A Daf_drmeter.c134 float dr = 0; in print_stats() local
167 dr += chdr; in print_stats()
171 av_log(ctx, AV_LOG_INFO, "Overall DR: %g\n", dr / s->nb_channels); in print_stats()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_job.c580 struct pipe_scissor_state *dr = &job->damage_rect; in lima_update_damage_pp_stream() local
584 bound.minx = MAX2(dbound->minx, dr->minx >> 4); in lima_update_damage_pp_stream()
585 bound.miny = MAX2(dbound->miny, dr->miny >> 4); in lima_update_damage_pp_stream()
586 bound.maxx = MIN2(dbound->maxx, (dr->maxx + 0xf) >> 4); in lima_update_damage_pp_stream()
587 bound.maxy = MIN2(dbound->maxy, (dr->maxy + 0xf) >> 4); in lima_update_damage_pp_stream()
589 bound.minx = dr->minx >> 4; in lima_update_damage_pp_stream()
590 bound.miny = dr->miny >> 4; in lima_update_damage_pp_stream()
591 bound.maxx = (dr->maxx + 0xf) >> 4; in lima_update_damage_pp_stream()
592 bound.maxy = (dr->maxy + 0xf) >> 4; in lima_update_damage_pp_stream()
670 struct pipe_scissor_state *dr in lima_damage_fullscreen() local
[all...]

Completed in 15 milliseconds

1234