/external/icu4c/samples/break/ |
break.cpp | 44 void printEachForward( BreakIterator& boundary) 46 int32_t start = boundary.first(); 47 for (int32_t end = boundary.next(); 49 start = end, end = boundary.next()) 51 printTextRange( boundary, start, end ); 56 void printEachBackward( BreakIterator& boundary) 58 int32_t end = boundary.last(); 59 for (int32_t start = boundary.previous(); 61 end = start, start = boundary.previous()) 63 printTextRange( boundary, start, end ) 96 BreakIterator* boundary; local [all...] |
ubreak.c | 33 void printEachForward( UBreakIterator* boundary, UChar* str) { 35 int32_t start = ubrk_first(boundary); 36 for (end = ubrk_next(boundary); end != UBRK_DONE; start = end, end = 37 ubrk_next(boundary)) { 44 void printEachBackward( UBreakIterator* boundary, UChar* str) { 46 int32_t end = ubrk_last(boundary); 47 for (start = ubrk_previous(boundary); start != UBRK_DONE; end = start, 48 start =ubrk_previous(boundary)) { 54 void printFirst(UBreakIterator* boundary, UChar* str) { 56 int32_t start = ubrk_first(boundary); 81 UBreakIterator *boundary; local [all...] |
/external/bison/src/ |
location.h | 26 /* A boundary between two characters. */ 29 /* The name of the file that contains the boundary. */ 32 /* The (origin-1) line that contains the boundary. 36 /* The (origin-1) column just after the boundary. This is neither a 41 } boundary; typedef in typeref:struct:__anon1456 45 equal_boundaries (boundary a, boundary b) 55 /* Boundary just before the location starts. */ 56 boundary start; 58 /* Boundary just after the location ends. * [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();
|
MultipartMimeContentImpl.java | 31 private String boundary; field in class:MultipartMimeContentImpl 33 public static String BOUNDARY = "boundary"; 40 this.boundary = contentTypeHeader.getParameter(BOUNDARY); 87 String delimiter = this.getContentTypeHeader().getParameter(BOUNDARY); 128 ContentImpl content = new ContentImpl(rest, boundary);
|
/external/e2fsprogs/tests/progs/test_data/ |
test.brel | 14 # Test boundary cases for brel_put 19 # Test other boundary cases
|
test.irel | 26 # Test boundary cases of irel_put 31 # Test other boundary cases....
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
MimeBoundaryInputStream.java | 29 * can be used to determine if a final boundary has been seen or not.
40 private byte[] boundary = null;
field in class:MimeBoundaryInputStream 49 * @param boundary Boundary string (not including leading hyphens).
51 public MimeBoundaryInputStream(InputStream s, String boundary)
54 this.s = new PushbackInputStream(s, boundary.length() + 4);
56 boundary = "--" + boundary;
57 this.boundary = new byte[boundary.length()]; [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
PERF.awk | 23 # Boundary: 36 # boundary - only log buffer traces in the steady state of this component 37 boundary = boundary ? boundary : "****"; 55 else if (gsub("^boundary=","",arg)) { boundary = arg } 71 # we are using the component thread as boundary by default 72 if (boundary == "****") { 77 boundary = substr(who, 0, 3) "T" [all...] |
/external/chromium/third_party/icu/source/i18n/ |
brktrans.cpp | 96 int32_t boundary; local 97 for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next()) { 98 if (boundary == 0) continue; 101 UChar32 cp = sText.char32At(boundary-1); 106 cp = sText.char32At(boundary); 111 boundaries->addElement(boundary, status); 112 // printf("Boundary at %d\n", boundary) [all...] |
/external/icu4c/i18n/ |
brktrans.cpp | 96 int32_t boundary; local 97 for(boundary = bi->next(); boundary != UBRK_DONE && boundary < offsets.limit; boundary = bi->next()) { 98 if (boundary == 0) continue; 101 UChar32 cp = sText.char32At(boundary-1); 106 cp = sText.char32At(boundary); 111 boundaries->addElement(boundary, status); 112 // printf("Boundary at %d\n", boundary) [all...] |
/libcore/luni/src/main/java/java/text/ |
BreakIterator.java | 38 * a boundary position at the beginning and end of each legal word (numbers 62 * <li>The beginning and end of the text are always treated as boundary 64 * <li>The current position of the iterator is always a boundary position 65 * (random- access methods move the iterator to the nearest boundary position 104 * BreakIterator boundary = BreakIterator.getWordInstance(); 105 * boundary.setText(stringToExamine); 106 * printEachForward(boundary, stringToExamine); 108 * boundary = BreakIterator.getSentenceInstance(Locale.US); 109 * boundary.setText(stringToExamine); 110 * printEachBackward(boundary, stringToExamine) [all...] |
/external/webkit/WebCore/icu/unicode/ |
ubrk.h | 40 * Line boundary analysis determines where a text string can be broken 44 * Sentence boundary analysis allows selection with correct 48 * Word boundary analysis is used by search and replace functions, as 55 * Character boundary analysis allows users to interact with 57 * through a text string. Character boundary analysis provides correct 63 * Title boundary analysis locates all positions, 92 * void printEachForward( UBreakIterator* boundary, UChar* str) { 94 * int32_t start = ubrk_first(boundary); 95 * for (end = ubrk_next(boundary)); end != UBRK_DONE; start = end, end = ubrk_next(boundary)) { [all...] |
/external/openssl/crypto/asn1/ |
bio_ndef.c | 93 /* Boundary where content is inserted */ 94 unsigned char **boundary; member in struct:ndef_aux_st 135 sarg.boundary = NULL; 143 ndef_aux->boundary = sarg.boundary; 175 if (!*ndef_aux->boundary) 178 *plen = *ndef_aux->boundary - *pbuf; 229 sarg.boundary = ndef_aux->boundary; 240 if (!*ndef_aux->boundary) [all...] |
/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_dm.c | 82 /* Find out the boundary */ 85 return FALSE; /* No boundary error */ 88 /* Record the boundary */ 93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart); 94 boundaryLen = strlen((char *)pDmInfo->boundary) + 2; /* 2 means: '\r' and '\n' */ 194 break; /* no boundary found */ 200 break; /* here means may be the boundary has been split */ 203 if (('\n' == *(pEnd + 1)) && (0 == memcmp(pEnd + 2, pDmInfo->boundary, strlen((char *)pDmInfo->boundary)))) 204 break; /* find the boundary here * [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
DateSorterTest.java | 90 long boundary = dateSorter.getBoundary(i); local 93 assertEquals(i, dateSorter.getIndex(boundary + 1)); 95 assertEquals(nextIndex, dateSorter.getIndex(boundary)); 96 assertEquals(nextIndex, dateSorter.getIndex(boundary-1));
|
/external/chromium/third_party/icu/public/common/unicode/ |
ubrk.h | 43 * Line boundary analysis determines where a text string can be broken 47 * Sentence boundary analysis allows selection with correct 51 * Word boundary analysis is used by search and replace functions, as 58 * Character boundary analysis identifies the boundaries of 65 * Title boundary analysis locates all positions, 69 * The text boundary positions are found according to the rules 100 * Unicode 3.2 only. For Unicode 4.0 and above title boundary iteration, 101 * please use Word Boundary iterator. 314 * Determine the most recently-returned text boundary. 325 * Determine the text boundary following the current text boundary [all...] |
brkiter.h | 61 * Line boundary analysis determines where a text string can be broken 65 * Sentence boundary analysis allows selection with correct 69 * Word boundary analysis is used by search and replace functions, as 76 * Character boundary analysis allows users to interact with 78 * through a text string. Character boundary analysis provides correct 84 * The text boundary positions are found according to the rules 169 * Change the text over which this operates. The text boundary is 192 * Change the text over which this operates. The text boundary is 223 * Return the boundary preceding the current boundary [all...] |
/frameworks/base/core/java/com/android/internal/http/multipart/ |
Part.java | 58 * The boundary 61 protected static final String BOUNDARY = "----------------314159265358979323846"; 64 * The boundary as a byte array. 67 protected static final byte[] BOUNDARY_BYTES = EncodingUtils.getAsciiBytes(BOUNDARY); 70 * The default boundary to be used if {@link #setPartBoundary(byte[])} has not 124 * Return the boundary string. 125 * @return the boundary string 129 return BOUNDARY; 133 * The ASCII bytes to use as the multipart boundary. 163 * Gets the part boundary to be used [all...] |
MultipartEntity.java | 92 * Sets the value to use as the multipart boundary. 97 public static final String MULTIPART_BOUNDARY = "http.method.multipart.boundary"; 100 * The pool of ASCII chars to be used for generating a multipart boundary. 106 * Generates a random multipart boundary string. 152 * Returns the MIME boundary string that is used to demarcate boundaries of 154 * boundary string. To create a boundary string first the 158 * @return The boundary string of this entity in ASCII encoding. 198 buffer.append("; boundary=");
|
/external/webkit/WebCore/platform/network/ |
FormDataBuilder.cpp | 138 Vector<char> boundary; local 145 // to appear in the boundary string, because 0x41 and 0x42 are present in 159 append(boundary, "----WebKitFormBoundary"); 172 boundary.append(randomBytes); 173 boundary.append(0); // Add a 0 at the end so we can use this as a C-style string. 174 return boundary; 177 void FormDataBuilder::beginMultiPartHeader(Vector<char>& buffer, const CString& boundary, const CString& name) 179 addBoundaryToMultiPartHeader(buffer, boundary); 188 void FormDataBuilder::addBoundaryToMultiPartHeader(Vector<char>& buffer, const CString& boundary, bool isLastBoundary) 191 append(buffer, boundary); [all...] |
/external/clearsilver/cgi/ |
rfc2388.c | 244 static BOOL _is_boundary (char *boundary, char *s, int l, int *done) 249 /* cache the boundary strlen... more pointless optimization by blong */ 250 if (old_boundary != boundary) 252 old_boundary = boundary; 253 bl = strlen(boundary); 262 if (bl+2 == l && s[0] == '-' && s[1] == '-' && !strncmp (s+2, boundary, bl)) 265 !strncmp (s+2, boundary, bl) && 274 static NEOERR * _find_boundary (CGI *cgi, char *boundary, int *done) 289 if (_is_boundary(boundary, s, l, done)) 357 static NEOERR * _read_part (CGI *cgi, char *boundary, int *done 555 char *boundary = NULL; local [all...] |
/external/icu4c/common/unicode/ |
brkiter.h | 61 * Line boundary analysis determines where a text string can be broken 65 * Sentence boundary analysis allows selection with correct 69 * Word boundary analysis is used by search and replace functions, as 76 * Character boundary analysis allows users to interact with 78 * through a text string. Character boundary analysis provides correct 84 * The text boundary positions are found according to the rules 169 * Change the text over which this operates. The text boundary is 192 * Change the text over which this operates. The text boundary is 223 * Return the boundary preceding the current boundary [all...] |
/external/webkit/WebCore/wml/ |
WMLGoElement.cpp | 157 Vector<char> boundary = m_formDataBuilder.generateUniqueBoundaryString(); local 158 data = createFormData(boundary.data()); 159 request.setHTTPContentType(m_formDataBuilder.encodingType() + "; boundary=" + boundary.data()); 184 PassRefPtr<FormData> WMLGoElement::createFormData(const CString& boundary) 201 m_formDataBuilder.beginMultiPartHeader(header, boundary, key); 214 m_formDataBuilder.addBoundaryToMultiPartHeader(encodedData, boundary, true);
|
/external/dbus/dbus/ |
dbus-internals.h | 179 /* Align a value upward to a boundary, expressed as a number of bytes. 180 * E.g. align to an 8-byte boundary with argument of 8. 184 * (this + boundary - 1) 186 * ~(boundary - 1) 189 #define _DBUS_ALIGN_VALUE(this, boundary) \ 190 (( ((unsigned long)(this)) + (((unsigned long)(boundary)) -1)) & (~(((unsigned long)(boundary))-1))) 192 #define _DBUS_ALIGN_ADDRESS(this, boundary) \ 193 ((void*)_DBUS_ALIGN_VALUE(this, boundary))
|