/external/webkit/Source/WebCore/platform/graphics/win/ |
DIBPixelData.cpp | 58 BITMAPFILEHEADER header; 59 header.bfType = bitmapType; 60 header.bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); 61 header.bfReserved1 = 0; 62 header.bfReserved2 = 0; 63 header.bfSize = sizeof(BITMAPFILEHEADER); 79 ::WriteFile(hFile, &header, sizeof(header), &bytesWritten, 0);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
asoundlib.h | 1 #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
asoundlib.h | 1 #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/ |
asoundlib.h | 1 #warning This header is deprecated, use <alsa/asoundlib.h> instead.
|
/external/aac/libSYS/src/ |
wav_file.cpp | 101 * \brief Read header from a WAVEfile. Host endianess is handled accordingly. 103 * \wavinfo SWavInfo struct where the decoded header info is stored into. 124 if (FDKfread(&(wav->header.riffType), 1, 4, wav->fp) != 4) { 128 if (FDKstrncmp("RIFF", wav->header.riffType, 4)) { 134 FDKfread_EL(&(wav->header.riffSize), 4, 1, wav->fp); 137 if (FDKfread(&wav->header.waveType, 1, 4, wav->fp) !=4) { 141 if (FDKstrncmp("WAVE", wav->header.waveType, 4)) { 147 if (FDKfread(&(wav->header.formatType), 1, 4, wav->fp) != 4) { 151 if (FDKstrncmp("fmt", wav->header.formatType, 3)) { 157 FDKfread_EL(&wav->header.formatSize, 4, 1, wav->fp); /* should be 16 for PCM-format (uncompressed) * [all...] |
/external/flac/libFLAC/ |
ogg_helper.c | 79 page->header = 0; 87 if(page->header) 88 free(page->header); 101 FLAC__ASSERT(page->header == 0); 115 /* allocate space for the page header */ 116 if(0 == (page->header = (unsigned char *)safe_malloc_(OGG_MAX_HEADER_LEN))) { 121 /* read in the fixed part of the page header (up to but not including 123 if(!full_read_(encoder, page->header, OGG_HEADER_FIXED_PORTION_LEN, read_callback, client_data)) 126 page->header_len = OGG_HEADER_FIXED_PORTION_LEN + page->header[26]; 130 memcmp(page->header, "OggS", 4) || /* doesn't start with OggS * [all...] |
/external/libvpx/libvpx/examples/ |
encoder_tmpl.c | 70 char header[32]; local 74 header[0] = 'D'; 75 header[1] = 'K'; 76 header[2] = 'I'; 77 header[3] = 'F'; 78 mem_put_le16(header+4, 0); /* version */ 79 mem_put_le16(header+6, 32); /* headersize */ 80 mem_put_le32(header+8, fourcc); /* headersize */ 81 mem_put_le16(header+12, cfg->g_w); /* width */ 82 mem_put_le16(header+14, cfg->g_h); /* height * 95 char header[12]; local [all...] |
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 72 public HeaderSet connect(final HeaderSet header) throws IOException { 82 // Determine the header byte array 83 if (header != null) { 84 if (header.nonce != null) { 86 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16); 88 head = ObexHelper.createHeader(header, false); 136 public Operation get(HeaderSet header) throws IOException { 146 if (header == null) { 149 head = header; 174 public HeaderSet delete(HeaderSet header) throws IOException [all...] |
/dalvik/libdex/ |
DexClass.cpp | 39 /* Read and verify the header of a class_data_item. This updates the 105 DexClassDataHeader header; local 114 if (! dexReadAndVerifyClassDataHeader(pData, pLimit, &header)) { 119 (header.staticFieldsSize * sizeof(DexField)) + 120 (header.instanceFieldsSize * sizeof(DexField)) + 121 (header.directMethodsSize * sizeof(DexMethod)) + 122 (header.virtualMethodsSize * sizeof(DexMethod)); 133 result->header = header; 135 if (header.staticFieldsSize != 0) [all...] |
/external/speex/libspeex/ |
speex_header.c | 3 Describes the Speex header 86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) 91 strncpy(header->speex_string, "Speex ", 8); 92 strncpy(header->speex_version, SPEEX_VERSION, SPEEX_HEADER_VERSION_LENGTH-1); 93 header->speex_version[SPEEX_HEADER_VERSION_LENGTH-1]=0; 96 header->speex_string[i]=h[i]; 98 header->speex_version[i]=SPEEX_VERSION[i]; 100 header->speex_version[i]=0; 102 header->speex_version_id = 1; 103 header->header_size = sizeof(SpeexHeader) [all...] |
/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...] |
/external/android-clat/ |
ipv4.c | 39 * icmp - pointer to icmp header in packet 40 * checksum - pseudo-header checksum 68 const struct iphdr *header = (struct iphdr *) packet; local 78 logmsg_dbg(ANDROID_LOG_ERROR, "ip_packet/too short for an ip header"); 82 frag_flags = ntohs(header->frag_off); 88 if(header->ihl < 5) { 89 logmsg_dbg(ANDROID_LOG_ERROR, "ip_packet/ip header length set to less than 5: %x", header->ihl); 93 if((size_t) header->ihl * 4 > len) { // ip header length larger than entire packe [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/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/skia/legacy/src/core/ |
SkMemory_stdlib.cpp | 77 SkBlockHeader* header = gHeader; local 80 while (header != NULL) { 83 size_t size = header->fSize; 84 int* data = (int*)(void*)header->fTrailer; 107 size += header->fSize; 108 header = header->fNext; 141 SkBlockHeader* header = gHeader; local 142 while (header != NULL) { 143 SkASSERT(memcmp(header->fHeader, kBlockHeaderTag, sizeof(kBlockHeaderTag)) == 0) 182 SkBlockHeader* header = (SkBlockHeader*) local 207 SkBlockHeader* header = (SkBlockHeader*) p; local 224 SkBlockHeader* header = (SkBlockHeader*) local 257 SkBlockHeader* header = (SkBlockHeader*) p; local [all...] |
/external/skia/src/core/ |
SkMemory_stdlib.cpp | 77 SkBlockHeader* header = gHeader; local 80 while (header != NULL) { 83 size_t size = header->fSize; 84 int* data = (int*)(void*)header->fTrailer; 107 size += header->fSize; 108 header = header->fNext; 141 SkBlockHeader* header = gHeader; local 142 while (header != NULL) { 143 SkASSERT(memcmp(header->fHeader, kBlockHeaderTag, sizeof(kBlockHeaderTag)) == 0) 182 SkBlockHeader* header = (SkBlockHeader*) local 207 SkBlockHeader* header = (SkBlockHeader*) p; local 224 SkBlockHeader* header = (SkBlockHeader*) local 257 SkBlockHeader* header = (SkBlockHeader*) p; local [all...] |
/external/skia/tools/ |
pinspect.cpp | 27 int32_t header[3]; local 28 if (stream.read(header, sizeof(header)) != sizeof(header)) { 29 printf("-- Failed to read header (12 bytes)\n"); 32 printf("version:%d width:%d height:%d\n", header[0], header[1], header[2]);
|
/external/webkit/Source/WebCore/rendering/ |
RenderArena.cpp | 82 RenderArenaDebugHeader* header = static_cast<RenderArenaDebugHeader*>(block); local 83 header->arena = this; 84 header->size = size; 85 header->signature = signature; 119 RenderArenaDebugHeader* header = static_cast<RenderArenaDebugHeader*>(block); local 120 ASSERT(header->signature == signature); 121 ASSERT_UNUSED(size, header->size == size); 122 ASSERT(header->arena == this); 123 header->signature = signatureDead;
|
/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/oprofile/daemon/ |
opd_events.c | 150 void fill_header(struct opd_header * header, unsigned long counter, 157 memset(header, '\0', sizeof(struct opd_header)); 158 header->version = OPD_VERSION; 159 memcpy(header->magic, OPD_MAGIC, sizeof(header->magic)); 160 header->cpu_type = cpu_type; 161 header->ctr_event = event->value; 162 header->ctr_count = event->count; 163 header->ctr_um = event->um; 164 header->is_kernel = is_kernel [all...] |
/frameworks/base/core/java/android/speech/tts/ |
FileSynthesisCallback.java | 122 Log.e(TAG, "Failed to write wav header to output file descriptor" + ex); 174 // Write WAV header at start of file 207 ByteBuffer header = ByteBuffer.wrap(headerBuf); local 208 header.order(ByteOrder.LITTLE_ENDIAN); 210 header.put(new byte[]{ 'R', 'I', 'F', 'F' }); 211 header.putInt(dataLength + WAV_HEADER_LENGTH - 8); // RIFF chunk size 212 header.put(new byte[]{ 'W', 'A', 'V', 'E' }); 213 header.put(new byte[]{ 'f', 'm', 't', ' ' }); 214 header.putInt(16); // size of fmt chunk 215 header.putShort(WAV_FORMAT_PCM) [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
safe_browsing_store_file.cc | 18 // Header at the front of the main database file. 26 // Header for each chunk in the chunk-accumulation file. 158 // Sanity-check the header against the file's size to make sure our 162 const FileHeader& header) { 168 expected_size += header.add_chunk_count * sizeof(int32); 169 expected_size += header.sub_chunk_count * sizeof(int32); 170 expected_size += header.add_prefix_count * sizeof(SBAddPrefix); 171 expected_size += header.sub_prefix_count * sizeof(SBSubPrefix); 172 expected_size += header.add_hash_count * sizeof(SBAddFullHash); 173 expected_size += header.sub_hash_count * sizeof(SBSubFullHash) 413 FileHeader header; local 500 FileHeader header; local 557 ChunkHeader header; local 619 FileHeader header; local [all...] |