Home
last modified time | relevance | path

Searched refs:distances (Results 1 – 25 of 141) sorted by relevance

123456

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DDistanceTable.java106 int[] distances = new int[IX_LIMIT]; in build() local
107 distances[IX_DEF_LANG_DISTANCE] = defLangNode.distance; in build()
108 distances[IX_DEF_SCRIPT_DISTANCE] = defScriptNode.distance; in build()
109 distances[IX_DEF_REGION_DISTANCE] = defRegionNode.distance; in build()
110 distances[IX_MIN_REGION_DISTANCE] = minRegionDistance; in build()
116 return new DistanceTable(rootNode, distances); in build()
175 private final int[] distances; field in DistanceTable
177 private DistanceTable(Node rootNode, int[] distances) { in DistanceTable() argument
179 this.distances = distances; in DistanceTable()
189 return distances; in getDefaultDistances()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleDistance.java110 public int[] distances; field in LocaleDistance.Data
114 Set<LSR> paradigmLSRs, int[] distances) { in Data() argument
119 this.distances = distances; in Data()
166 int[] distances = getValue(matchTable, "distances", value).getIntVector(); in load() local
167 if (distances.length < IX_LIMIT) { in load()
172 return new Data(trie, regionToPartitions, partitions, paradigmLSRs, distances); in load()
184 Arrays.equals(distances, od.distances); in equals()
201 defaultLanguageDistance = data.distances[IX_DEF_LANG_DISTANCE]; in LocaleDistance()
202 defaultScriptDistance = data.distances[IX_DEF_SCRIPT_DISTANCE]; in LocaleDistance()
203 defaultRegionDistance = data.distances[IX_DEF_REGION_DISTANCE]; in LocaleDistance()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DLocaleDistance.java115 public int[] distances; field in LocaleDistance.Data
119 Set<LSR> paradigmLSRs, int[] distances) { in Data() argument
124 this.distances = distances; in Data()
171 int[] distances = getValue(matchTable, "distances", value).getIntVector(); in load() local
172 if (distances.length < IX_LIMIT) { in load()
177 return new Data(trie, regionToPartitions, partitions, paradigmLSRs, distances); in load()
189 Arrays.equals(distances, od.distances); in equals()
206 defaultLanguageDistance = data.distances[IX_DEF_LANG_DISTANCE]; in LocaleDistance()
207 defaultScriptDistance = data.distances[IX_DEF_SCRIPT_DISTANCE]; in LocaleDistance()
208 defaultRegionDistance = data.distances[IX_DEF_REGION_DISTANCE]; in LocaleDistance()
[all …]
/third_party/boost/libs/graph/test/
Ddijkstra_heap_performance.cpp55 std::vector< double > distances(num_vertices(g)); in run_test() local
64 distance_map(&distances[0]).visitor(show_events_visitor())); in run_test()
68 BOOST_TEST(distances == correct_distances); in run_test()
70 if (distances != correct_distances) in run_test()
76 std::copy(distances.begin(), distances.end(), in run_test()
Dcloseness_centrality.cpp66 DistanceMatrix distances(num_vertices(g)); in test_undirected() local
69 DistanceMatrixMap dm(distances, g); in test_undirected()
103 DistanceMatrix distances(num_vertices(g)); in test_directed() local
106 DistanceMatrixMap dm(distances, g); in test_directed()
Deccentricity.cpp65 DistanceMatrix distances(num_vertices(g)); in test_undirected() local
68 DistanceMatrixMap dm(distances, g); in test_undirected()
106 DistanceMatrix distances(num_vertices(g)); in test_directed() local
109 DistanceMatrixMap dm(distances, g); in test_directed()
Dmean_geodesic.cpp67 DistanceMatrix distances(num_vertices(g)); in test_undirected() local
70 DistanceMatrixMap dm(distances, g); in test_undirected()
107 DistanceMatrix distances(num_vertices(g)); in test_directed() local
110 DistanceMatrixMap dm(distances, g); in test_directed()
Dmas_test.cpp137 distances_type distances = boost::make_shared_array_property_map( in BOOST_AUTO_TEST_CASE() local
148 pq(distances, indicesInHeap); in BOOST_AUTO_TEST_CASE()
227 distances_type distances = boost::make_shared_array_property_map( in BOOST_AUTO_TEST_CASE() local
238 pq(distances, indicesInHeap); in BOOST_AUTO_TEST_CASE()
/third_party/openGLES/extensions/ARB/
DARB_cull_distance.txt142 distances, as written by the vertex shader to its built-in output
199 question. For line and triangle primitives, per-vertex clip distances are
245 enabled cull distances and can be at most gl_MaxCullDistances. The number
248 gl_CullDistance must write all enabled distances, or culling results are
252 to write these distances. As an input in all but the fragment language,
309 (2) Should there be enable flags for cull distances as there are for
310 clip distances?
315 distances, instead usage in the shader should determine this.
317 (3) How many cull distances are supported?
319 RESOLVED: Eight. But as resources used by cull distances and clip
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_cull_distance.txt132 distances, as written by the vertex shader to its built-in output
189 question. For line and triangle primitives, per-vertex clip distances are
235 enabled cull distances and can be at most gl_MaxCullDistances. The number
238 gl_CullDistance must write all enabled distances, or culling results are
242 to write these distances. As an input in all but the fragment language,
299 (2) Should there be enable flags for cull distances as there are for
300 clip distances?
305 distances, instead usage in the shader should determine this.
307 (3) How many cull distances are supported?
309 RESOLVED: Eight. But as resources used by cull distances and clip
[all …]
/third_party/boost/libs/compute/test/
Dtest_struct.cpp107 __global float *distances) in BOOST_AUTO_TEST_CASE()
115 distances[i] = distance(position, center); in BOOST_AUTO_TEST_CASE()
125 compute::vector<float> distances(atoms.size(), context); in BOOST_AUTO_TEST_CASE() local
129 custom_kernel.set_arg(1, distances); in BOOST_AUTO_TEST_CASE()
/third_party/icu/icu4c/source/common/
Dlocdistance.cpp68 data.distances == nullptr) { in initLocaleDistance()
91 defaultLanguageDistance(data.distances[IX_DEF_LANG_DISTANCE]), in LocaleDistance()
92 defaultScriptDistance(data.distances[IX_DEF_SCRIPT_DISTANCE]), in LocaleDistance()
93 defaultRegionDistance(data.distances[IX_DEF_REGION_DISTANCE]), in LocaleDistance()
94 minRegionDistance(data.distances[IX_MIN_REGION_DISTANCE]) { in LocaleDistance()
/third_party/node/deps/icu-small/source/common/
Dlocdistance.cpp68 data.distances == nullptr) { in initLocaleDistance()
91 defaultLanguageDistance(data.distances[IX_DEF_LANG_DISTANCE]), in LocaleDistance()
92 defaultScriptDistance(data.distances[IX_DEF_SCRIPT_DISTANCE]), in LocaleDistance()
93 defaultRegionDistance(data.distances[IX_DEF_REGION_DISTANCE]), in LocaleDistance()
94 minRegionDistance(data.distances[IX_MIN_REGION_DISTANCE]) { in LocaleDistance()
/third_party/skia/third_party/externals/icu/source/common/
Dlocdistance.cpp68 data.distances == nullptr) { in initLocaleDistance()
91 defaultLanguageDistance(data.distances[IX_DEF_LANG_DISTANCE]), in LocaleDistance()
92 defaultScriptDistance(data.distances[IX_DEF_SCRIPT_DISTANCE]), in LocaleDistance()
93 defaultRegionDistance(data.distances[IX_DEF_REGION_DISTANCE]), in LocaleDistance()
94 minRegionDistance(data.distances[IX_MIN_REGION_DISTANCE]) { in LocaleDistance()
/third_party/boost/libs/graph/example/
Dmean_geodesic.cpp64 DistanceMatrix distances(num_vertices(g)); in main() local
65 DistanceMatrixMap dm(distances, g); in main()
Dcloseness_centrality.cpp65 DistanceMatrix distances(num_vertices(g)); in main() local
66 DistanceMatrixMap dm(distances, g); in main()
Deccentricity.cpp64 DistanceMatrix distances(num_vertices(g)); in main() local
65 DistanceMatrixMap dm(distances, g); in main()
Dscaled_closeness_centrality.cpp91 DistanceMatrix distances(num_vertices(g)); in main() local
92 DistanceMatrixMap dm(distances, g); in main()
/third_party/openGLES/extensions/EXT/
DEXT_clip_cull_distance.txt56 distances to OpenGL ES. The language for this extension is based
153 distances, as written by the upstream shader to the built-in output variable
157 distances, as written by the upstream shader to the built-in output variable
210 For line and triangle primitives, per-vertex clip distances are
241 of similarly specified clip distances, if multiple half-spaces are
290 plane. The clip distances will be linearly interpolated across the
292 distances less than 0 will be clipped.
309 shader to write these distances. As an input in all but the fragment
327 the number and set of enabled cull distances and can be at most
331 write all enabled distances, or culling results are undefined.
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/tool/locale/
DLocaleDistanceBuilder.java349 void prune(int level, int[] distances) { in prune() argument
352 node.prune(level + 1, distances); in prune()
361 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_SCRIPT_DISTANCE]) { in prune()
370 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_REGION_DISTANCE]) { in prune()
594 int[] distances = new int[LocaleDistance.IX_LIMIT]; in build() local
596 distances[LocaleDistance.IX_DEF_LANG_DISTANCE] = node.nodeDistance; in build()
598 distances[LocaleDistance.IX_DEF_SCRIPT_DISTANCE] = node.nodeDistance; in build()
600 distances[LocaleDistance.IX_DEF_REGION_DISTANCE] = node.nodeDistance; in build()
601 distances[LocaleDistance.IX_MIN_REGION_DISTANCE] = minRegionDistance; in build()
603 defaultDistanceTable.prune(0, distances); in build()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_clip_cull_distance.txt56 distances to OpenGL ES. The language for this extension is based
153 distances, as written by the upstream shader to the built-in output variable
157 distances, as written by the upstream shader to the built-in output variable
210 For line and triangle primitives, per-vertex clip distances are
241 of similarly specified clip distances, if multiple half-spaces are
290 plane. The clip distances will be linearly interpolated across the
292 distances less than 0 will be clipped.
309 shader to write these distances. As an input in all but the fragment
327 the number and set of enabled cull distances and can be at most
331 write all enabled distances, or culling results are undefined.
[all …]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/locale/
DLocaleDistanceBuilder.java349 void prune(int level, int[] distances) { in prune() argument
352 node.prune(level + 1, distances); in prune()
361 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_SCRIPT_DISTANCE]) { in prune()
370 if (next.nodeDistance == distances[LocaleDistance.IX_DEF_REGION_DISTANCE]) { in prune()
594 int[] distances = new int[LocaleDistance.IX_LIMIT]; in build() local
596 distances[LocaleDistance.IX_DEF_LANG_DISTANCE] = node.nodeDistance; in build()
598 distances[LocaleDistance.IX_DEF_SCRIPT_DISTANCE] = node.nodeDistance; in build()
600 distances[LocaleDistance.IX_DEF_REGION_DISTANCE] = node.nodeDistance; in build()
601 distances[LocaleDistance.IX_MIN_REGION_DISTANCE] = minRegionDistance; in build()
603 defaultDistanceTable.prune(0, distances); in build()
[all …]
/third_party/boost/libs/math/example/
Droot_finding_algorithms.cpp152 std::vector<long int> distances; member
457 root_infos[type_no].distances.push_back(distance); in test_root()
480 root_infos[type_no].distances.push_back(distance); in test_root()
504 root_infos[type_no].distances.push_back(distance); in test_root()
527 root_infos[type_no].distances.push_back(distance); in test_root()
551 root_infos[type_no].distances.push_back(distance); in test_root()
610 << std::setw(8) << std::setprecision(2) << root_infos[tp].distances[algo] in table_root_info()
659 << std::setw(3) << std::setprecision(2) << root_infos[tp].distances[algo] << "][ ]"; in table_root_info()
/third_party/skia/src/pathops/
DSkPathWriter.cpp187 DistanceLessThan(double* distances) : fDistances(distances) { } in DistanceLessThan() argument
274 SkSTArray<8, double, true> distances(entries); in assemble() local
287 distances.push_back(dist); // oStart distance from iStart in assemble()
293 SkTQSort<int>(sortedDist.begin(), sortedDist.end(), DistanceLessThan(distances.begin())); in assemble()
/third_party/flutter/skia/src/pathops/
DSkPathWriter.cpp187 DistanceLessThan(double* distances) : fDistances(distances) { } in DistanceLessThan() argument
277 SkSTArray<8, double, true> distances(entries); in assemble() local
290 distances.push_back(dist); // oStart distance from iStart in assemble()
296 SkTQSort<int>(sortedDist.begin(), sortedDist.end() - 1, DistanceLessThan(distances.begin())); in assemble()

123456