/external/dnsmasq/src/ |
rfc1035.c | 19 static int add_resource_record(HEADER *header, char *limit, int *truncp, 24 #define CHECK_LEN(header, pp, plen, len) \ 25 ((size_t)((pp) - (unsigned char *)(header) + (len)) <= (plen)) 27 #define ADD_RDLEN(header, pp, plen, len) \ 28 (!CHECK_LEN(header, pp, plen, len) ? 0 : (long)((pp) += (len)), 1) 30 static int extract_name(HEADER *header, size_t plen, unsigned char **pp, 44 if (!CHECK_LEN(header, p, plen, 1)) 51 if (!CHECK_LEN(header, p, plen, extrabytes) [all...] |
/hardware/intel/img/psb_video/fw/topazhp/ |
fwinfo.c | 71 topaz_fw_info_item_t header; member in struct:fw_table_s 153 /* read header */ 154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); 156 /* print header */ 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 158 printf("topaz: ver : 0x%04x\n", topaz_fw_table[iter].header.ver); 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 160 printf("topaz: text_size : %d\n", (topaz_fw_table[iter].header.text_size >> 2)); 161 printf("topaz: data_size : %d\n", (topaz_fw_table[iter].header.data_size >> 2)) [all...] |
/hardware/intel/img/psb_video/fw/topazsc/ |
fwinfo.c | 71 topaz_fw_info_item_t header; member in struct:fw_table_s 153 /* read header */ 154 fread(&(topaz_fw_table[iter].header), sizeof(topaz_fw_table[iter].header), 1, fp); 156 /* print header */ 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 158 printf("topaz: ver : 0x%04x\n", topaz_fw_table[iter].header.ver); 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 160 printf("topaz: text_size : %d\n", (topaz_fw_table[iter].header.text_size >> 2)); 161 printf("topaz: data_size : %d\n", (topaz_fw_table[iter].header.data_size >> 2)) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
sort.js | 28 var header = window.document.getElementById(m[0].charAt(3)); 29 if (header) { 30 sortColumn(header, true); 36 var header = window.document.getElementById(m[0].charAt(3)); 37 if (header) { 38 sortColumn(header, false); 46 * Sorts the columns with the given header dependening on the current sort state. 48 function toggleSort(header) { 49 var sortup = header.className.indexOf('down ') == 0; 50 sortColumn(header, sortup) [all...] |
/external/opencv3/modules/flann/include/opencv2/flann/ |
saving.h | 67 * Structure representing the index header. 80 * Saves index header to stream 88 IndexHeader header; local 89 memset(header.signature, 0, sizeof(header.signature)); 90 strcpy(header.signature, FLANN_SIGNATURE_); 91 memset(header.version, 0, sizeof(header.version)); 92 strcpy(header.version, FLANN_VERSION_); 93 header.data_type = Datatype<typename Distance::ElementType>::type() 109 IndexHeader header; local [all...] |
/external/clang/test/Analysis/engine/ |
replay-without-inlining.c | 33 static void getH(IB *st, Hdr *header) { 34 getID (st, header->I); 35 header->S = gl(st); 42 Hdr header; local 43 getH (st, &header); 44 getID(st, header.I); 48 getH (st, &header);
|
/external/google-breakpad/src/common/linux/ |
elf_core_dump_unittest.cc | 63 ElfCoreDump::Ehdr header; local 64 memset(&header, 0, sizeof(header)); 72 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header) - 1)); 82 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); 87 header.e_ident[0] = ELFMAG0; 88 ASSERT_TRUE(WriteFile(core_file, &header, sizeof(header))); [all...] |
/external/junit/src/org/junit/internal/ |
ComparisonCriteria.java | 32 String header= message == null ? "" : message + ": "; 35 actuals, header); 52 throw new ArrayComparisonFailure(header, e, i); 62 Object actuals, String header) { 64 Assert.fail(header + "expected array was null"); 66 Assert.fail(header + "actual array was null"); 70 Assert.fail(header + "array lengths differed, expected.length="
|
/external/libmicrohttpd/src/microhttpd/ |
test_postprocessor_large.c | 63 struct MHD_HTTP_Header header; local 76 memset (&header, 0, sizeof (struct MHD_HTTP_Header)); 77 connection.headers_received = &header; 78 header.header = MHD_HTTP_HEADER_CONTENT_TYPE; 79 header.value = MHD_HTTP_POST_ENCODING_FORM_URLENCODED; 80 header.kind = MHD_HEADER_KIND;
|
/external/skia/tools/ |
pinspect.cpp | 28 int32_t header[3]; local 29 if (stream.read(header, sizeof(header)) != sizeof(header)) { 30 printf("-- Failed to read header (12 bytes)\n"); 33 printf("version:%d width:%d height:%d\n", header[0], header[1], header[2]);
|
/external/testng/src/main/java/org/testng/internal/junit/ |
ComparisonCriteria.java | 32 String header= message == null ? "" : message + ": "; 35 actuals, header); 52 throw new ArrayComparisonFailure(header, e, i); 62 Object actuals, String header) { 64 AssertJUnit.fail(header + "expected array was null"); 66 AssertJUnit.fail(header + "actual array was null"); 70 AssertJUnit.fail(header + "array lengths differed, expected.length="
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
pli_unittest.cc | 33 RtcpCommonHeader header; local 34 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header)); 37 header, kPacket + RtcpCommonHeader::kHeaderSizeBytes)); 56 RtcpCommonHeader header; local 57 EXPECT_TRUE(RtcpParseCommonHeader(kPacket, kPacketLength, &header)); 58 header.payload_size_bytes--; 62 parsed.Parse(header, kPacket + RtcpCommonHeader::kHeaderSizeBytes));
|
bye_unittest.cc | 35 RtcpCommonHeader header; local 37 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header)); 39 EXPECT_EQ(header.BlockSize(), packet->Length()); 41 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes)); 67 EXPECT_EQ(16u, packet->Length()); // Header: 4, 3xSRCs: 12, Reason: 0. 85 EXPECT_EQ(28u, packet->Length()); // Header: 4, 3xSRCs: 12, Reason: 12. 133 RtcpCommonHeader header; local 134 header.packet_type = Bye::kPacketType; 135 header.count_or_format = 0; 136 header.payload_size_bytes = 0 150 RtcpCommonHeader header; local 164 RtcpCommonHeader header; local [all...] |
/bionic/libc/malloc_debug/ |
malloc_debug.cpp | 116 static void LogTagError(const Header* header, const void* pointer, const char* name) { 120 if (header->tag == DEBUG_FREE_TAG) { 123 g_debug->free_track->LogBacktrace(header); 126 error_log("+++ ALLOCATION %p HAS INVALID TAG %" PRIx32 " (%s)", pointer, header->tag, name); 136 static void* InitHeader(Header* header, void* orig_pointer, size_t size) { 137 header->tag = DEBUG_TAG; 138 header->orig_pointer = orig_pointer; 139 header->size = size 272 Header* header = g_debug->GetHeader(pointer); local 304 Header* header = reinterpret_cast<Header*>( local 330 Header* header; local 428 Header* header = g_debug->GetHeader(reinterpret_cast<void*>(value)); local 481 Header* header = g_debug->GetHeader(pointer); local 571 Header* header = reinterpret_cast<Header*>( local 615 const Header* header = reinterpret_cast<const Header*>(pointer); local [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
ebsc_table.cc | 34 EbscTable::EbscTable(Header* header, ReadableFontData* data) 35 : Table(header, data) { 71 Header* header, WritableFontData* data) { 72 EbscTableBuilderPtr builder = new EbscTable::Builder(header, data); 76 EbscTable::Builder::Builder(Header* header, WritableFontData* data) 77 : Table::Builder(header, data) { 80 EbscTable::Builder::Builder(Header* header, ReadableFontData* data [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
table.h | 27 #include "sfntly/table/header.h" 43 virtual Header* header() { return header_; } function in class:sfntly::Table::Builder 46 // Get a builder for the table type specified by the data in the header. 47 // @param header the header for the table 50 static CALLER_ATTACH Builder* GetBuilder(Header* header, 56 Builder(Header* header, WritableFontData* data) 73 virtual Header* header() { return header_; } function in class:sfntly::Table [all...] |
/hardware/libhardware/include/hardware/ |
qemud.h | 107 char header[5]; local 115 snprintf(header, sizeof header, "%04x", msglen); 116 if (qemud_fd_write(fd, header, 4) != 4) { 117 D("can't write qemud frame header: %s", strerror(errno)); 131 char header[5]; local 134 if (qemud_fd_read(fd, header, 4) != 4) { 135 D("can't read qemud frame header: %s", strerror(errno)); 138 header[4] = 0; 139 if (sscanf(header, "%04x", &size) != 1) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/ |
ReferencesHeader.java | 1 package gov.nist.javax.sip.header.extensions; 6 import javax.sip.header.Header; 7 import javax.sip.header.Parameters; 10 * References header: See http://tools.ietf.org/html/draft-worley-references-05 12 public interface ReferencesHeader extends Parameters, Header {
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PChargingVectorHeader.java | 31 package gov.nist.javax.sip.header.ims; 35 import javax.sip.header.Header; 36 import javax.sip.header.Parameters; 42 * <p>P-Charging-Vector header SIP Private Header. </p> 94 * <p>TODO: add suport for the new header extensions access-network-charging-info</p> 101 public interface PChargingVectorHeader extends Header, Parameters {
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MessageFactoryExt.java | 3 import javax.sip.header.ContentTypeHeader; 4 import javax.sip.header.ServerHeader; 5 import javax.sip.header.UserAgentHeader; 16 * Set the common UserAgent header for all Requests created from this message factory. 17 * This header is applied to all Messages created from this Factory object except those 20 * @param userAgent -- the user agent header to set. 28 * Set the common Server header for all Responses created from this message factory. 29 * This header is applied to all Messages created from this Factory object except those 32 * @param userAgent -- the user agent header to set.
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfStandardAttributes.cpp | 50 add##suffix (Header &header, const type &value) \ 52 header.insert (IMF_STRING (name), TypedAttribute<type> (value)); \ 56 has##suffix (const Header &header) \ 58 return header.findTypedAttribute <TypedAttribute <type> > \ 63 name##Attribute (const Header &header) \ 65 return header.typedAttribute <TypedAttribute <type> > \ 70 name##Attribute (Header &header) [all...] |
/external/webrtc/webrtc/test/ |
layer_filtering_transport.cc | 49 RTPHeader header; local 50 parser.Parse(&header); 56 if (header.payloadType == vp8_video_payload_type_ || 57 header.payloadType == vp9_video_payload_type_) { 58 const uint8_t* payload = packet + header.headerLength; 59 RTC_DCHECK_GT(length, header.headerLength); 60 const size_t payload_length = length - header.headerLength; 61 RTC_DCHECK_GT(payload_length, header.paddingLength); 62 const size_t payload_data_length = payload_length - header.paddingLength; 64 const bool is_vp8 = header.payloadType == vp8_video_payload_type_ [all...] |
/libcore/ojluni/src/main/java/java/util/ |
LinkedHashMap.java | 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 176 private transient LinkedHashMapEntry<K,V> header; field in class:LinkedHashMap 260 header = new LinkedHashMapEntry<>(-1, null, null, null); 261 header.before = header.after = header; 272 for (LinkedHashMapEntry<K,V> e = header.after; e != header; e = e.after) { 291 for (LinkedHashMapEntry e = header.after; e != header; e = e.after [all...] |
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
Decoder.java | 30 Hashtable header; field in class:Decoder 66 public static Hashtable getHeaderElements(String header) { 71 int len = header.length(); 76 while (pos < len && header.charAt(pos) <= ' ') 81 if (header.charAt(pos) == '"') { 83 int cut = header.indexOf('"', pos); 85 throw new RuntimeException("End quote expected in " + header); 87 result.put(key, header.substring(pos, cut)); 92 if (header.charAt(pos - 1) != ';') 93 throw new RuntimeException("; expected in " + header); [all...] |
/external/webrtc/talk/media/base/ |
rtputils.cc | 130 const uint8_t* header = static_cast<const uint8_t*>(data); local 131 // Get base header size + length of CSRCs (not counting extension yet). 132 size_t header_size = kMinRtpPacketLen + (header[0] & 0xF) * sizeof(uint32_t); 135 if (header[0] & 0x10) { 139 ((rtc::GetBE16(header + header_size + 2) + 1) * sizeof(uint32_t)); 146 bool GetRtpHeader(const void* data, size_t len, RtpHeader* header) { 147 return (GetRtpPayloadType(data, len, &(header->payload_type)) && 148 GetRtpSeqNum(data, len, &(header->seq_num)) && 149 GetRtpTimestamp(data, len, &(header->timestamp)) && 150 GetRtpSsrc(data, len, &(header->ssrc))) [all...] |