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

12

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/mime/
H A Dmultipart.py17 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)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/mime/
H A Dmultipart.py17 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)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_multifile.py8 boundary="=====================_590453667==_"
13 boundary="=====================_590453677==_.ALT"
46 boundary = msg.getparam("boundary")
49 mf.push(boundary)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_multifile.py8 boundary="=====================_590453667==_"
13 boundary="=====================_590453677==_.ALT"
46 boundary = msg.getparam("boundary")
49 mf.push(boundary)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/
H A Dgenerator.py96 # say a multipart message includes the boundary string somewhere in
97 # its body. We'd have to calculate the new boundary /before/ we write
188 # together, and then make sure that the boundary we've chosen isn't
195 # e.g. a non-strict parse of a message with no starting boundary.
207 boundary = msg.get_boundary()
208 if not boundary:
209 # Create a boundary that doesn't appear in any of the
212 boundary = _make_boundary(alltext)
213 msg.set_boundary(boundary)
221 # dash-boundary transpor
[all...]
H A Dmessage.py692 """Return the boundary associated with the payload if present.
694 The boundary is extracted from the Content-Type header's `boundary'
698 boundary = self.get_param('boundary', missing)
699 if boundary is missing:
702 return utils.collapse_rfc2231_value(boundary).rstrip()
704 def set_boundary(self, boundary):
705 """Set the boundary parameter in Content-Type to 'boundary'
[all...]
H A Dfeedparser.py108 #GAN 29Mar09 bugs 1555570, 1721862 Confusion at 8K boundary ending with \r:
283 boundary = self._cur.get_boundary()
284 if boundary is None:
286 # defined a boundary. That's a problem which we'll handle by
299 # boundary as well as the end-of-multipart boundary. Don't push
302 separator = '--' + boundary
318 # If we're looking at the end boundary, we're done with
320 # the closing boundary, then we need to initialize the
325 # We saw an inter-part boundary
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/
H A Dgenerator.py96 # say a multipart message includes the boundary string somewhere in
97 # its body. We'd have to calculate the new boundary /before/ we write
188 # together, and then make sure that the boundary we've chosen isn't
195 # e.g. a non-strict parse of a message with no starting boundary.
207 boundary = msg.get_boundary()
208 if not boundary:
209 # Create a boundary that doesn't appear in any of the
212 boundary = _make_boundary(alltext)
213 msg.set_boundary(boundary)
221 # dash-boundary transpor
[all...]
H A Dmessage.py692 """Return the boundary associated with the payload if present.
694 The boundary is extracted from the Content-Type header's `boundary'
698 boundary = self.get_param('boundary', missing)
699 if boundary is missing:
702 return utils.collapse_rfc2231_value(boundary).rstrip()
704 def set_boundary(self, boundary):
705 """Set the boundary parameter in Content-Type to 'boundary'
[all...]
H A Dfeedparser.py108 #GAN 29Mar09 bugs 1555570, 1721862 Confusion at 8K boundary ending with \r:
283 boundary = self._cur.get_boundary()
284 if boundary is None:
286 # defined a boundary. That's a problem which we'll handle by
299 # boundary as well as the end-of-multipart boundary. Don't push
302 separator = '--' + boundary
318 # If we're looking at the end boundary, we're done with
320 # the closing boundary, then we need to initialize the
325 # We saw an inter-part boundary
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A DMimeWriter.py145 def startmultipartbody(self, subtype, boundary=None, plist=[], prefix=1):
149 subtype parameter provides the multipart subtype, the boundary
150 parameter may provide a user-defined boundary specification, and the
158 self._boundary = boundary or mimetools.choose_boundary()
160 [("boundary", self._boundary)] + plist,
H A Dmimify.py40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S)
51 def __init__(self, file, boundary):
53 self.boundary = boundary
62 if self.boundary:
63 if line == self.boundary + '\n':
66 if line == self.boundary + '--\n':
128 if ifile.boundary and ifile.boundary[:2] == QUOTE:
191 # not a boundary betwee
[all...]
H A Dcgi.py218 boundary = ""
219 if 'boundary' in pdict:
220 boundary = pdict['boundary']
221 if not valid_boundary(boundary):
222 raise ValueError, ('Invalid boundary in multipart form: %r'
223 % (boundary,))
225 nextpart = "--" + boundary
226 lastpart = "--" + boundary + "--"
407 outerboundary : terminating multipart boundary
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A DMimeWriter.py145 def startmultipartbody(self, subtype, boundary=None, plist=[], prefix=1):
149 subtype parameter provides the multipart subtype, the boundary
150 parameter may provide a user-defined boundary specification, and the
158 self._boundary = boundary or mimetools.choose_boundary()
160 [("boundary", self._boundary)] + plist,
H A Dmimify.py40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S)
51 def __init__(self, file, boundary):
53 self.boundary = boundary
62 if self.boundary:
63 if line == self.boundary + '\n':
66 if line == self.boundary + '--\n':
128 if ifile.boundary and ifile.boundary[:2] == QUOTE:
191 # not a boundary betwee
[all...]
H A Dcgi.py218 boundary = ""
219 if 'boundary' in pdict:
220 boundary = pdict['boundary']
221 if not valid_boundary(boundary):
222 raise ValueError, ('Invalid boundary in multipart form: %r'
223 % (boundary,))
225 nextpart = "--" + boundary
226 lastpart = "--" + boundary + "--"
407 outerboundary : terminating multipart boundary
[all...]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
H A Dpcm-indirect.h57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
58 diff += runtime->boundary;
122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
123 diff += runtime->boundary;
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
H A Dpcm-indirect.h57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
58 diff += runtime->boundary;
122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
123 diff += runtime->boundary;
/prebuilts/devtools/tools/lib/
H A Dhttpmime-4.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/entity/ ...
/prebuilts/tools/common/http-client/
H A Dhttpmime-4.1.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/entity/ ...
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpmime/4.1/
H A Dhttpmime-4.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/entity/ ...
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
H A Dregister.py259 boundary = '--------------GHSKFJDLGDS7543FJKLFHRE75642756743254'
260 sep_boundary = '\n--' + boundary
289 'Content-type': 'multipart/form-data; boundary=%s; charset=utf-8'%boundary,
H A Dupload.py138 boundary = '--------------GHSKFJDLGDS7543FJKLFHRE75642756743254'
139 sep_boundary = '\n--' + boundary
168 'multipart/form-data; boundary=%s' % boundary,
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/
H A Dregister.py259 boundary = '--------------GHSKFJDLGDS7543FJKLFHRE75642756743254'
260 sep_boundary = '\n--' + boundary
289 'Content-type': 'multipart/form-data; boundary=%s; charset=utf-8'%boundary,
H A Dupload.py138 boundary = '--------------GHSKFJDLGDS7543FJKLFHRE75642756743254'
139 sep_boundary = '\n--' + boundary
168 'multipart/form-data; boundary=%s' % boundary,

Completed in 378 milliseconds

12