Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 1904) sorted by relevance

12345678910>>...77

/external/mesa3d/src/talloc/
Dhieralloc.c28 #define END_MAGIC(header) ((unsigned)((const hieralloc_header_t *)header + 1) % 0x10000 | 0x1337000… argument
41 static inline int check_header(const hieralloc_header_t * header) in check_header() argument
43 if (BEGIN_MAGIC() != header->beginMagic) in check_header()
44 printf("*** hieralloc check_header fail: %p ***\n", header + 1); in check_header()
45 assert(BEGIN_MAGIC() == header->beginMagic); in check_header()
46 if (&hieralloc_global_header == header) in check_header()
48 assert(0x13370000 == header->endMagic); in check_header()
51 assert(END_MAGIC(header) == header->endMagic); in check_header()
52 assert(!header->nextSibling || header->nextSibling->prevSibling == header); in check_header()
53 assert(!header->nextSibling || header->nextSibling->parent == header->parent); in check_header()
[all …]
/external/icu4c/common/
Ducol_swp.cpp111 UCATableHeader header; in ucol_looksLikeCollationBinary() local
126 uprv_memset(&header, 0, sizeof(header)); in ucol_looksLikeCollationBinary()
128 header.size=udata_readInt32(ds, inHeader->size); in ucol_looksLikeCollationBinary()
129 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { in ucol_looksLikeCollationBinary()
133 header.magic=ds->readUInt32(inHeader->magic); in ucol_looksLikeCollationBinary()
135 header.magic==UCOL_HEADER_MAGIC && in ucol_looksLikeCollationBinary()
159 UCATableHeader header; in ucol_swapBinary() local
184 uprv_memset(&header, 0, sizeof(header)); in ucol_swapBinary()
186 header.size=udata_readInt32(ds, inHeader->size); in ucol_swapBinary()
187 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { in ucol_swapBinary()
[all …]
/external/chromium/net/disk_cache/
Dblock_files.cc34 void FixAllocationCounters(disk_cache::BlockFileHeader* header);
39 bool CreateMapBlock(int target, int size, disk_cache::BlockFileHeader* header, in CreateMapBlock() argument
50 int current = header->hints[target - 1]; in CreateMapBlock()
51 for (int i = 0; i < header->max_entries / 32; i++, current++) { in CreateMapBlock()
52 if (current == header->max_entries / 32) in CreateMapBlock()
54 uint32 map_block = header->allocation_map[current]; in CreateMapBlock()
60 disk_cache::FileLock lock(header); in CreateMapBlock()
65 header->allocation_map[current] |= to_add; in CreateMapBlock()
67 header->hints[target - 1] = current; in CreateMapBlock()
68 header->empty[target - 1]--; in CreateMapBlock()
[all …]
/external/clang/test/Modules/Inputs/
Dmodule.map1 module diamond_top { header "diamond_top.h" }
3 header "diamond_left.h"
7 header "diamond_right.h"
11 header "diamond_bottom.h"
14 module irgen { header "irgen.h" }
15 module lookup_left_objc { header "lookup_left.h" }
16 module lookup_right_objc { header "lookup_right.h" }
17 module lookup_left_cxx { header "lookup_left.hpp" }
18 module lookup_right_cxx { header "lookup_right.hpp" }
19 module module_private_left { header "module_private_left.h" }
[all …]
/external/stlport/stlport/stl/config/
D_android.h59 #define _STLP_NATIVE_HEADER(header) <usr/include/header> argument
60 #define _STLP_NATIVE_C_HEADER(header) <../include/header> argument
61 #define _STLP_NATIVE_CPP_C_HEADER(header) <usr/include/header> argument
62 #define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <usr/include/header> argument
63 #define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <usr/include/header> argument
64 #define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <usr/include/header> argument
68 #define _STLP_NATIVE_HEADER(header) <libstdc++/include/header> argument
69 #define _STLP_NATIVE_C_HEADER(header) <../include/header> argument
70 #define _STLP_NATIVE_CPP_C_HEADER(header) <libstdc++/include/header> argument
71 #define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <libstdc++/include/header> argument
[all …]
/external/dbus/dbus/
Ddbus-marshal-header.c95 reserve_header_padding (DBusHeader *header) in reserve_header_padding() argument
97 _dbus_assert (header->padding <= MAX_POSSIBLE_HEADER_PADDING); in reserve_header_padding()
99 if (!_dbus_string_lengthen (&header->data, in reserve_header_padding()
100 MAX_POSSIBLE_HEADER_PADDING - header->padding)) in reserve_header_padding()
102 header->padding = MAX_POSSIBLE_HEADER_PADDING; in reserve_header_padding()
107 correct_header_padding (DBusHeader *header) in correct_header_padding() argument
111 _dbus_assert (header->padding == 7); in correct_header_padding()
113 _dbus_string_shorten (&header->data, header->padding); in correct_header_padding()
114 unpadded_len = _dbus_string_get_length (&header->data); in correct_header_padding()
116 if (!_dbus_string_align_length (&header->data, 8)) in correct_header_padding()
[all …]
Ddbus-marshal-header.h62 dbus_bool_t _dbus_header_init (DBusHeader *header,
64 void _dbus_header_free (DBusHeader *header);
65 void _dbus_header_reinit (DBusHeader *header,
67 dbus_bool_t _dbus_header_create (DBusHeader *header,
74 dbus_bool_t _dbus_header_copy (const DBusHeader *header,
76 int _dbus_header_get_message_type (DBusHeader *header);
77 void _dbus_header_set_serial (DBusHeader *header,
79 dbus_uint32_t _dbus_header_get_serial (DBusHeader *header);
80 void _dbus_header_update_lengths (DBusHeader *header,
82 dbus_bool_t _dbus_header_set_field_basic (DBusHeader *header,
[all …]
/external/zlib/contrib/minizip/
Dmztools.c44 char header[30]; variable
49 while ( fread(header, 1, 30, fpZip) == 30 ) {
53 if (READ_32(header) == 0x04034b50) {
54 unsigned int version = READ_16(header + 4);
55 unsigned int gpflag = READ_16(header + 6);
56 unsigned int method = READ_16(header + 8);
57 unsigned int filetime = READ_16(header + 10);
58 unsigned int filedate = READ_16(header + 12);
59 unsigned int crc = READ_32(header + 14); /* crc */
60 unsigned int cpsize = READ_32(header + 18); /* compressed size */
[all …]
/external/srtp/test/
Drtp.c34 sender->message.header.seq = ntohs(sender->message.header.seq) + 1; in rtp_sendto()
35 sender->message.header.seq = htons(sender->message.header.seq); in rtp_sendto()
36 sender->message.header.ts = ntohl(sender->message.header.ts) + 1; in rtp_sendto()
37 sender->message.header.ts = htonl(sender->message.header.ts); in rtp_sendto()
40 stat = srtp_protect(sender->srtp_ctx, &sender->message.header, &pkt_len); in rtp_sendto()
48 srtp_print_packet(&sender->message.header, pkt_len); in rtp_sendto()
73 if (receiver->message.header.version != 2) { in rtp_recvfrom()
80 octets_recvd, receiver->message.header.ssrc); in rtp_recvfrom()
83 srtp_print_packet(&receiver->message.header, octets_recvd); in rtp_recvfrom()
88 &receiver->message.header, &octets_recvd); in rtp_recvfrom()
[all …]
/external/aac/libSYS/src/
Dwav_file.cpp124 if (FDKfread(&(wav->header.riffType), 1, 4, wav->fp) != 4) { in WAV_InputOpen()
128 if (FDKstrncmp("RIFF", wav->header.riffType, 4)) { in WAV_InputOpen()
134 FDKfread_EL(&(wav->header.riffSize), 4, 1, wav->fp); in WAV_InputOpen()
137 if (FDKfread(&wav->header.waveType, 1, 4, wav->fp) !=4) { in WAV_InputOpen()
141 if (FDKstrncmp("WAVE", wav->header.waveType, 4)) { in WAV_InputOpen()
147 if (FDKfread(&(wav->header.formatType), 1, 4, wav->fp) != 4) { in WAV_InputOpen()
151 if (FDKstrncmp("fmt", wav->header.formatType, 3)) { in WAV_InputOpen()
157 …FDKfread_EL(&wav->header.formatSize, 4, 1, wav->fp); /* should be 16 for PCM-format (uncompresse… in WAV_InputOpen()
161 FDKfread_EL(&(wav->header.compressionCode), 2, 1, wav->fp); in WAV_InputOpen()
162 FDKfread_EL(&(wav->header.numChannels), 2, 1, wav->fp); in WAV_InputOpen()
[all …]
/external/chromium/net/tools/dump_cache/
Ddump_files.cc27 bool ReadHeader(const std::wstring& name, char* header, int header_size) { in ReadHeader() argument
36 int read = file.Read(header, header_size, NULL); in ReadHeader()
45 disk_cache::IndexHeader header; in GetMajorVersionFromFile() local
46 if (!ReadHeader(name, reinterpret_cast<char*>(&header), sizeof(header))) in GetMajorVersionFromFile()
49 return header.version >> 16; in GetMajorVersionFromFile()
54 disk_cache::IndexHeader header; in DumpIndexHeader() local
55 if (!ReadHeader(name, reinterpret_cast<char*>(&header), sizeof(header))) in DumpIndexHeader()
59 printf("magic: %x\n", header.magic); in DumpIndexHeader()
60 printf("version: %d.%d\n", header.version >> 16, header.version & 0xffff); in DumpIndexHeader()
61 printf("entries: %d\n", header.num_entries); in DumpIndexHeader()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryExt.java1 package gov.nist.javax.sip.header;
5 import gov.nist.javax.sip.header.extensions.JoinHeader;
6 import gov.nist.javax.sip.header.extensions.ReferredByHeader;
7 import gov.nist.javax.sip.header.extensions.ReplacesHeader;
8 import gov.nist.javax.sip.header.extensions.SessionExpiresHeader;
9 import gov.nist.javax.sip.header.ims.PAccessNetworkInfoHeader;
10 import gov.nist.javax.sip.header.ims.PAssertedIdentityHeader;
11 import gov.nist.javax.sip.header.ims.PAssertedServiceHeader;
12 import gov.nist.javax.sip.header.ims.PAssociatedURIHeader;
13 import gov.nist.javax.sip.header.ims.PCalledPartyIDHeader;
[all …]
/external/dnsmasq/src/
Drfc1035.c19 static int add_resource_record(HEADER *header, char *limit, int *truncp,
24 #define CHECK_LEN(header, pp, plen, len) \ argument
25 ((size_t)((pp) - (unsigned char *)(header) + (len)) <= (plen))
27 #define ADD_RDLEN(header, pp, plen, len) \ argument
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, in extract_name() argument
44 if (!CHECK_LEN(header, p, plen, 1)) in extract_name()
51 if (!CHECK_LEN(header, p, plen, extrabytes)) in extract_name()
75 if (!CHECK_LEN(header, p, plen, 1)) in extract_name()
89 p = l + (unsigned char *)header; in extract_name()
[all …]
/external/linux-tools-perf/util/
Dheader.c89 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument
91 set_bit(feat, header->adds_features); in perf_header__set_feat()
94 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument
96 clear_bit(feat, header->adds_features); in perf_header__clear_feat()
99 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument
101 return test_bit(feat, header->adds_features); in perf_header__has_feat()
162 b.header.misc = misc; in __dsos__write_buildid_table()
163 b.header.size = sizeof(b) + len; in __dsos__write_buildid_table()
195 static int dsos__write_buildid_table(struct perf_header *header, int fd) in dsos__write_buildid_table() argument
197 struct perf_session *session = container_of(header, in dsos__write_buildid_table()
[all …]
/external/skia/src/core/
DSkMemory_stdlib.cpp77 SkBlockHeader* header = gHeader; in Dump() local
80 while (header != NULL) { in Dump()
83 size_t size = header->fSize; in Dump()
84 int* data = (int*)(void*)header->fTrailer; in Dump()
107 size += header->fSize; in Dump()
108 header = header->fNext; in Dump()
141 SkBlockHeader* header = gHeader; in InMutexValidate() local
142 while (header != NULL) { in InMutexValidate()
143 SkASSERT(memcmp(header->fHeader, kBlockHeaderTag, sizeof(kBlockHeaderTag)) == 0); in InMutexValidate()
144 char* trailer = header->fTrailer + header->fSize; in InMutexValidate()
[all …]
/external/clang/lib/Headers/
Dmodule.map4 header "altivec.h"
11 header "immintrin.h"
12 header "x86intrin.h"
15 header "mm_malloc.h"
20 header "cpuid.h"
25 header "mmintrin.h"
32 header "xmmintrin.h"
38 header "emmintrin.h"
44 header "pmmintrin.h"
50 header "tmmintrin.h"
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DSecurityAgreeParser.java43 import gov.nist.javax.sip.header.SIPHeaderList;
44 import gov.nist.javax.sip.header.ims.*;
66 protected void parseParameter(SecurityAgree header) in parseParameter() argument
73 header.setParameter(nv); in parseParameter()
81 public SIPHeaderList parse(SecurityAgree header) throws ParseException in parse() argument
86 if (header.getClass().isInstance(new SecurityClient())) { in parse()
88 } else if (header.getClass().isInstance(new SecurityServer())) { in parse()
90 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse()
101 header.setSecurityMechanism(type.getTokenValue()); in parse()
107 list.add(header); in parse()
[all …]
/external/webkit/Tools/Scripts/
Dcheck-for-webkit-framework-include-consistency52 all_headers.each do |header|
53 if /\/Headers\/(.*)/.match(header)
55 $HEADERS_BY_TYPE[:public] << header
56 elsif /\/PrivateHeaders\/(.*)/.match(header)
58 $HEADERS_BY_TYPE[:private] << header
60 print_error "Unknown header type: #{header}"
65 def resolve_include(header, included_header, permitted_types) argument
77 return if header =~ /\/WebKeyGenerator.h$/ and included_header_name == "WebCoreKeyGenerator.h"
79 print_error "#{header} included #{included_header}!"
86 print_error "#{header} included #{included_header} but I could not find a header of that name!"
[all …]
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_store_file.cc162 const FileHeader& header) { in FileHeaderSanityCheck() argument
168 expected_size += header.add_chunk_count * sizeof(int32); in FileHeaderSanityCheck()
169 expected_size += header.sub_chunk_count * sizeof(int32); in FileHeaderSanityCheck()
170 expected_size += header.add_prefix_count * sizeof(SBAddPrefix); in FileHeaderSanityCheck()
171 expected_size += header.sub_prefix_count * sizeof(SBSubPrefix); in FileHeaderSanityCheck()
172 expected_size += header.add_hash_count * sizeof(SBAddFullHash); in FileHeaderSanityCheck()
173 expected_size += header.sub_hash_count * sizeof(SBSubFullHash); in FileHeaderSanityCheck()
185 FileHeader* header, in ReadAndVerifyHeader() argument
187 if (!ReadArray(header, 1, fp, context)) in ReadAndVerifyHeader()
189 if (header->magic != kFileMagic || header->version != kFileVersion) in ReadAndVerifyHeader()
[all …]
/external/oprofile/libabi/tests/
Dabi_test.cpp70 struct opd_header * header; in main() local
71 header = static_cast<struct opd_header *>(odb_get_data(&dest)); in main()
72 memset(header, '\0', sizeof(struct opd_header)); in main()
73 header->version = OPD_VERSION; in main()
74 memcpy(header->magic, OPD_MAGIC, sizeof(header->magic)); in main()
75 header->is_kernel = 1; in main()
77 header->ctr_event = 0x80; in main()
78 header->ctr_um = 0x0; in main()
79 header->cpu_type = CPU_ATHLON; in main()
80 header->ctr_count = 0xdeadbeef; in main()
[all …]
/external/qemu/block/
Dvmdk.c183 VMDK4Header header; in vmdk_snapshot_create() local
231 memset(&header, 0, sizeof(header)); in vmdk_snapshot_create()
232 memcpy(&header,&hdr[4], sizeof(header)); // skip the VMDK4_MAGIC in vmdk_snapshot_create()
234 if (ftruncate(snp_fd, header.grain_offset << 9)) { in vmdk_snapshot_create()
262 (uint32_t)header.capacity, real_filename); in vmdk_snapshot_create()
274 gd_offset = header.gd_offset * SECTOR_SIZE; // offset of GD table in vmdk_snapshot_create()
275 rgd_offset = header.rgd_offset * SECTOR_SIZE; // offset of RGD table in vmdk_snapshot_create()
276 capacity = header.capacity * SECTOR_SIZE; // Extent size in vmdk_snapshot_create()
281 gt_size = (int64_t)header.num_gtes_per_gte * header.granularity * SECTOR_SIZE; in vmdk_snapshot_create()
373 VMDK3Header header; in vmdk_open() local
[all …]
/external/apache-http/src/org/apache/http/message/
DHeaderGroup.java76 public void addHeader(Header header) { in addHeader() argument
77 if (header == null) { in addHeader()
80 headers.add(header); in addHeader()
88 public void removeHeader(Header header) { in removeHeader() argument
89 if (header == null) { in removeHeader()
92 headers.remove(header); in removeHeader()
102 public void updateHeader(Header header) { in updateHeader() argument
103 if (header == null) { in updateHeader()
108 if (current.getName().equalsIgnoreCase(header.getName())) { in updateHeader()
109 this.headers.set(i, header); in updateHeader()
[all …]
/external/webkit/Source/WebCore/platform/text/cf/
DStringImplCF.cpp66 StringImpl** header = static_cast<StringImpl**>(fastMalloc(sizeof(StringImpl*) + size)); in allocate() local
67 *header = underlyingString; in allocate()
68 return header + 1; in allocate()
74 StringImpl** header = static_cast<StringImpl**>(pointer) - 1; in reallocate() local
75 ASSERT(!*header); in reallocate()
76 header = static_cast<StringImpl**>(fastRealloc(header, newAllocationSize)); in reallocate()
77 return header + 1; in reallocate()
82 StringImpl** header = static_cast<StringImpl**>(headerPointer); in deallocateOnMainThread() local
83 StringImpl* underlyingString = *header; in deallocateOnMainThread()
86 fastFree(header); in deallocateOnMainThread()
[all …]
/external/webkit/Source/WebKit2/Platform/CoreIPC/mac/
DConnectionMac.cpp165 mach_msg_header_t* header = reinterpret_cast<mach_msg_header_t*>(&buffer); in sendOutgoingMessage() local
166header->msgh_bits = isComplex ? MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND | MACH_MSGH_BITS_COMPLEX, 0… in sendOutgoingMessage()
167 header->msgh_size = messageSize; in sendOutgoingMessage()
168 header->msgh_remote_port = m_sendPort; in sendOutgoingMessage()
169 header->msgh_local_port = MACH_PORT_NULL; in sendOutgoingMessage()
170 header->msgh_id = messageID.toInt(); in sendOutgoingMessage()
172 header->msgh_id |= MessageBodyIsOOL; in sendOutgoingMessage()
177 mach_msg_body_t* body = reinterpret_cast<mach_msg_body_t*>(header + 1); in sendOutgoingMessage()
209 messageData = (uint8_t*)(header + 1); in sendOutgoingMessage()
218 …kern_return_t kr = mach_msg(header, MACH_SEND_MSG, messageSize, 0, MACH_PORT_NULL, MACH_MSG_TIMEOU… in sendOutgoingMessage()
[all …]
/external/libusb/libusb/
Ddescriptor.c81 struct usb_descriptor_header header; in parse_endpoint() local
87 usbi_parse_descriptor(buffer, "bb", &header, 0); in parse_endpoint()
91 if (header.bLength > size) { in parse_endpoint()
96 if (header.bDescriptorType != LIBUSB_DT_ENDPOINT) { in parse_endpoint()
98 header.bDescriptorType, LIBUSB_DT_ENDPOINT); in parse_endpoint()
102 if (header.bLength >= ENDPOINT_AUDIO_DESC_LENGTH) in parse_endpoint()
104 else if (header.bLength >= ENDPOINT_DESC_LENGTH) in parse_endpoint()
107 buffer += header.bLength; in parse_endpoint()
108 size -= header.bLength; in parse_endpoint()
109 parsed += header.bLength; in parse_endpoint()
[all …]

12345678910>>...77