Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/external/icu/icu4c/source/samples/break/
Dbreak.cpp51 void printEachForward( BreakIterator& boundary) in printEachForward() argument
53 int32_t start = boundary.first(); in printEachForward()
54 for (int32_t end = boundary.next(); in printEachForward()
56 start = end, end = boundary.next()) in printEachForward()
58 printTextRange( boundary, start, end ); in printEachForward()
63 void printEachBackward( BreakIterator& boundary) in printEachBackward() argument
65 int32_t end = boundary.last(); in printEachBackward()
66 for (int32_t start = boundary.previous(); in printEachBackward()
68 end = start, start = boundary.previous()) in printEachBackward()
70 printTextRange( boundary, start, end ); in printEachBackward()
[all …]
Dubreak.c39 void printEachForward( UBreakIterator* boundary, UChar* str) { in printEachForward() argument
41 int32_t start = ubrk_first(boundary); in printEachForward()
42 for (end = ubrk_next(boundary); end != UBRK_DONE; start = end, end = in printEachForward()
43 ubrk_next(boundary)) { in printEachForward()
50 void printEachBackward( UBreakIterator* boundary, UChar* str) { in printEachBackward() argument
52 int32_t end = ubrk_last(boundary); in printEachBackward()
53 for (start = ubrk_previous(boundary); start != UBRK_DONE; end = start, in printEachBackward()
54 start =ubrk_previous(boundary)) { in printEachBackward()
60 void printFirst(UBreakIterator* boundary, UChar* str) { in printFirst() argument
62 int32_t start = ubrk_first(boundary); in printFirst()
[all …]
/external/eigen/doc/special_examples/
DTutorial_sparse_example_details.cpp9 Eigen::VectorXd& b, const Eigen::VectorXd& boundary) in insertCoefficient() argument
11 int n = int(boundary.size()); in insertCoefficient()
14 if(i==-1 || i==n) b(id) -= w * boundary(j); // constrained coefficient in insertCoefficient()
15 else if(j==-1 || j==n) b(id) -= w * boundary(i); // constrained coefficient in insertCoefficient()
22 Eigen::ArrayXd boundary = Eigen::ArrayXd::LinSpaced(n, 0,M_PI).sin().pow(2); in buildProblem() local
28 insertCoefficient(id, i-1,j, -1, coefficients, b, boundary); in buildProblem()
29 insertCoefficient(id, i+1,j, -1, coefficients, b, boundary); in buildProblem()
30 insertCoefficient(id, i,j-1, -1, coefficients, b, boundary); in buildProblem()
31 insertCoefficient(id, i,j+1, -1, coefficients, b, boundary); in buildProblem()
32 insertCoefficient(id, i,j, 4, coefficients, b, boundary); in buildProblem()
/external/libchrome/base/metrics/
Dhistogram_macros_internal.h145 #define INTERNAL_HISTOGRAM_EXACT_LINEAR_WITH_FLAG(name, sample, boundary, \
150 static_assert(!std::is_enum<decltype(boundary)>::value, \
154 base::LinearHistogram::FactoryGet(name, 1, boundary, boundary + 1, \
162 name, sample, count, boundary, scale, flag) \
166 static_assert(!std::is_enum<decltype(boundary)>::value, \
173 boundary, \
174 boundary + 1, \
207 #define INTERNAL_HISTOGRAM_ENUMERATION_WITH_FLAG(name, sample, boundary, flag) \
210 using decayed_boundary = std::decay<decltype(boundary)>::type; \
219 static_cast<uintmax_t>(boundary) < \
[all …]
Dhistogram_unittest.nc13 #if defined(NCTEST_DIFFERENT_ENUM) // [r"\|sample\| and \|boundary\| shouldn't be of different enu…
21 #elif defined(NCTEST_DIFFERENT_ENUM_CLASS) // [r"\|sample\| and \|boundary\| shouldn't be of diffe…
29 #elif defined(NCTEST_DIFFERENT_ENUM_MIXED) // [r"\|sample\| and \|boundary\| shouldn't be of diffe…
37 #elif defined(NCTEST_NEGATIVE_ENUM_MAX) // [r'static_assert failed "\|boundary\| is out of range o…
40 // Buckets for enumeration start from 0, so a boundary < 0 is illegal.
45 #elif defined(NCTEST_ENUM_MAX_OUT_OF_RANGE) // [r'static_assert failed "\|boundary\| is out of ran…
53 #elif defined(NCTEST_SAMPLE_NOT_ENUM) // [r'static_assert failed "Unexpected: \|boundary\| is enum…
/external/icu/icu4c/source/i18n/
Dbrktrans.cpp106 int32_t boundary; in handleTransliterate() local
107 …for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next(… in handleTransliterate()
108 if (boundary == 0) continue; in handleTransliterate()
111 UChar32 cp = sText.char32At(boundary-1); in handleTransliterate()
116 cp = sText.char32At(boundary); in handleTransliterate()
121 boundaries->addElement(boundary, status); in handleTransliterate()
135 boundary = boundaries->popi(); in handleTransliterate()
136 text.handleReplaceBetween(boundary, boundary, fInsertion); in handleTransliterate()
/external/nist-sip/java/gov/nist/javax/sip/message/
DContentImpl.java17 private String boundary; field in ContentImpl
25 public ContentImpl( String content, String boundary ) { in ContentImpl() argument
28 this.boundary = boundary; in ContentImpl()
61 if (boundary == null) { in toString()
65 return "--" + boundary + "\r\n" + getContentTypeHeader() + in toString()
69 … return "--" + boundary + "\r\n" + getContentTypeHeader() + "\r\n" + content.toString(); in toString()
/external/timezone-boundary-builder/
DCHANGELOG.md9 …one names in each release ([#69](https://github.com/evansiroky/timezone-boundary-builder/issues/69…
10 …n fixing broken relations ([#68](https://github.com/evansiroky/timezone-boundary-builder/issues/68…
16 * Split Vietnam into 2 zones ([#66](https://github.com/evansiroky/timezone-boundary-builder/issues/…
24 * Add standard linter ([#67](https://github.com/evansiroky/timezone-boundary-builder/issues/67))
30 …ese-claimed territories. ([#52](https://github.com/evansiroky/timezone-boundary-builder/issues/52…
31 …d C to `Asia/Jerusalem`. ([#53](https://github.com/evansiroky/timezone-boundary-builder/issues/53…
32 …a from `Asia/Qyzylorda`. ([#59](https://github.com/evansiroky/timezone-boundary-builder/issues/59…
33 …pe/Berlin` to `Etc/UTC`. ([#61](https://github.com/evansiroky/timezone-boundary-builder/issues/61…
40 * Update to use Node 10 ([#56](https://github.com/evansiroky/timezone-boundary-builder/issues/56))
46 …nd `America/Scoresbysund` ([#40](https://github.com/evansiroky/timezone-boundary-builder/issues/40…
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBreakTransliterator.java80 int boundary = 0; in handleTransliterate() local
94 …for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.n… in handleTransliterate()
95 if (boundary == 0) continue; in handleTransliterate()
98 int cp = UTF16.charAt(text, boundary-1); in handleTransliterate()
103 cp = UTF16.charAt(text, boundary); in handleTransliterate()
114 boundaries[boundaryCount++] = boundary; in handleTransliterate()
128 boundary = boundaries[--boundaryCount]; in handleTransliterate()
129 text.replace(boundary, boundary, insertion); in handleTransliterate()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DMultipartBuilder.java76 private final ByteString boundary; field in MultipartBuilder
93 public MultipartBuilder(String boundary) { in MultipartBuilder() argument
94 this.boundary = ByteString.encodeUtf8(boundary); in MultipartBuilder()
195 return new MultipartRequestBody(type, boundary, partHeaders, partBodies); in build()
199 private final ByteString boundary; field in MultipartBuilder.MultipartRequestBody
205 public MultipartRequestBody(MediaType type, ByteString boundary, List<Headers> partHeaders, in MultipartRequestBody() argument
209 this.boundary = boundary; in MultipartRequestBody()
210 this.contentType = MediaType.parse(type + "; boundary=" + boundary.utf8()); in MultipartRequestBody()
244 sink.write(boundary); in writeOrCountBytes()
286 sink.write(boundary); in writeOrCountBytes()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DBreakTransliterator.java79 int boundary = 0; in handleTransliterate() local
93 …for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.n… in handleTransliterate()
94 if (boundary == 0) continue; in handleTransliterate()
97 int cp = UTF16.charAt(text, boundary-1); in handleTransliterate()
102 cp = UTF16.charAt(text, boundary); in handleTransliterate()
113 boundaries[boundaryCount++] = boundary; in handleTransliterate()
127 boundary = boundaries[--boundaryCount]; in handleTransliterate()
128 text.replace(boundary, boundary, insertion); in handleTransliterate()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DMultipartBuilder.java74 private final ByteString boundary; field in MultipartBuilder
91 public MultipartBuilder(String boundary) { in MultipartBuilder() argument
92 this.boundary = ByteString.encodeUtf8(boundary); in MultipartBuilder()
193 return new MultipartRequestBody(type, boundary, partHeaders, partBodies); in build()
197 private final ByteString boundary; field in MultipartBuilder.MultipartRequestBody
203 public MultipartRequestBody(MediaType type, ByteString boundary, List<Headers> partHeaders, in MultipartRequestBody() argument
207 this.boundary = boundary; in MultipartRequestBody()
208 this.contentType = MediaType.parse(type + "; boundary=" + boundary.utf8()); in MultipartRequestBody()
242 sink.write(boundary); in writeOrCountBytes()
284 sink.write(boundary); in writeOrCountBytes()
/external/llvm-project/compiler-rt/lib/safestack/
Dsafestack_util.h31 inline size_t RoundUpTo(size_t size, size_t boundary) { in RoundUpTo() argument
32 SFS_CHECK((boundary & (boundary - 1)) == 0); in RoundUpTo()
33 return (size + boundary - 1) & ~(boundary - 1); in RoundUpTo()
/external/libaom/libaom/test/
Dcdef_test.cc43 boundary = GET_PARAM(3); in SetUp()
51 int boundary; member in __anon208d19120111::CDEFBlockTest
60 cdef_filter_block_func ref_cdef, int boundary, int depth) { in test_cdef() argument
77 for (pridamping = 3 + depth - 8; pridamping < 7 - 3 * !!boundary + depth - 8; in test_cdef()
80 secdamping < 7 - 3 * !!boundary + depth - 8; secdamping++) { in test_cdef()
83 level += (2 + 6 * !!boundary) << (depth - 8)) { in test_cdef()
84 for (bits = 1; bits <= depth && !error; bits += 1 + 3 * !!boundary) { in test_cdef()
88 if (boundary) { in test_cdef()
89 if (boundary & 1) { // Left in test_cdef()
94 if (boundary & 2) { // Right in test_cdef()
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Dplane.cc42 const std::vector<float>& boundary, in FromData() argument
50 if (boundary.size() % 2 != 0) { in FromData()
57 plane->boundary_vertex_count_ = boundary.size() / 2; in FromData()
58 if (!boundary.empty()) { in FromData()
59 plane->boundary_ = boundary; in FromData()
150 std::vector<float> boundary; in ParsePlaneFields() local
153 &boundary)) { in ParsePlaneFields()
167 boundary_ = boundary; in ParsePlaneFields()
/external/skia/src/core/
DSkMarkerStack.cpp10 void SkMarkerStack::setMarker(uint32_t id, const SkM44& mx, void* boundary) { in setMarker() argument
19 if (it->fBoundary != boundary) { // we've gone past the save-frame in setMarker()
29 fStack.push_back({boundary, mx, inv, id}); in setMarker()
58 void SkMarkerStack::restore(void* boundary) { in restore() argument
59 while (!fStack.empty() && fStack.back().fBoundary == boundary) { in restore()
/external/python/cpython2/Lib/email/
Dgenerator.py206 boundary = msg.get_boundary()
207 if not boundary:
211 boundary = _make_boundary(alltext)
212 msg.set_boundary(boundary)
221 print >> self._fp, '--' + boundary
230 print >> self._fp, '\n--' + boundary
234 self._fp.write('\n--' + boundary + '--' + NL)
360 boundary = ('=' * 15) + (_fmt % token) + '=='
362 return boundary
363 b = boundary
[all …]
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_extractor.cc44 absl::flat_hash_set<const HloInstruction*>* boundary) in ExtractionVisitor() argument
49 boundary_(boundary) {} in ExtractionVisitor()
112 absl::flat_hash_set<const HloInstruction*>* boundary) { in ComputeBoundary() argument
122 boundary->insert(hlo); in ComputeBoundary()
139 absl::flat_hash_set<const HloInstruction*> boundary; in ExtractModule() local
141 ComputeBoundary(instruction, height, &boundary); in ExtractModule()
143 ExtractionVisitor visitor(*instruction->GetModule(), &boundary); in ExtractModule()
/external/rust/crates/rayon/src/iter/find_first_last/
Dtest.rs28 assert_eq!(left_folder.boundary, right_folder.boundary); in same_range_first_consumers_return_correct_answer()
64 assert_eq!(left_folder.boundary, right_folder.boundary); in same_range_last_consumers_return_correct_answer()
84 boundary: 0, in find_first_folder_does_not_clobber_first_found()
99 boundary: 0, in find_last_folder_yields_last_match()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cpp15 void *my_memalign(size_t boundary, size_t size) { in my_memalign() argument
16 return memalign(boundary, size); in my_memalign()
19 void *my_memalign(size_t boundary, size_t size) { in my_memalign() argument
21 posix_memalign(&p, boundary, size); in my_memalign()
/external/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cc15 void *my_memalign(size_t boundary, size_t size) { in my_memalign() argument
16 return memalign(boundary, size); in my_memalign()
19 void *my_memalign(size_t boundary, size_t size) { in my_memalign() argument
21 posix_memalign(&p, boundary, size); in my_memalign()
/external/python/cpython2/Doc/library/
Dmultifile.rst58 EOF) return it. If the line matches the most-recently-stacked boundary, return
60 end-marker. If the line matches any other stacked boundary, raise an error. On
91 an end-marker is seen. Re-enable the most-recently-pushed boundary.
96 Return true if *str* is data and false if it might be a section boundary. As
101 Note that this test is used intended as a fast guard for the real boundary
108 Push a boundary string. When a decorated version of this boundary is found as
112 removes the boundary a or :meth:`.next` call reenables it.
114 It is possible to push more than one boundary. Encountering the
115 most-recently-pushed boundary will return EOF; encountering any other
116 boundary will raise an error.
[all …]
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_38.txt2 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
5 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
9 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa2"
19 Unlike the test test_nested-multiples-with-internal-boundary, this
20 piece of text not only contains the outer boundary tags
49 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa3"
71 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa4"
/external/python/cpython2/Lib/email/test/data/
Dmsg_38.txt2 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
5 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
9 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa2"
19 Unlike the test test_nested-multiples-with-internal-boundary, this
20 piece of text not only contains the outer boundary tags
49 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa3"
71 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa4"
/external/webrtc/system_wrappers/include/
Dmetrics.h170 #define RTC_HISTOGRAM_ENUMERATION_SPARSE(name, sample, boundary) \ argument
173 webrtc::metrics::SparseHistogramFactoryGetEnumeration(name, boundary))
185 #define RTC_HISTOGRAM_ENUMERATION(name, sample, boundary) \ argument
188 webrtc::metrics::HistogramFactoryGetEnumeration(name, boundary))
252 #define RTC_HISTOGRAMS_ENUMERATION(index, name, sample, boundary) \ argument
254 RTC_HISTOGRAM_ENUMERATION(name, sample, boundary))
320 #define RTC_HISTOGRAM_ENUMERATION_SPARSE(name, sample, boundary) \ argument
321 webrtc::metrics_impl::NoOp(name, sample, boundary)
327 #define RTC_HISTOGRAM_ENUMERATION(name, sample, boundary) \ argument
328 webrtc::metrics_impl::NoOp(name, sample, boundary)
[all …]

12345678910>>...40