Home
last modified time | relevance | path

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

12345678910>>...33

/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/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 …]
/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/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/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/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/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/libaom/libaom/test/
Dcdef_test.cc43 boundary = GET_PARAM(3); in SetUp()
51 int boundary; member in __anon655380b60111::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/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/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/arm-trusted-firmware/include/lib/
Dutils_def.h97 #define round_boundary(value, boundary) \ argument
98 ((__typeof__(value))((boundary) - 1))
100 #define round_up(value, boundary) \ argument
101 ((((value) - 1) | round_boundary(value, boundary)) + 1)
103 #define round_down(value, boundary) \ argument
104 ((value) & ~round_boundary(value, boundary))
/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"
Dmsg_39.txt2 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
5 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
9 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
31 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
53 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
/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"
Dmsg_39.txt2 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0"
5 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa1"
9 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
31 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
53 Content-Type: multipart/alternative; boundary="----- =_aaaaaaaaaa1"
/external/curl/tests/data/
Dtest65363 s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
66 # boundary string and since 5 of them are in the body contents, we see
73 Content-Type: multipart/form-data; boundary=----------------------------
84 Content-Type: multipart/form-data; boundary=----------------------------
/external/python/cpython3/Lib/email/
Dgenerator.py275 boundary = msg.get_boundary()
276 if not boundary:
280 boundary = self._make_boundary(alltext)
281 msg.set_boundary(boundary)
291 self.write('--' + boundary + self._NL)
300 self.write(self._NL + '--' + boundary + self._NL)
304 self.write(self._NL + '--' + boundary + '--' + self._NL)
374 boundary = ('=' * 15) + (_fmt % token) + '=='
376 return boundary
377 b = boundary
[all …]
/external/python/cpython2/Lib/email/mime/
Dmultipart.py16 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, argument
46 if boundary:
47 self.set_boundary(boundary)
/external/python/cpython3/Lib/email/mime/
Dmultipart.py16 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, argument
47 if boundary:
48 self.set_boundary(boundary)

12345678910>>...33