Searched refs:boundary (Results 1 - 25 of 104) sorted by relevance

12345

/macosx-10.10/ICU-531.30/icuSources/samples/break/
H A Dbreak.cpp44 void printEachForward( BreakIterator& boundary) argument
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) argument
58 int32_t end = boundary.last();
59 for (int32_t start = boundary.previous();
61 end = start, start = boundary.previous())
63 printTextRange( boundary, star
68 printFirst(BreakIterator& boundary) argument
76 printLast(BreakIterator& boundary) argument
84 printAt(BreakIterator &boundary, int32_t pos ) argument
96 BreakIterator* boundary; local
[all...]
H A Dubreak.c33 void printEachForward( UBreakIterator* boundary, UChar* str) { argument
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) { argument
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) { argument
56 int32_t start = ubrk_first(boundary);
62 printLast(UBreakIterator* boundary, UChar* str) argument
71 printAt(UBreakIterator* boundary, int32_t pos , UChar* str) argument
81 UBreakIterator *boundary; local
[all...]
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dbrktrans.cpp96 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...]
/macosx-10.10/WebCore-7600.1.25/platform/network/curl/
H A DMultipartHandle.h41 static PassOwnPtr<MultipartHandle> create(ResourceHandle* handle, const String& boundary);
42 static bool extractBoundary(const String& contentType, String& boundary);
44 MultipartHandle(ResourceHandle* handle, const String& boundary) argument
46 , m_boundary("--" + boundary)
H A DMultipartHandle.cpp40 PassOwnPtr<MultipartHandle> MultipartHandle::create(ResourceHandle* handle, const String& boundary) argument
42 return adoptPtr(new MultipartHandle(handle, boundary));
45 bool MultipartHandle::extractBoundary(const String& contentType, String& boundary) argument
47 static const size_t length = strlen("boundary=");
48 size_t boundaryStart = contentType.findIgnoringCase("boundary=");
50 // No boundary found.
70 // Check for the end of the boundary. That can be a semicolon or a newline.
76 // The boundary end should not be before the start
80 boundary = contentType.substring(boundaryStart, boundaryEnd - boundaryStart);
204 // Check for the boundary strin
[all...]
/macosx-10.10/ruby-106/ruby/test/cgi/
H A Dtest_cgi_multipart.rb10 ## boundary = 'foobar1234' # or nil
11 ## multipart = MultiPart.new(boundary)
33 def initialize(boundary=nil)
34 @boundary = boundary || create_boundary()
38 attr_reader :boundary
44 buf << "--#{boundary}\r\n"
57 return buf << "--#{boundary}--\r\n"
61 return "--boundary#{rand().to_s[2..-1]}"
127 multipart = MultiPart.new(defined?(@boundary)
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/network/
H A DFormDataBuilder.h39 static void beginMultiPartHeader(Vector<char>&, const CString& boundary, const CString& name);
40 static void addBoundaryToMultiPartHeader(Vector<char>&, const CString& boundary, bool isLastBoundary = false);
H A DFormDataBuilder.cpp99 Vector<char> boundary; local
106 // to appear in the boundary string, because 0x41 and 0x42 are present in
120 append(boundary, "----WebKitFormBoundary");
133 boundary.appendVector(randomBytes);
134 boundary.append(0); // Add a 0 at the end so we can use this as a C-style string.
135 return boundary;
138 void FormDataBuilder::beginMultiPartHeader(Vector<char>& buffer, const CString& boundary, const CString& name) argument
140 addBoundaryToMultiPartHeader(buffer, boundary);
149 void FormDataBuilder::addBoundaryToMultiPartHeader(Vector<char>& buffer, const CString& boundary, bool isLastBoundary) argument
152 append(buffer, boundary);
[all...]
/macosx-10.10/emacs-93/emacs/lisp/mail/
H A Dmail-hist.el133 (let ((boundary (mail-header-end)))
135 (> boundary 0)
137 (setq boundary (save-excursion
138 (goto-char boundary)
145 (re-search-forward mail-hist-header-regexp boundary t))
156 (re-search-forward mail-hist-header-regexp boundary t))
/macosx-10.10/apr-32/apr/apr/include/
H A Dapr_general.h135 /* APR_ALIGN() is only to be used to align on a power of 2 boundary */
136 #define APR_ALIGN(size, boundary) \
137 (((size) + ((boundary) - 1)) & ~((boundary) - 1))
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dmml2015.el286 (let ((boundary (mml-compute-boundary cont))
300 (insert (format "Content-Type: multipart/signed; boundary=\"%s\";\n"
301 boundary))
304 (insert (format "\n--%s\n" boundary))
322 (insert (format "--%s\n" boundary))
325 (insert (format "--%s--\n" boundary))
349 (let ((boundary (mml-compute-boundary cont)))
350 (insert (format "Content-Type: multipart/encrypted; boundary
[all...]
H A Dmm-encode.el88 (let ((boundary "=-=-="))
90 (insert "Content-Type: multipart/mixed; boundary=\"" boundary "\"\n")
91 boundary))
/macosx-10.10/ICU-531.30/icuSources/test/perf/DateFmtPerf/
H A DDateFmtPerf.h61 BreakIterator* boundary; local
67 boundary = BreakIterator::createWordInstance("en", *status);
68 boundary->setText(str);
70 int32_t start = boundary->first();
71 for (int32_t end = boundary->next();
73 start = end, end = boundary->next())
75 printTextRange( *boundary, start, end );
84 boundary = BreakIterator::createCharacterInstance(Locale::getUS(), *status);
85 boundary->setText(str);
87 int32_t start = boundary
[all...]
/macosx-10.10/WebCore-7600.1.25/loader/
H A DFormSubmission.cpp127 inline FormSubmission::FormSubmission(Method method, const URL& action, const String& target, const String& contentType, PassRefPtr<FormState> state, PassRefPtr<FormData> data, const String& boundary, LockHistory lockHistory, PassRefPtr<Event> event) argument
134 , m_boundary(boundary)
204 String boundary; local
208 boundary = formData->boundary().data();
222 return adoptRef(new FormSubmission(copiedAttributes.method(), actionURL, targetOrBaseTarget, encodingType, formState.release(), formData.release(), boundary, lockHistory, event));
251 frameRequest.resourceRequest().setHTTPContentType(m_contentType + "; boundary=" + m_boundary);
H A DFormSubmission.h105 const String boundary() const { return m_boundary; } function in class:WebCore::FormSubmission
115 FormSubmission(Method, const URL& action, const String& target, const String& contentType, PassRefPtr<FormState>, PassRefPtr<FormData>, const String& boundary, LockHistory, PassRefPtr<Event>);
/macosx-10.10/ruby-106/ruby/lib/net/http/
H A Dgeneric_request.rb214 opt[:boundary] ||= SecureRandom.urlsafe_base64(40)
215 self.set_content_type(self.content_type, boundary: opt[:boundary])
234 boundary = opt[:boundary]
236 boundary ||= SecureRandom.urlsafe_base64(40)
247 buf << "--#{boundary}\r\n"
278 buf << "--#{boundary}--\r\n"
/macosx-10.10/WebCore-7600.1.25/platform/text/mac/
H A DTextBoundaries.mm153 // Complex case: use CFStringTokenizer to find word boundary.
202 // FIXME: This check improves our word boundary behavior, but doesn't actually go far enough.
203 // See <rdar://problem/8853951> Take complex word boundary finding path when necessary
244 TextBreakIterator* boundary = wordBreakIterator(text);
245 if (boundary) {
248 pos = textBreakFollowing(boundary, pos);
255 pos = textBreakPreceding(boundary, pos);
/macosx-10.10/WebCore-7600.1.25/loader/archive/mhtml/
H A DMHTMLArchive.cpp150 String boundary = generateRandomBoundary(); local
151 String endOfResourceBoundary = makeString("--", boundary, "\r\n");
170 stringBuilder.append(boundary);
237 asciiString = makeString("--", boundary, "--\r\n").utf8();
/macosx-10.10/WTF-7600.1.24/wtf/dtoa/
H A Dstrtod.cc389 Bignum boundary;
391 boundary.AssignUInt64(upper_boundary.f());
395 boundary.MultiplyByPowerOfTen(-exponent);
398 boundary.ShiftLeft(upper_boundary.e());
402 int comparison = Bignum::Compare(input, boundary);
/macosx-10.10/CPANInternal-159.1/SOAP-Lite-1.11/t/
H A D38-packager.t23 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"; start="<claim061400a.xml@claiming-it.com>"
92 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"
132 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"; start="<claim061400a.xml@claiming-it.com>"
H A D04-attach-cid-encoded.t35 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"; start="<claim061400a.xml@claiming-it.com>"
100 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"; start="<http://claiming-it.com/claim061400a.xml>"
143 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"; start="<http://claiming-it.com/claim061400a.xml>"
184 Content-Type: Multipart/Related; boundary=MIME_boundary; type="text/xml"; start="<b6f4ccrt@15.4.9.92/s445>"
/macosx-10.10/WebCore-7600.1.25/editing/
H A DVisibleUnits.cpp325 bool boundary = hardLineBreak ? true : isTextBreak(iter, position); local
326 if (!boundary)
336 bool boundary = isTextBreak(iter, position); local
337 return (hardLineBreak || boundary) && isWordTextBreak(iter);
474 Node* boundary = pos.parentEditingBoundary(); local
475 if (!boundary)
478 Document& boundaryDocument = boundary->document();
479 Position start = createLegacyEditingPosition(boundary, 0).parentAnchoredEquivalent();
489 forwardsScanRange->setEndAfter(boundary, ec);
554 Node* boundary local
[all...]
/macosx-10.10/emacs-93/emacs/src/
H A Dregion-cache.c47 boundary's, each of which contains a buffer position and a value;
49 until the position of the next boundary, or the end of the buffer.
51 The cache always has a boundary whose position is BUF_BEG, so
59 To help boundary positions float along with insertions and
60 deletions, all boundary positions before the cache gap are stored
61 relative to BUF_BEG (buf) (thus they're >= 0), and all boundary
66 struct boundary {
74 struct boundary *boundaries;
99 /* Return the position of boundary i in cache c. */
105 /* Return the value for text after boundary
65 struct boundary { struct
189 int boundary = BOUNDARY_POS (c, mid); local
[all...]
/macosx-10.10/WebCore-7600.1.25/dom/
H A DRange.cpp369 // point is in the middle of this range, or on the boundary points
707 // Since mutation events can modify the range during the process, the boundary points need to be saved.
973 // NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of
1447 // NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of
2047 static inline void boundaryNodeChildrenChanged(RangeBoundaryPoint& boundary, ContainerNode& container) argument
2049 if (!boundary.childBefore())
2051 if (boundary.container() != &container)
2053 boundary.invalidateOffset();
2063 static inline void boundaryNodeChildrenWillBeRemoved(RangeBoundaryPoint& boundary, ContainerNode& container) argument
2066 if (boundary
2087 boundaryNodeWillBeRemoved(RangeBoundaryPoint& boundary, Node* nodeToBeRemoved) argument
2112 boundaryTextInserted(RangeBoundaryPoint& boundary, Node* text, unsigned offset, unsigned length) argument
2130 boundaryTextRemoved(RangeBoundaryPoint& boundary, Node* text, unsigned offset, unsigned length) argument
2151 boundaryTextNodesMerged(RangeBoundaryPoint& boundary, NodeWithIndex& oldNode, unsigned offset) argument
2171 boundaryTextNodesSplit(RangeBoundaryPoint& boundary, Text* oldNode) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/Modules/speech/
H A DSpeechSynthesis.cpp195 void SpeechSynthesis::boundaryEventOccurred(PassRefPtr<PlatformSpeechSynthesisUtterance> utterance, SpeechBoundary boundary, unsigned charIndex) argument
200 switch (boundary) {

Completed in 403 milliseconds

12345