Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 510) sorted by relevance

12345678910>>...21

/external/chromium/base/crypto/
Drsa_private_key.cc165 std::list<uint8> content; in Export() local
170 PrependInteger(coefficient_, &content); in Export()
171 PrependInteger(exponent2_, &content); in Export()
172 PrependInteger(exponent1_, &content); in Export()
173 PrependInteger(prime2_, &content); in Export()
174 PrependInteger(prime1_, &content); in Export()
175 PrependInteger(private_exponent_, &content); in Export()
176 PrependInteger(public_exponent_, &content); in Export()
177 PrependInteger(modulus_, &content); in Export()
178 PrependInteger(&version, 1, &content); in Export()
[all …]
/external/chromium/net/base/
Dmime_sniffer.cc221 static bool MatchMagicNumber(const char* content, size_t size, in MatchMagicNumber() argument
233 static_cast<const char*>(memchr(content, '\0', size)); in MatchMagicNumber()
234 const size_t content_strlen = (end != NULL) ? (end - content) : size; in MatchMagicNumber()
240 match = (base::strncasecmp(magic_entry->magic, content, len) == 0); in MatchMagicNumber()
244 match = (memcmp(magic_entry->magic, content, len) == 0); in MatchMagicNumber()
254 static bool CheckForMagicNumbers(const char* content, size_t size, in CheckForMagicNumbers() argument
258 if (MatchMagicNumber(content, size, &(magic[i]), result)) { in CheckForMagicNumbers()
266 static bool SniffForHTML(const char* content, size_t size, in SniffForHTML() argument
270 const char* const end = content + size; in SniffForHTML()
272 for (pos = content; pos < end; ++pos) { in SniffForHTML()
[all …]
Dmime_sniffer_unittest.cc16 const char* content; member
27 net::SniffMimeType(tests[i].content, in TestArray()
38 static std::string SniffMimeType(const std::string& content, in SniffMimeType() argument
42 net::SniffMimeType(content.data(), content.size(), GURL(url), in SniffMimeType()
366 std::string content; in TEST() local
367 content.resize(600); in TEST()
368 std::fill(content.begin(), content.end(), 'x'); in TEST()
372 EXPECT_TRUE(net::SniffMimeType(content.data(), content.size(), GURL(), in TEST()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMultipartMimeContentImpl.java49 public boolean add(Content content) { in add() argument
50 return contentList.add((ContentImpl) content); in add()
71 for (Content content : this.contentList) { in toString()
72 stringBuffer.append(content.toString()); in toString()
91 ContentImpl content = new ContentImpl(body, delimiter); in createContentList() local
92 content.setContentTypeHeader(this.getContentTypeHeader()); in createContentList()
93 this.contentList.add(content); in createContentList()
128 ContentImpl content = new ContentImpl(rest, boundary); in createContentList() local
134 content.setContentTypeHeader((ContentTypeHeader) header); in createContentList()
136 content.setContentDispositionHeader((ContentDispositionHeader) header); in createContentList()
[all …]
DContentImpl.java15 private Object content; field in ContentImpl
25 public ContentImpl( String content, String boundary ) { in ContentImpl() argument
26 this.content = content; in ContentImpl()
36 public void setContent(Object content) { in setContent() argument
37 this.content = content; in setContent()
52 return this.content; in getContent()
62 return content.toString(); in toString()
67 + content.toString(); in toString()
69 … return "--" + boundary + "\r\n" + getContentTypeHeader() + "\r\n" + content.toString(); in toString()
DMessageFactoryImpl.java125 Object content) throws ParseException { in createRequest() argument
128 || maxForwards == null || content == null in createRequest()
141 sipRequest.setContent(content, contentType); in createRequest()
180 List via, MaxForwardsHeader maxForwards, byte[] content, in createRequest() argument
184 || maxForwards == null || content == null in createRequest()
200 sipRequest.setMessageContent(content); in createRequest()
288 MaxForwardsHeader maxForwards, Object content, in createResponse() argument
291 || via == null || maxForwards == null || content == null in createResponse()
309 sipResponse.setContent(content, contentType); in createResponse()
345 MaxForwardsHeader maxForwards, byte[] content, in createResponse() argument
[all …]
/external/elfutils/libasm/
Dasm_align.c69 asmscn->content->data[asmscn->content->len++]
113 if (asmscn->content == NULL)
118 asmscn->content = (struct AsmData *) malloc (sizeof (struct AsmData)
120 if (asmscn->content == NULL)
123 asmscn->content->next = asmscn->content;
129 if (asmscn->content->maxlen - asmscn->content->len >= len)
139 newp->next = asmscn->content->next;
140 asmscn->content = asmscn->content->next = newp;
143 asmscn->content->len = 0;
144 asmscn->content->maxlen = size;
/external/v8/src/
Dmirror-debugger.js1930 var content = [];
1936 content.push(this.serialize_(this.mirrors_[i], false, false));
1939 return content;
2030 var content = {};
2034 content.handle = mirror.handle();
2038 content.type = mirror.type();
2048 content.value = mirror.value();
2053 content.value = NumberToJSON_(mirror.value());
2061 content.value = str;
2062 content.fromIndex = 0;
[all …]
/external/netperf/
Dnettest_unix.c278 (struct stream_stream_request_struct *)netperf_request.content.test_specific_data; in send_stream_stream()
280 (struct stream_stream_response_struct *)netperf_response.content.test_specific_data; in send_stream_stream()
282 (struct stream_stream_results_struct *)netperf_response.content.test_specific_data; in send_stream_stream()
373 netperf_request.content.request_type = DO_STREAM_STREAM; in send_stream_stream()
412 if (!netperf_response.content.serv_errno) { in send_stream_stream()
422 Set_errno(netperf_response.content.serv_errno); in send_stream_stream()
547 if (!netperf_response.content.serv_errno) { in send_stream_stream()
552 Set_errno(netperf_response.content.serv_errno); in send_stream_stream()
731 (struct stream_stream_request_struct *)netperf_request.content.test_specific_data; in recv_stream_stream()
733 (struct stream_stream_response_struct *)netperf_response.content.test_specific_data; in recv_stream_stream()
[all …]
Dnettest_sdp.c246 (struct sdp_stream_request_struct *)netperf_request.content.test_specific_data; in send_sdp_stream()
248 (struct sdp_stream_response_struct *)netperf_response.content.test_specific_data; in send_sdp_stream()
250 (struct sdp_stream_results_struct *)netperf_response.content.test_specific_data; in send_sdp_stream()
370 netperf_request.content.request_type = DO_SDP_STREAM; in send_sdp_stream()
413 if (!netperf_response.content.serv_errno) { in send_sdp_stream()
431 Set_errno(netperf_response.content.serv_errno); in send_sdp_stream()
434 netperf_response.content.serv_errno); in send_sdp_stream()
615 if (!netperf_response.content.serv_errno) { in send_sdp_stream()
620 Set_errno(netperf_response.content.serv_errno); in send_sdp_stream()
623 netperf_response.content.serv_errno); in send_sdp_stream()
[all …]
Dnettest_bsd.c1326 (struct tcp_stream_request_struct *)netperf_request.content.test_specific_data; in send_tcp_stream()
1328 (struct tcp_stream_response_struct *)netperf_response.content.test_specific_data; in send_tcp_stream()
1330 (struct tcp_stream_results_struct *)netperf_response.content.test_specific_data; in send_tcp_stream()
1447 netperf_request.content.request_type = DO_TCP_STREAM; in send_tcp_stream()
1490 if (!netperf_response.content.serv_errno) { in send_tcp_stream()
1508 Set_errno(netperf_response.content.serv_errno); in send_tcp_stream()
1511 netperf_response.content.serv_errno); in send_tcp_stream()
1692 if (!netperf_response.content.serv_errno) { in send_tcp_stream()
1697 Set_errno(netperf_response.content.serv_errno); in send_tcp_stream()
1700 netperf_response.content.serv_errno); in send_tcp_stream()
[all …]
Dnettest_dlpi.c183 (struct dlpi_co_stream_request_struct *)netperf_request.content.test_specific_data; in send_dlpi_co_stream()
185 (struct dlpi_co_stream_response_struct *)netperf_response.content.test_specific_data; in send_dlpi_co_stream()
187 (struct dlpi_co_stream_results_struct *)netperf_response.content.test_specific_data; in send_dlpi_co_stream()
313 netperf_request.content.request_type = DO_DLPI_CO_STREAM; in send_dlpi_co_stream()
383 if (!netperf_response.content.serv_errno) { in send_dlpi_co_stream()
392 Set_errno(netperf_response.content.serv_errno); in send_dlpi_co_stream()
526 if (!netperf_response.content.serv_errno) { in send_dlpi_co_stream()
531 Set_errno(netperf_response.content.serv_errno); in send_dlpi_co_stream()
711 …dlpi_co_stream_request = (struct dlpi_co_stream_request_struct *)netperf_request.content.test_spec… in recv_dlpi_co_stream()
712 …dlpi_co_stream_response = (struct dlpi_co_stream_response_struct *)netperf_response.content.test_s… in recv_dlpi_co_stream()
[all …]
Dnettest_sctp.c419 (struct sctp_stream_request_struct *)netperf_request.content.test_specific_data;
421 (struct sctp_stream_response_struct *)netperf_response.content.test_specific_data;
423 (struct sctp_stream_results_struct *)netperf_response.content.test_specific_data;
537 netperf_request.content.request_type = DO_SCTP_STREAM;
585 if (!netperf_response.content.serv_errno) {
602 Set_errno(netperf_response.content.serv_errno);
605 netperf_response.content.serv_errno);
827 if (!netperf_response.content.serv_errno) {
832 Set_errno(netperf_response.content.serv_errno);
835 netperf_response.content.serv_errno);
[all …]
Dnettest_xti.c546 (struct xti_tcp_stream_request_struct *)netperf_request.content.test_specific_data; in send_xti_tcp_stream()
548 (struct xti_tcp_stream_response_struct *)netperf_response.content.test_specific_data; in send_xti_tcp_stream()
550 (struct xti_tcp_stream_results_struct *)netperf_response.content.test_specific_data; in send_xti_tcp_stream()
728 netperf_request.content.request_type = DO_XTI_TCP_STREAM; in send_xti_tcp_stream()
798 if (!netperf_response.content.serv_errno) { in send_xti_tcp_stream()
815 Set_errno(netperf_response.content.serv_errno); in send_xti_tcp_stream()
1014 if (!netperf_response.content.serv_errno) { in send_xti_tcp_stream()
1019 Set_errno(netperf_response.content.serv_errno); in send_xti_tcp_stream()
1266 (struct xti_tcp_stream_request_struct *)netperf_request.content.test_specific_data; in recv_xti_tcp_stream()
1268 (struct xti_tcp_stream_response_struct *)netperf_response.content.test_specific_data; in recv_xti_tcp_stream()
[all …]
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DElementList.java37 final IContent content = (IContent) c.next (); in emit() local
38 content.emit (out); in emit()
42 public IElementList add (final IContent content) in add() argument
44 if (content != null) in add()
46 m_contents.add (content); in add()
52 public IElementList add (final int index, final IContent content) in add() argument
54 if (content != null) in add()
56 m_contents.add (index, content); in add()
DIElement.java64 final IContent content = (IContent) c.next (); in emit() local
65 content.emit (out); in emit()
74 public IElementList add (final IContent content) in add() argument
76 if (content != null) in add()
78 m_contents.add (content); in add()
84 public IElementList add (final int index, final IContent content) in add() argument
86 if (content != null) in add()
88 m_contents.add (index, content); in add()
/external/libxml2/
Dentities.c119 if ((entity->content != NULL) in xmlFreeEntity()
120 && (!xmlDictOwns(dict, entity->content))) in xmlFreeEntity()
121 xmlFree((char *) entity->content); in xmlFreeEntity()
133 if (entity->content != NULL) in xmlFreeEntity()
134 xmlFree((char *) entity->content); in xmlFreeEntity()
149 const xmlChar *content) { in xmlCreateEntity() argument
178 if (content != NULL) { in xmlCreateEntity()
179 ret->length = xmlStrlen(content); in xmlCreateEntity()
181 ret->content = (xmlChar *) in xmlCreateEntity()
182 xmlDictLookup(dict, content, ret->length); in xmlCreateEntity()
[all …]
Dtree.c1353 node = xmlNewDocText(doc, ent->content); in xmlStringLenGetNodeList()
1356 node = xmlNewDocText(doc, ent->content); in xmlStringLenGetNodeList()
1359 xmlNodeAddContent(last, ent->content); in xmlStringLenGetNodeList()
1374 (const xmlChar*)node->content); in xmlStringLenGetNodeList()
1538 node = xmlNewDocText(doc, ent->content); in xmlStringGetNodeList()
1541 node = xmlNewDocText(doc, ent->content); in xmlStringGetNodeList()
1544 xmlNodeAddContent(last, ent->content); in xmlStringGetNodeList()
1559 (const xmlChar*)node->content); in xmlStringGetNodeList()
1642 ret = xmlStrcat(ret, node->content); in xmlNodeListGetString()
1646 buffer = xmlEncodeEntitiesReentrant(doc, node->content); in xmlNodeListGetString()
[all …]
DHTMLtree.c50 const xmlChar *content; in htmlGetMetaEncoding() local
103 content = NULL; in htmlGetMetaEncoding()
109 value = attr->children->content; in htmlGetMetaEncoding()
115 content = value; in htmlGetMetaEncoding()
116 if ((http != 0) && (content != NULL)) in htmlGetMetaEncoding()
128 encoding = xmlStrstr(content, BAD_CAST"charset="); in htmlGetMetaEncoding()
130 encoding = xmlStrstr(content, BAD_CAST"Charset="); in htmlGetMetaEncoding()
132 encoding = xmlStrstr(content, BAD_CAST"CHARSET="); in htmlGetMetaEncoding()
136 encoding = xmlStrstr(content, BAD_CAST"charset ="); in htmlGetMetaEncoding()
138 encoding = xmlStrstr(content, BAD_CAST"Charset ="); in htmlGetMetaEncoding()
[all …]
/external/grub/docs/
Dhelp2man364 my $content = '';
371 $content = ".TP\n\x83$2\n\x83$5\n";
383 $content = ".HP\n\x83$1\n";
392 $content = ".TP\n\x83$2\n\x83$3\n";
400 $content = ".IP\n\x83$2\n";
408 $content = ".PP\n" if $include{$sect};
409 $content .= "$1\n";
416 $content .= "\x83$1\n"
422 for ($content)
440 $content .= ".PP\n" unless $append{$pat} =~ /^\./;
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/cms/
DContentInfo.java20 private DEREncodable content; field in ContentInfo
46 content = ((ASN1TaggedObject)e.nextElement()).getObject(); in ContentInfo()
52 DEREncodable content) in ContentInfo() argument
55 this.content = content; in ContentInfo()
65 return content; in getContent()
83 if (content != null) in toASN1Object()
85 v.add(new BERTaggedObject(0, content)); in toASN1Object()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
DContentInfo.java20 private DEREncodable content; field in ContentInfo
46 content = ((DERTaggedObject)e.nextElement()).getObject(); in ContentInfo()
52 DEREncodable content) in ContentInfo() argument
55 this.content = content; in ContentInfo()
65 return content; in getContent()
83 if (content != null) in toASN1Object()
85 v.add(new BERTaggedObject(0, content)); in toASN1Object()
/external/apache-http/src/org/apache/http/entity/
DBasicHttpEntity.java49 private InputStream content; field in BasicHttpEntity
80 if (this.content == null) { in getContent()
87 return this.content; in getContent()
117 this.content = instream; in setContent()
136 return !this.contentObtained && this.content != null; in isStreaming()
141 if (content != null) { in consumeContent()
142 content.close(); // reads to the end of the entity in consumeContent()
/external/libxml2/include/libxml/
Dxmlwriter.h82 content);
119 content);
143 content);
158 const xmlChar * content, int len);
161 const xmlChar * content);
175 content);
218 content);
243 content);
269 const xmlChar * content);
297 const xmlChar * content);
[all …]
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java97 final String content = EntityUtils.toString(entity); in parse() local
99 if (content != null && content.length() > 0) { in parse()
101 parse(result, new Scanner(content), in parse()
173 private static String decode (final String content, final String encoding) { in decode() argument
175 return URLDecoder.decode(content, in decode()
182 private static String encode (final String content, final String encoding) { in encode() argument
184 return URLEncoder.encode(content, in encode()

12345678910>>...21