HomeSort by relevance Sort by last modified time
    Searched refs:Content (Results 51 - 75 of 496) sorted by null

1 23 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/net/http/httptest/
recorder_test.go 151 hasHeader("Content-Type", "text/plain; charset=utf-8"),
163 "Content-Type detection",
167 check(hasHeader("Content-Type", "text/html; charset=utf-8")),
170 "no Content-Type detection with Transfer-Encoding",
175 check(hasHeader("Content-Type", "")), // no header
178 "no Content-Type detection if set explicitly",
180 w.Header().Set("Content-Type", "some/type")
183 check(hasHeader("Content-Type", "some/type")),
186 "Content-Type detection doesn't crash if HeaderMap is nil",
194 check(hasHeader("Content-Type", "text/html; charset=utf-8"))
    [all...]
  /prebuilts/go/linux-x86/src/net/http/httptest/
recorder_test.go 151 hasHeader("Content-Type", "text/plain; charset=utf-8"),
163 "Content-Type detection",
167 check(hasHeader("Content-Type", "text/html; charset=utf-8")),
170 "no Content-Type detection with Transfer-Encoding",
175 check(hasHeader("Content-Type", "")), // no header
178 "no Content-Type detection if set explicitly",
180 w.Header().Set("Content-Type", "some/type")
183 check(hasHeader("Content-Type", "some/type")),
186 "Content-Type detection doesn't crash if HeaderMap is nil",
194 check(hasHeader("Content-Type", "text/html; charset=utf-8"))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameActivity.java 23 import android.content.Context;
24 import android.content.Intent;
56 //BEGIN_INCLUDE(content)
57 public static class Content extends TouchPaint.PaintView implements
77 public Content(Context context, AttributeSet attrs) {
161 //END_INCLUDE(content)
163 Content mContent;
173 mContent = (Content)findViewById(R.id.content);
ContentBrowserActivity.java 23 import android.content.Context;
24 import android.content.Intent;
49 * a content browser style of UI (such as a book reader).
55 * Implementation of a view for displaying immersive content, using system UI
57 * content.
59 //BEGIN_INCLUDE(content)
60 public static class Content extends ScrollView
76 public Content(Context context, AttributeSet attrs) {
93 // state of the content browser that it will interact with.
159 //END_INCLUDE(content)
    [all...]
ContentBrowserNavActivity.java 23 import android.content.Context;
24 import android.content.Intent;
49 * a content browser style of UI (such as a book reader) that hides the
56 * Implementation of a view for displaying immersive content, using system UI
58 * content.
60 //BEGIN_INCLUDE(content)
61 public static class Content extends ScrollView
77 public Content(Context context, AttributeSet attrs) {
94 // state of the content browser that it will interact with.
161 //END_INCLUDE(content)
    [all...]
VideoPlayerActivity.java 23 import android.content.Context;
24 import android.content.Intent;
58 * screen can be filled with content (at the expense of no user interaction).
60 //BEGIN_INCLUDE(content)
61 public static class Content extends ImageView implements
80 public Content(Context context, AttributeSet attrs) {
182 //END_INCLUDE(content)
184 Content mContent;
196 mContent = (Content)findViewById(R.id.content);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/message/
ContentImpl.java 8 public class ContentImpl implements Content {
12 * The content type header for this chunk of content.
15 private Object content; field in class:ContentImpl
25 public ContentImpl( String content, String boundary ) {
26 this.content = content;
36 public void setContent(Object content) {
37 this.content = content;
    [all...]
  /prebuilts/go/darwin-x86/src/mime/multipart/
example_test.go 21 "Content-Type": {"multipart/mixed; boundary=foo"},
28 mediaType, params, err := mime.ParseMediaType(msg.Header.Get("Content-Type"))
multipart_test.go 65 p.Header.Set("Content-Disposition", test[0])
229 "Content-Disposition: form-data; name=\"value\"\r\n" +
429 if te, ok := part.Header["Content-Transfer-Encoding"]; ok {
430 t.Errorf("unexpected Content-Transfer-Encoding of %q", te)
501 "Content-Type": {"text/plain; charset=ISO-8859-1"},
502 "Content-Disposition": {"form-data; name=" + key},
516 // Content-Type: message/external-body) is what App Engine replaces
536 "Content-Type": {"message/external-body; charset=ISO-8859-1; blob-key=AHAZQqG84qllx7HUqO_oou5EvdYQNS3Mbbkb0RjjBoM_Kc1UqEN2ygDxWiyCPulIhpHRPx-VbpB6RX4MrsqhWAi_ZxJ48O9P2cTIACbvATHvg7IgbvZytyGMpL7xO1tlIvgwcM47JNfv_tGhy1XwyEUO8oldjPqg5Q"},
537 "Content-Disposition": {"form-data; name=file; filename=\"fall.png\""},
538 }, "Content-Type: image/png\r\nContent-Length: 232303\r\nX-AppEngine-Upload-Creation: 2012-05-10 23:14:02.7151 (…)
    [all...]
  /prebuilts/go/linux-x86/src/mime/multipart/
example_test.go 21 "Content-Type": {"multipart/mixed; boundary=foo"},
28 mediaType, params, err := mime.ParseMediaType(msg.Header.Get("Content-Type"))
multipart_test.go 65 p.Header.Set("Content-Disposition", test[0])
229 "Content-Disposition: form-data; name=\"value\"\r\n" +
429 if te, ok := part.Header["Content-Transfer-Encoding"]; ok {
430 t.Errorf("unexpected Content-Transfer-Encoding of %q", te)
501 "Content-Type": {"text/plain; charset=ISO-8859-1"},
502 "Content-Disposition": {"form-data; name=" + key},
516 // Content-Type: message/external-body) is what App Engine replaces
536 "Content-Type": {"message/external-body; charset=ISO-8859-1; blob-key=AHAZQqG84qllx7HUqO_oou5EvdYQNS3Mbbkb0RjjBoM_Kc1UqEN2ygDxWiyCPulIhpHRPx-VbpB6RX4MrsqhWAi_ZxJ48O9P2cTIACbvATHvg7IgbvZytyGMpL7xO1tlIvgwcM47JNfv_tGhy1XwyEUO8oldjPqg5Q"},
537 "Content-Disposition": {"form-data; name=file; filename=\"fall.png\""},
538 }, "Content-Type: image/png\r\nContent-Length: 232303\r\nX-AppEngine-Upload-Creation: 2012-05-10 23:14:02.7151 (…)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/
InfCommonObject.py 67 # @param LineString: Line String content
109 # Store all section content
154 # @param Content: Content
156 def SetAllContent(self, Content):
157 self.AllContent = Content
  /prebuilts/go/darwin-x86/src/archive/zip/
reader_test.go 36 // Information describing expected zip file content.
37 // First, reading the entire content should produce the error ContentErr.
38 // Second, if ContentErr==nil, the content should match Content.
39 // If content is large, an alternative to setting Content is to set File,
41 // uncompressed expected content.
42 // If content is very large, an alternative to setting Content or File
47 Content []byt
    [all...]
  /prebuilts/go/linux-x86/src/archive/zip/
reader_test.go 36 // Information describing expected zip file content.
37 // First, reading the entire content should produce the error ContentErr.
38 // Second, if ContentErr==nil, the content should match Content.
39 // If content is large, an alternative to setting Content is to set File,
41 // uncompressed expected content.
42 // If content is very large, an alternative to setting Content or File
47 Content []byt
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
readrequest_test.go 42 "Content-Length: 7\r\n" +
63 "Content-Length": {"7"},
181 // Tests chunked body and a bogus Content-Length which should be deleted.
186 "Content-Length: 9999\r\n\r\n" + // to be removed.
358 // HEAD with Content-Length 0. Make sure this is permitted,
369 "Content-Length": []string{"0"},
450 Content-Length: 3
451 Content-Length: 4
456 Content-Length: 5`)},
461 Content-Length: 5`)}
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
readrequest_test.go 42 "Content-Length: 7\r\n" +
63 "Content-Length": {"7"},
181 // Tests chunked body and a bogus Content-Length which should be deleted.
186 "Content-Length: 9999\r\n\r\n" + // to be removed.
358 // HEAD with Content-Length 0. Make sure this is permitted,
369 "Content-Length": []string{"0"},
450 Content-Length: 3
451 Content-Length: 4
456 Content-Length: 5`)},
461 Content-Length: 5`)}
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/
DecParserUnitTest.py 81 Content = [
95 self.dec = _DecBase(FileContent('dummy', Content))
167 Content = \
182 dec = TestTop(FileContent('dummy', Content.splitlines()))
197 # Comment content
206 # Comment content
215 # Comment content
235 def GetObj(self, Content):
236 Obj = _DecDefine(FileContent('dummy', Content.splitlines()))
261 def GetObj(self, Content):
    [all...]
  /external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DeflateCompressorTest.java 41 private final static byte[] CONTENT = new DefaultDeflateCompatibilityWindow().getCorpus();
46 private static class Content {
56 * Uncompress some content with Java's built-in {@link Inflater} as a sanity check against our own
80 rawContentIn = new ByteArrayInputStream(CONTENT);
88 Assert.assertTrue(compressedContentOut.size() < CONTENT.length);
91 Assert.assertArrayEquals(CONTENT, uncompressed);
112 Assert.assertArrayEquals(CONTENT, uncompressedWithNowrapOn);
117 rawContentIn = new ByteArrayInputStream(CONTENT);
124 Assert.assertArrayEquals(CONTENT, uncompressedWithNowrapOff);
133 Content[] content = new Content[3]
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
Capsule.py 135 Content = StringIO.StringIO()
141 Content.write(File.read())
177 Content.write(Buffer)
178 BodySize = len(FwMgrHdr.getvalue()) + len(Content.getvalue())
185 Header.write(Content.getvalue())
  /external/clang/lib/ASTMatchers/Dynamic/
Diagnostics.cpp 174 static void printErrorContentToStream(const Diagnostics::ErrorContent &Content,
176 if (Content.Messages.size() == 1) {
177 printMessageToStream(Content.Messages[0], "", OS);
179 for (size_t i = 0, e = Content.Messages.size(); i != e; ++i) {
181 printMessageToStream(Content.Messages[i],
  /external/abi-compliance-checker/modules/Internals/
SysCheck.pm 474 my $Content = readFile($DiffOut);
475 if(length($Content)<3500 and $Content=~/The files are identical|No changes|Failed to create/i) {
479 $Content=~s/<\!--(.|\n)+?-->\s*//g;
480 $Content=~s/\A((.|\n)+<body\s*>)((.|\n)+)(<\/body>(.|\n)+)\Z/$3/;
481 $Content=~s/(<td colspan=\"5\"[^>]*>)(.+)(<\/td>)/$1$3/;
482 $Content=~s/(<table) /$1 class='diff_tbl' /g;
484 $Content=~s&<td class="lineno" valign="top"></td>&&g;
485 $Content=~s&<td class="lineno"></td>&&g;
486 $Content=~s&<th></th>&&g
    [all...]
  /prebuilts/go/darwin-x86/src/mime/
type_windows.go 28 v, _, err := k.GetStringValue("Content Type")
  /prebuilts/go/linux-x86/src/mime/
type_windows.go 28 v, _, err := k.GetStringValue("Content Type")
  /prebuilts/go/darwin-x86/src/net/http/pprof/
pprof.go 83 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
112 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
119 // Set Content Type assuming StartCPUProfile will work,
121 w.Header().Set("Content-Type", "application/octet-stream")
124 // Can change header back to text content
126 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
146 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
153 // Set Content Type assuming trace.Start will work,
155 w.Header().Set("Content-Type", "application/octet-stream")
158 // Can change header back to text content and send error code
    [all...]
  /prebuilts/go/linux-x86/src/net/http/pprof/
pprof.go 83 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
112 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
119 // Set Content Type assuming StartCPUProfile will work,
121 w.Header().Set("Content-Type", "application/octet-stream")
124 // Can change header back to text content
126 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
146 w.Header().Set("Content-Type", "text/plain; charset=utf-8")
153 // Set Content Type assuming trace.Start will work,
155 w.Header().Set("Content-Type", "application/octet-stream")
158 // Can change header back to text content and send error code
    [all...]

Completed in 675 milliseconds

1 23 4 5 6 7 8 91011>>