/external/icu/icu4c/source/samples/break/ |
break.cpp | 51 void printEachForward( BreakIterator& boundary) 53 int32_t start = boundary.first(); 54 for (int32_t end = boundary.next(); 56 start = end, end = boundary.next()) 58 printTextRange( boundary, start, end ); 63 void printEachBackward( BreakIterator& boundary) 65 int32_t end = boundary.last(); 66 for (int32_t start = boundary.previous(); 68 end = start, start = boundary.previous()) 70 printTextRange( boundary, start, end ) 103 BreakIterator* boundary; local [all...] |
ubreak.c | 39 void printEachForward( UBreakIterator* boundary, UChar* str) { 41 int32_t start = ubrk_first(boundary); 42 for (end = ubrk_next(boundary); end != UBRK_DONE; start = end, end = 43 ubrk_next(boundary)) { 50 void printEachBackward( UBreakIterator* boundary, UChar* str) { 52 int32_t end = ubrk_last(boundary); 53 for (start = ubrk_previous(boundary); start != UBRK_DONE; end = start, 54 start =ubrk_previous(boundary)) { 60 void printFirst(UBreakIterator* boundary, UChar* str) { 62 int32_t start = ubrk_first(boundary); 87 UBreakIterator *boundary; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
ContentImpl.java | 17 private String boundary; field in class:ContentImpl 25 public ContentImpl( String content, String boundary ) { 28 this.boundary = boundary; 61 if (boundary == null) { 65 return "--" + boundary + "\r\n" + getContentTypeHeader() + 69 return "--" + boundary + "\r\n" + getContentTypeHeader() + "\r\n" + content.toString();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/ |
multipart.py | 17 def __init__(self, _subtype='mixed', boundary=None, _subparts=None,
27 boundary is the multipart boundary string. By default it is
47 if boundary:
48 self.set_boundary(boundary)
|
/external/python/cpython2/Lib/email/mime/ |
multipart.py | 17 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, 27 boundary is the multipart boundary string. By default it is 47 if boundary: 48 self.set_boundary(boundary)
|
/external/python/cpython3/Lib/email/mime/ |
multipart.py | 17 def __init__(self, _subtype='mixed', boundary=None, _subparts=None, 28 boundary is the multipart boundary string. By default it is 48 if boundary: 49 self.set_boundary(boundary)
|
/external/eigen/doc/special_examples/ |
Tutorial_sparse_example_details.cpp | 9 Eigen::VectorXd& b, const Eigen::VectorXd& boundary) 11 int n = int(boundary.size()); 14 if(i==-1 || i==n) b(id) -= w * boundary(j); // constrained coefficient 15 else if(j==-1 || j==n) b(id) -= w * boundary(i); // constrained coefficient 22 Eigen::ArrayXd boundary = Eigen::ArrayXd::LinSpaced(n, 0,M_PI).sin().pow(2); local 28 insertCoefficient(id, i-1,j, -1, coefficients, b, boundary); 29 insertCoefficient(id, i+1,j, -1, coefficients, b, boundary); 30 insertCoefficient(id, i,j-1, -1, coefficients, b, boundary); 31 insertCoefficient(id, i,j+1, -1, coefficients, b, boundary); 32 insertCoefficient(id, i,j, 4, coefficients, b, boundary); [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
large_allocator_unpoisons_on_free.cc | 15 void *my_memalign(size_t boundary, size_t size) { 16 return memalign(boundary, size); 19 void *my_memalign(size_t boundary, size_t size) { 21 posix_memalign(&p, boundary, size);
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/ |
utils_def.h | 42 * The round_up() macro rounds up a value to the given boundary in a 43 * type-agnostic yet type-safe manner. The boundary must be a power of two. 44 * In other words, it computes the smallest multiple of boundary which is 49 #define round_boundary(value, boundary) \ 50 ((__typeof__(value))((boundary) - 1)) 52 #define round_up(value, boundary) \ 53 ((((value) - 1) | round_boundary(value, boundary)) + 1) 55 #define round_down(value, boundary) \ 56 ((value) & ~round_boundary(value, boundary))
|
/external/icu/icu4c/source/i18n/ |
brktrans.cpp | 104 int32_t boundary; local 105 for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next()) { 106 if (boundary == 0) continue; 109 UChar32 cp = sText.char32At(boundary-1); 114 cp = sText.char32At(boundary); 119 boundaries->addElement(boundary, status); 120 // printf("Boundary at %d\n", boundary) [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
metrics_default.cc | 22 int boundary) { return NULL; }
|
/external/libchrome/base/metrics/ |
histogram_macros_internal.h | 26 // Helper traits for deducing the boundary value for enums. 139 // This allows future versions of Chrome to safely increase the boundary size. 145 #define INTERNAL_HISTOGRAM_EXACT_LINEAR_WITH_FLAG(name, sample, boundary, \ 150 static_assert(!std::is_enum<decltype(boundary)>::value, \ 151 "|boundary| should not be an enum type!"); \ 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, \ 167 "|boundary| should not be an enum type!"); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_multifile.py | 8 boundary="=====================_590453667==_"
13 boundary="=====================_590453677==_.ALT"
46 boundary = msg.getparam("boundary")
49 mf.push(boundary)
|
/external/dynamic_depth/internal/dynamic_depth/ |
plane.cc | 15 constexpr char kBoundary[] = "Boundary"; 42 const std::vector<float>& boundary, 50 if (boundary.size() % 2 != 0) { 51 LOG(ERROR) << "Number of vertices in the boundary polygon must be 2-tuples"; 57 plane->boundary_vertex_count_ = boundary.size() / 2; 58 if (!boundary.empty()) { 59 plane->boundary_ = boundary; 114 LOG(ERROR) << "Boundary polygon encoding failed."; 148 // The BoundaryVertexCount field is required only if the Boundary field is 150 std::vector<float> boundary; local [all...] |
/external/python/cpython2/Lib/test/ |
test_multifile.py | 8 boundary="=====================_590453667==_" 13 boundary="=====================_590453677==_.ALT" 46 boundary = msg.getparam("boundary") 49 mf.push(boundary)
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
DateSorterTest.java | 68 long boundary = dateSorter.getBoundary(i); local 71 assertEquals(i, dateSorter.getIndex(boundary + 1)); 73 assertEquals(nextIndex, dateSorter.getIndex(boundary)); 74 assertEquals(nextIndex, dateSorter.getIndex(boundary-1));
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BreakTransliterator.java | 80 int boundary = 0; local 94 for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.next()) { 95 if (boundary == 0) continue; 98 int cp = UTF16.charAt(text, boundary-1); 103 cp = UTF16.charAt(text, boundary); 114 boundaries[boundaryCount++] = boundary; 115 //System.out.println(boundary); [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
BreakTransliterator.java | 79 int boundary = 0; local 93 for(boundary = bi.first(); boundary != BreakIterator.DONE && boundary < pos.limit; boundary = bi.next()) { 94 if (boundary == 0) continue; 97 int cp = UTF16.charAt(text, boundary-1); 102 cp = UTF16.charAt(text, boundary); 113 boundaries[boundaryCount++] = boundary; 114 //System.out.println(boundary); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
MultipartBuilder.java | 74 private final ByteString boundary; field in class:MultipartBuilder 81 /** Creates a new multipart builder that uses a random boundary token. */ 87 * Creates a new multipart builder that uses {@code boundary} to separate 91 public MultipartBuilder(String boundary) { 92 this.boundary = ByteString.encodeUtf8(boundary); 193 return new MultipartRequestBody(type, boundary, partHeaders, partBodies); 197 private final ByteString boundary; field in class:MultipartBuilder.MultipartRequestBody 203 public MultipartRequestBody(MediaType type, ByteString boundary, List<Headers> partHeaders, 207 this.boundary = boundary [all...] |
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
MultipartBuilder.java | 76 private final ByteString boundary; field in class:MultipartBuilder 83 /** Creates a new multipart builder that uses a random boundary token. */ 89 * Creates a new multipart builder that uses {@code boundary} to separate 93 public MultipartBuilder(String boundary) { 94 this.boundary = ByteString.encodeUtf8(boundary); 195 return new MultipartRequestBody(type, boundary, partHeaders, partBodies); 199 private final ByteString boundary; field in class:MultipartBuilder.MultipartRequestBody 205 public MultipartRequestBody(MediaType type, ByteString boundary, List<Headers> partHeaders, 209 this.boundary = boundary [all...] |
/external/webrtc/webrtc/system_wrappers/include/ |
metrics.h | 27 // The boundary should be above the max enumerator sample. 28 // RTC_HISTOGRAM_ENUMERATION(name, sample, boundary); 41 // const std::string& name, int sample, int boundary); 115 // |boundary| should be above the max enumerator sample. 116 #define RTC_HISTOGRAM_ENUMERATION(name, sample, boundary) \ 118 webrtc::metrics::HistogramFactoryGetEnumeration(name, boundary)) 122 #define RTC_HISTOGRAM_ENUMERATION_SPARSE(name, sample, boundary) \ 124 webrtc::metrics::HistogramFactoryGetEnumeration(name, boundary)) 172 // |boundary| should be above the max enumerator sample. 174 const std::string& name, int boundary); [all...] |
/bionic/libc/bionic/ |
jemalloc_wrapper.cpp | 39 // The man page for memalign says it fails if boundary is not a power of 2, 42 void* je_memalign_round_up_boundary(size_t boundary, size_t size) { 43 if (boundary != 0) { 44 if (!powerof2(boundary)) { 45 boundary = BIONIC_ROUND_UP_POWER_OF_2(boundary); 48 boundary = 1; 50 return je_memalign(boundary, size);
|
/external/tensorflow/tensorflow/compiler/xla/tools/ |
hlo_extractor.cc | 36 // The constructor allows specifying a set of boundary HLOs to prune the HLO 37 // graph. HLOs at the boundary are replaced with parameters. Can be nullptr 38 // which means no boundary, i.e. no HLOs are replaced with parameters. 43 absl::flat_hash_set<const HloInstruction*>* boundary) 48 boundary_(boundary) {} 60 // Replace instructions at the boundary with parameters, but leave constants 111 absl::flat_hash_set<const HloInstruction*>* boundary) { 121 boundary->insert(hlo); 138 absl::flat_hash_set<const HloInstruction*> boundary; local 140 ComputeBoundary(instruction, height, &boundary); [all...] |
/external/libaom/libaom/test/ |
cdef_test.cc | 42 boundary = GET_PARAM(3); 50 int boundary; member in class:__anon26722::CDEFBlockTest 59 cdef_filter_block_func ref_cdef, int boundary, int depth) { 76 for (pridamping = 3 + depth - 8; pridamping < 7 - 3 * !!boundary + depth - 8; 79 secdamping < 7 - 3 * !!boundary + depth - 8; secdamping++) { 82 level += (2 + 6 * !!boundary) << (depth - 8)) { 83 for (bits = 1; bits <= depth && !error; bits += 1 + 3 * !!boundary) { 87 if (boundary) { 88 if (boundary & 1) { // Left 93 if (boundary & 2) { // Righ [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/drivers/parameter/ |
ddr_parameter.c | 63 /* whole ddr regions boundary, it will be used when parse s-regions */ 64 p.boundary = max_mb; 113 * if current ns-regions top covers boundary, 116 if (p.ns_top[i] == p.boundary) 126 p.s_top[p.s_nr] = p.boundary;
|