HomeSort by relevance Sort by last modified time
    Searched full:headerlen (Results 1 - 25 of 48) sorted by null

1 2

  /bootable/recovery/mtdutils/
flash_image.c 72 int headerlen = read(fd, header, sizeof(header)); local
73 if (headerlen <= 0) die("error reading %s header", argv[2]);
85 } else if (checklen == headerlen && !memcmp(header, check, headerlen)) {
99 memset(buf, 0, headerlen);
100 int wrote = mtd_write_data(out, buf, headerlen);
101 if (wrote != headerlen) die("error writing %s", argv[1]);
117 wrote = mtd_write_data(out, header, headerlen);
118 if (wrote != headerlen) die("error re-writing %s", argv[1]);
125 if (lseek(fd, headerlen, SEEK_SET) != headerlen
    [all...]
  /external/chromium_org/net/third_party/nss/ssl/
cmpcert.c 32 int headerlen; local
51 rv = DER_Lengths(&issuerName, &headerlen, (PRUint32 *)&contentlen);
53 compatIssuerName.data = &issuerName.data[headerlen];
54 compatIssuerName.len = issuerName.len - headerlen;
  /external/dropbear/libtomcrypt/src/encauth/ccm/
ccm_memory.c 29 @param headerlen The length of the header (octets)
42 const unsigned char *header, unsigned long headerlen,
57 if (headerlen > 0) {
96 header, headerlen,
143 PAD[x++] = (unsigned char)(((headerlen > 0) ? (1<<6) : 0) |
175 if (headerlen > 0) {
179 if (headerlen < ((1UL<<16) - (1UL<<8))) {
180 PAD[x++] ^= (headerlen>>8) & 255;
181 PAD[x++] ^= headerlen & 255;
185 PAD[x++] ^= (headerlen>>24) & 255
    [all...]
ccm_test.c 30 int headerlen;
139 tests[x].header, tests[x].headerlen,
157 tests[x].header, tests[x].headerlen,
  /external/dropbear/libtomcrypt/src/encauth/eax/
eax_init.c 29 @param headerlen The header length (octets)
35 const unsigned char *header, unsigned long headerlen)
46 if (headerlen > 0) {
102 if (headerlen != 0) {
103 if ((err = omac_process(&eax->headeromac, header, headerlen)) != CRYPT_OK) {
eax_decrypt_verify_memory.c 28 @param headerlen The length of the header (octets)
40 const unsigned char *header, unsigned long headerlen,
73 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
eax_encrypt_authenticate_memory.c 28 @param headerlen The length of the header (octets)
39 const unsigned char *header, unsigned long headerlen,
55 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
eax_test.c 32 headerlen,
230 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen,
255 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen,
  /external/chromium_org/net/third_party/nss/patches/
aesgcm.patch 676 + unsigned int headerLen,
734 + PRINT_BUF(95, (NULL, "frag hash1: header", header, headerLen));
755 + hashObj->update(write_mac_context, header, headerLen);
764 + HMAC_Update(cx, header, headerLen);
773 + rv |= PK11_DigestOp(mac_context, header, headerLen);
786 + unsigned int headerLen,
    [all...]
  /external/ppp/pppd/
fsm.c 348 if (l < HEADERLEN) {
355 if (len < HEADERLEN) {
363 len -= HEADERLEN; /* subtract header length */
403 fsm_sdata(f, CODEREJ, ++f->id, inpacket, len + HEADERLEN);
686 if (len < HEADERLEN) {
771 outp = outpacket_buf + PPP_HDRLEN + HEADERLEN;
774 if( cilen > peer_mru[f->unit] - HEADERLEN )
775 cilen = peer_mru[f->unit] - HEADERLEN;
807 if (datalen > peer_mru[f->unit] - HEADERLEN)
808 datalen = peer_mru[f->unit] - HEADERLEN;
    [all...]
cbcp.c 236 if (plen < HEADERLEN)
242 if (len < HEADERLEN || len > plen)
251 len -= HEADERLEN;
fsm.h 48 #define HEADERLEN 4
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFFont.cpp 69 bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen,
74 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) &&
88 bool parsePFA(const char* src, size_t size, size_t* headerLen,
101 *headerLen = dataPos - src;
121 *hexDataLen = trailerPos - src - *headerLen;
122 *trailerLen = size - *headerLen - *hexDataLen;
153 SkStream* handleType1Stream(SkStream* srcStream, size_t* headerLen,
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) {
203 new SkMemoryStream(*headerLen + *dataLen + *trailerLen);
204 memcpy((char*)result->getAtPos(), src + 6, *headerLen);
    [all...]
  /external/skia/src/pdf/
SkPDFFont.cpp 69 bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen,
74 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) &&
88 bool parsePFA(const char* src, size_t size, size_t* headerLen,
101 *headerLen = dataPos - src;
121 *hexDataLen = trailerPos - src - *headerLen;
122 *trailerLen = size - *headerLen - *hexDataLen;
153 SkStream* handleType1Stream(SkStream* srcStream, size_t* headerLen,
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) {
203 new SkMemoryStream(*headerLen + *dataLen + *trailerLen);
204 memcpy((char*)result->getAtPos(), src + 6, *headerLen);
    [all...]
  /external/chromium_org/third_party/openssl/openssl/ssl/
s3_both.c 747 size_t len,align=0,headerlen; local
750 headerlen = DTLS1_RT_HEADER_LENGTH;
752 headerlen = SSL3_RT_HEADER_LENGTH;
762 + headerlen + align;
789 size_t len,align=0,headerlen; local
792 headerlen = DTLS1_RT_HEADER_LENGTH + 1;
794 headerlen = SSL3_RT_HEADER_LENGTH;
804 + headerlen + align;
810 len += headerlen + align
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_mac.h 113 const unsigned char *header, unsigned long headerlen);
123 const unsigned char *header, unsigned long headerlen,
131 const unsigned char *header, unsigned long headerlen,
205 const unsigned char *header, unsigned long headerlen,
  /external/jhead/
iptc.c 60 char headerLen = 0;
85 headerLen = *pos++; // get header length and move data pointer to the next field
86 pos += headerLen + 1 - (headerLen % 2); // move data pointer to the next field (Header is padded to even length, counting the length byte)
  /external/openssl/ssl/
s3_both.c 747 size_t len,align=0,headerlen; local
750 headerlen = DTLS1_RT_HEADER_LENGTH;
752 headerlen = SSL3_RT_HEADER_LENGTH;
762 + headerlen + align;
789 size_t len,align=0,headerlen; local
792 headerlen = DTLS1_RT_HEADER_LENGTH + 1;
794 headerlen = SSL3_RT_HEADER_LENGTH;
804 + headerlen + align;
810 len += headerlen + align
  /external/skia/tests/
PDFPrimitivesTest.cpp 92 static size_t headerLen = strlen(header);
100 indirectSize == directSize + headerLen + footerLen);
105 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen));
106 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData,
108 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize,
  /external/svox/pico/lib/
picorsrc.c 296 picoos_FileHeader header, picoos_uint32 * headerlen, picoos_File file)
305 status = picoos_readPicoHeader(file, headerlen);
316 *headerlen += 2;
322 *headerlen += hdrlen1;
540 picoos_uint32 headerlen, len,maxlen; local
581 status = readHeader(this, &header, &headerlen, res->file);
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
TestWebServer.java 610 int headerLen = 0;
611 headerLen = parseHeader(is);
612 if (headerLen == -1)
614 nread += headerLen;
615 if (headerLen <= 2) {
  /libcore/support/src/test/java/tests/support/
Support_TestWebServer.java 537 int headerLen = 0;
538 headerLen = parseHeader(is);
539 if (headerLen == -1)
541 nread += headerLen;
542 if (headerLen <= 2) {
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/
rdf-objfmt.c 672 long headerlen, filelen; local
748 headerlen = ftell(f);
749 if (headerlen == -1) {
782 YASM_WRITE_32_L(localbuf, headerlen-14); /* header size */
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glx/
glxext.c 1062 * \param headerLen Size, in bytes, of the header data. It is assumed that
1070 const GLvoid * header, GLint headerLen,
1089 assert(headerLen <= maxSize);
1090 __glXSendLargeChunk(ctx, 1, totalRequests, header, headerLen);
  /external/mesa3d/src/glx/
glxext.c 1062 * \param headerLen Size, in bytes, of the header data. It is assumed that
1070 const GLvoid * header, GLint headerLen,
1089 assert(headerLen <= maxSize);
1090 __glXSendLargeChunk(ctx, 1, totalRequests, header, headerLen);

Completed in 794 milliseconds

1 2