hdr 64 ext/mbstring/ucgendat/ucgendat.c static ac_uint2 hdr[2] = {0xfeff, 0};
hdr 1349 ext/mbstring/ucgendat/ucgendat.c hdr[1] = NUMPROPS;
hdr 1405 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 1481 ext/mbstring/ucgendat/ucgendat.c hdr[1] = upper_used + lower_used + title_used;
hdr 1488 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 1560 ext/mbstring/ucgendat/ucgendat.c hdr[1] = (ac_uint2) comps_used * 4;
hdr 1561 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 1633 ext/mbstring/ucgendat/ucgendat.c hdr[1] = decomps_used;
hdr 1638 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 1673 ext/mbstring/ucgendat/ucgendat.c (sizeof(ac_uint4) * ((hdr[1] << 1) + 1));
hdr 1726 ext/mbstring/ucgendat/ucgendat.c hdr[1] = kdecomps_used;
hdr 1731 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 1766 ext/mbstring/ucgendat/ucgendat.c (sizeof(ac_uint4) * ((hdr[1] << 1) + 1));
hdr 1810 ext/mbstring/ucgendat/ucgendat.c hdr[1] = ccl_used / 3;
hdr 1815 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 1884 ext/mbstring/ucgendat/ucgendat.c hdr[1] = (ac_uint2) (ncodes_used << 1);
hdr 1890 ext/mbstring/ucgendat/ucgendat.c fwrite((char *) hdr, sizeof(ac_uint2), 2, out);
hdr 203 ext/phar/tar.c tar_header *hdr;
hdr 225 ext/phar/tar.c hdr = (tar_header*)buf;
hdr 226 ext/phar/tar.c old = (memcmp(hdr->magic, "ustar", sizeof("ustar")-1) != 0);
hdr 250 ext/phar/tar.c hdr = (tar_header*) buf;
hdr 251 ext/phar/tar.c sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum));
hdr 255 ext/phar/tar.c memset(hdr->checksum, ' ', sizeof(hdr->checksum));
hdr 259 ext/phar/tar.c phar_tar_number(hdr->size, sizeof(hdr->size));
hdr 262 ext/phar/tar.c if (!old && (hdr->typeflag == TAR_GLOBAL_HDR || hdr->typeflag == TAR_FILE_HDR)) {
hdr 267 ext/phar/tar.c if (((!old && hdr->prefix[0] == 0) || old) && strlen(hdr->name) == sizeof(".phar/signature.bin")-1 && !strncmp(hdr->name, ".phar/signature.bin", sizeof(".phar/signature.bin")-1)) {
hdr 307 ext/phar/tar.c if (((hdr->typeflag == '\0') || (hdr->typeflag == TAR_FILE)) && size > 0) {
hdr 331 ext/phar/tar.c hdr = (tar_header*) buf;
hdr 332 ext/phar/tar.c sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum));
hdr 345 ext/phar/tar.c if (!last_was_longlink && hdr->typeflag == 'L') {
hdr 400 ext/phar/tar.c } else if (!last_was_longlink && !old && hdr->prefix[0] != 0) {
hdr 405 ext/phar/tar.c name[i] = hdr->prefix[i];
hdr 412 ext/phar/tar.c name[i+j] = hdr->name[j];
hdr 430 ext/phar/tar.c if (hdr->name[i] == '\0') {
hdr 435 ext/phar/tar.c entry.filename = pestrndup(hdr->name, i, myphar->is_persistent);
hdr 457 ext/phar/tar.c entry.tar_type = ((old & (hdr->typeflag == '\0')) ? TAR_FILE : hdr->typeflag);
hdr 460 ext/phar/tar.c entry.flags = phar_tar_number(hdr->mode, sizeof(hdr->mode)) & PHAR_ENT_PERM_MASK;
hdr 461 ext/phar/tar.c entry.timestamp = phar_tar_number(hdr->mtime, sizeof(hdr->mtime));
hdr 479 ext/phar/tar.c if (!zend_hash_exists(&myphar->manifest, hdr->linkname, strlen(hdr->linkname))) {
hdr 481 ext/phar/tar.c spprintf(error, 4096, "phar error: \"%s\" is a corrupted tar file - hard link to non-existent file \"%s\"", fname, hdr->linkname);
hdr 488 ext/phar/tar.c entry.link = estrdup(hdr->linkname);
hdr 490 ext/phar/tar.c entry.link = estrdup(hdr->linkname);
hdr 559 ext/phar/tar.c if (((hdr->typeflag == '\0') || (hdr->typeflag == TAR_FILE)) && size > 0) {
hdr 404 ext/soap/php_packet_soap.c sdlSoapBindingFunctionHeaderPtr *hdr;
hdr 412 ext/soap/php_packet_soap.c if (zend_hash_find(hdrs, key.c, key.len+1, (void**)&hdr) == SUCCESS) {
hdr 413 ext/soap/php_packet_soap.c enc = (*hdr)->encode;
hdr 3629 ext/soap/php_sdl.c sdlSoapBindingFunctionHeaderPtr hdr = *((sdlSoapBindingFunctionHeaderPtr*)data);
hdr 3630 ext/soap/php_sdl.c if (hdr->name) {
hdr 3631 ext/soap/php_sdl.c efree(hdr->name);
hdr 3633 ext/soap/php_sdl.c if (hdr->ns) {
hdr 3634 ext/soap/php_sdl.c efree(hdr->ns);
hdr 3636 ext/soap/php_sdl.c if (hdr->headerfaults) {
hdr 3637 ext/soap/php_sdl.c zend_hash_destroy(hdr->headerfaults);
hdr 3638 ext/soap/php_sdl.c efree(hdr->headerfaults);
hdr 3640 ext/soap/php_sdl.c efree(hdr);
hdr 3645 ext/soap/php_sdl.c sdlSoapBindingFunctionHeaderPtr hdr = *((sdlSoapBindingFunctionHeaderPtr*)data);
hdr 3646 ext/soap/php_sdl.c if (hdr->name) {
hdr 3647 ext/soap/php_sdl.c free(hdr->name);
hdr 3649 ext/soap/php_sdl.c if (hdr->ns) {
hdr 3650 ext/soap/php_sdl.c free(hdr->ns);
hdr 3652 ext/soap/php_sdl.c if (hdr->headerfaults) {
hdr 3653 ext/soap/php_sdl.c zend_hash_destroy(hdr->headerfaults);
hdr 3654 ext/soap/php_sdl.c free(hdr->headerfaults);
hdr 3656 ext/soap/php_sdl.c free(hdr);
hdr 44 ext/soap/soap.c sdlSoapBindingFunctionHeaderPtr hdr;
hdr 1787 ext/soap/soap.c if (service->sdl && !h->function && !h->hdr) {
hdr 2075 ext/soap/soap.c doc_return = serialize_response_call(function, NULL, NULL, fault, hdr, soap_version TSRMLS_CC);
hdr 3658 ext/soap/soap.c sdlSoapBindingFunctionHeaderPtr *hdr;
hdr 3669 ext/soap/soap.c if (zend_hash_find(fnb->input.headers, key.c, key.len+1, (void**)&hdr) == SUCCESS) {
hdr 3670 ext/soap/soap.c h->hdr = *hdr;
hdr 3675 ext/soap/soap.c if (h->hdr) {
hdr 3678 ext/soap/soap.c h->parameters[0] = master_to_zval(h->hdr->encode, hdr_func TSRMLS_CC);
hdr 3901 ext/soap/soap.c char *hdr_ns = headers->hdr?headers->hdr->ns:NULL;
hdr 3908 ext/soap/soap.c sdlSoapBindingFunctionHeaderPtr *hdr;
hdr 3923 ext/soap/soap.c if (headers->hdr && headers->hdr->headerfaults &&
hdr 3924 ext/soap/soap.c zend_hash_find(headers->hdr->headerfaults, key.c, key.len+1, (void**)&hdr) == SUCCESS) {
hdr 3925 ext/soap/soap.c hdr_enc = (*hdr)->encode;
hdr 3926 ext/soap/soap.c hdr_use = (*hdr)->use;
hdr 4123 ext/soap/soap.c char *hdr_ns = h->hdr?h->hdr->ns:NULL;
hdr 4130 ext/soap/soap.c sdlSoapBindingFunctionHeaderPtr *hdr;
hdr 4150 ext/soap/soap.c zend_hash_find(fnb->output.headers, key.c, key.len+1, (void**)&hdr) == SUCCESS) {
hdr 4151 ext/soap/soap.c hdr_enc = (*hdr)->encode;
hdr 4152 ext/soap/soap.c hdr_use = (*hdr)->use;
hdr 4365 ext/soap/soap.c sdlSoapBindingFunctionHeaderPtr *hdr;
hdr 4371 ext/soap/soap.c if (zend_hash_find(hdrs, key.c, key.len+1,(void**)&hdr) == SUCCESS) {
hdr 4372 ext/soap/soap.c hdr_use = (*hdr)->use;
hdr 4373 ext/soap/soap.c enc = (*hdr)->encode;
hdr 17924 ext/sqlite3/libsqlite/sqlite3.c } hdr;
hdr 18008 ext/sqlite3/libsqlite/sqlite3.c assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 );
hdr 18010 ext/sqlite3/libsqlite/sqlite3.c size = mem3.aPool[i-1].u.hdr.size4x/4;
hdr 18011 ext/sqlite3/libsqlite/sqlite3.c assert( size==mem3.aPool[i+size-1].u.hdr.prevSize );
hdr 18043 ext/sqlite3/libsqlite/sqlite3.c assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 );
hdr 18044 ext/sqlite3/libsqlite/sqlite3.c size = mem3.aPool[i-1].u.hdr.size4x/4;
hdr 18045 ext/sqlite3/libsqlite/sqlite3.c assert( size==mem3.aPool[i+size-1].u.hdr.prevSize );
hdr 18094 ext/sqlite3/libsqlite/sqlite3.c assert( mem3.aPool[i-1].u.hdr.size4x/4==nBlock );
hdr 18095 ext/sqlite3/libsqlite/sqlite3.c assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock );
hdr 18096 ext/sqlite3/libsqlite/sqlite3.c x = mem3.aPool[i-1].u.hdr.size4x;
hdr 18097 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[i-1].u.hdr.size4x = nBlock*4 | 1 | (x&2);
hdr 18098 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock;
hdr 18099 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[i+nBlock-1].u.hdr.size4x |= 2;
hdr 18123 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = nBlock;
hdr 18124 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x |= 2;
hdr 18125 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[newi-1].u.hdr.size4x = nBlock*4 + 1;
hdr 18127 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[newi-1].u.hdr.prevSize = mem3.szMaster;
hdr 18128 ext/sqlite3/libsqlite/sqlite3.c x = mem3.aPool[mem3.iMaster-1].u.hdr.size4x & 2;
hdr 18129 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x;
hdr 18159 ext/sqlite3/libsqlite/sqlite3.c size = mem3.aPool[i-1].u.hdr.size4x;
hdr 18163 ext/sqlite3/libsqlite/sqlite3.c assert( i > mem3.aPool[i-1].u.hdr.prevSize );
hdr 18164 ext/sqlite3/libsqlite/sqlite3.c prev = i - mem3.aPool[i-1].u.hdr.prevSize;
hdr 18170 ext/sqlite3/libsqlite/sqlite3.c x = mem3.aPool[prev-1].u.hdr.size4x & 2;
hdr 18171 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[prev-1].u.hdr.size4x = size*4 | x;
hdr 18172 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[prev+size-1].u.hdr.prevSize = size;
hdr 18220 ext/sqlite3/libsqlite/sqlite3.c if( mem3.aPool[i-1].u.hdr.size4x/4==nBlock ){
hdr 18281 ext/sqlite3/libsqlite/sqlite3.c assert( (mem3.aPool[i-1].u.hdr.size4x&1)==1 );
hdr 18282 ext/sqlite3/libsqlite/sqlite3.c size = mem3.aPool[i-1].u.hdr.size4x/4;
hdr 18284 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[i-1].u.hdr.size4x &= ~1;
hdr 18285 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[i+size-1].u.hdr.prevSize = size;
hdr 18286 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[i+size-1].u.hdr.size4x &= ~2;
hdr 18291 ext/sqlite3/libsqlite/sqlite3.c while( (mem3.aPool[mem3.iMaster-1].u.hdr.size4x&2)==0 ){
hdr 18292 ext/sqlite3/libsqlite/sqlite3.c size = mem3.aPool[mem3.iMaster-1].u.hdr.prevSize;
hdr 18296 ext/sqlite3/libsqlite/sqlite3.c x = mem3.aPool[mem3.iMaster-1].u.hdr.size4x & 2;
hdr 18297 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x;
hdr 18298 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = mem3.szMaster;
hdr 18300 ext/sqlite3/libsqlite/sqlite3.c x = mem3.aPool[mem3.iMaster-1].u.hdr.size4x & 2;
hdr 18301 ext/sqlite3/libsqlite/sqlite3.c while( (mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x&1)==0 ){
hdr 18303 ext/sqlite3/libsqlite/sqlite3.c mem3.szMaster += mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x/4;
hdr 18304 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x;
hdr 18305 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = mem3.szMaster;
hdr 18319 ext/sqlite3/libsqlite/sqlite3.c assert( (pBlock[-1].u.hdr.size4x&1)!=0 );
hdr 18320 ext/sqlite3/libsqlite/sqlite3.c return (pBlock[-1].u.hdr.size4x&~3)*2 - 4;
hdr 18405 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[0].u.hdr.size4x = (mem3.szMaster<<2) + 2;
hdr 18406 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.nPool].u.hdr.prevSize = mem3.nPool;
hdr 18407 ext/sqlite3/libsqlite/sqlite3.c mem3.aPool[mem3.nPool].u.hdr.size4x = 1;
hdr 18445 ext/sqlite3/libsqlite/sqlite3.c size = mem3.aPool[i-1].u.hdr.size4x;
hdr 18451 ext/sqlite3/libsqlite/sqlite3.c if( (size&1)==0 && mem3.aPool[i+size/4-1].u.hdr.prevSize!=size/4 ){
hdr 18456 ext/sqlite3/libsqlite/sqlite3.c if( ((mem3.aPool[i+size/4-1].u.hdr.size4x&2)>>1)!=(size&1) ){
hdr 18473 ext/sqlite3/libsqlite/sqlite3.c (mem3.aPool[j-1].u.hdr.size4x/4)*8-8);
hdr 18482 ext/sqlite3/libsqlite/sqlite3.c (mem3.aPool[j-1].u.hdr.size4x/4)*8-8);
hdr 49332 ext/sqlite3/libsqlite/sqlite3.c WalIndexHdr hdr; /* Wal-index header for current transaction */
hdr 49550 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.isInit = 1;
hdr 49551 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.iVersion = WALINDEX_MAX_VERSION;
hdr 49552 ext/sqlite3/libsqlite/sqlite3.c walChecksumBytes(1, (u8*)&pWal->hdr, nCksum, 0, pWal->hdr.aCksum);
hdr 49553 ext/sqlite3/libsqlite/sqlite3.c memcpy((void *)&aHdr[1], (void *)&pWal->hdr, sizeof(WalIndexHdr));
hdr 49555 ext/sqlite3/libsqlite/sqlite3.c memcpy((void *)&aHdr[0], (void *)&pWal->hdr, sizeof(WalIndexHdr));
hdr 49579 ext/sqlite3/libsqlite/sqlite3.c u32 *aCksum = pWal->hdr.aFrameCksum;
hdr 49583 ext/sqlite3/libsqlite/sqlite3.c memcpy(&aFrame[8], pWal->hdr.aSalt, 8);
hdr 49585 ext/sqlite3/libsqlite/sqlite3.c nativeCksum = (pWal->hdr.bigEndCksum==SQLITE_BIGENDIAN);
hdr 49606 ext/sqlite3/libsqlite/sqlite3.c u32 *aCksum = pWal->hdr.aFrameCksum;
hdr 49613 ext/sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr.aSalt, &aFrame[8], 8)!=0 ){
hdr 49629 ext/sqlite3/libsqlite/sqlite3.c nativeCksum = (pWal->hdr.bigEndCksum==SQLITE_BIGENDIAN);
hdr 49821 ext/sqlite3/libsqlite/sqlite3.c testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 );
hdr 49822 ext/sqlite3/libsqlite/sqlite3.c testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE );
hdr 49823 ext/sqlite3/libsqlite/sqlite3.c testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 );
hdr 49825 ext/sqlite3/libsqlite/sqlite3.c if( pWal->hdr.mxFrame==0 ) return;
hdr 49831 ext/sqlite3/libsqlite/sqlite3.c assert( pWal->nWiData>walFramePage(pWal->hdr.mxFrame) );
hdr 49832 ext/sqlite3/libsqlite/sqlite3.c assert( pWal->apWiData[walFramePage(pWal->hdr.mxFrame)] );
hdr 49833 ext/sqlite3/libsqlite/sqlite3.c walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &aHash, &aPgno, &iZero);
hdr 49838 ext/sqlite3/libsqlite/sqlite3.c iLimit = pWal->hdr.mxFrame - iZero;
hdr 49988 ext/sqlite3/libsqlite/sqlite3.c memset(&pWal->hdr, 0, sizeof(WalIndexHdr));
hdr 50027 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.bigEndCksum = (u8)(magic&0x00000001);
hdr 50030 ext/sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr.aSalt, &aBuf[16], 8);
hdr 50033 ext/sqlite3/libsqlite/sqlite3.c walChecksumBytes(pWal->hdr.bigEndCksum==SQLITE_BIGENDIAN,
hdr 50034 ext/sqlite3/libsqlite/sqlite3.c aBuf, WAL_HDRSIZE-2*4, 0, pWal->hdr.aFrameCksum
hdr 50036 ext/sqlite3/libsqlite/sqlite3.c if( pWal->hdr.aFrameCksum[0]!=sqlite3Get4byte(&aBuf[24])
hdr 50037 ext/sqlite3/libsqlite/sqlite3.c || pWal->hdr.aFrameCksum[1]!=sqlite3Get4byte(&aBuf[28])
hdr 50076 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.mxFrame = iFrame;
hdr 50077 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.nPage = nTruncate;
hdr 50078 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16));
hdr 50081 ext/sqlite3/libsqlite/sqlite3.c aFrameCksum[0] = pWal->hdr.aFrameCksum[0];
hdr 50082 ext/sqlite3/libsqlite/sqlite3.c aFrameCksum[1] = pWal->hdr.aFrameCksum[1];
hdr 50093 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.aFrameCksum[0] = aFrameCksum[0];
hdr 50094 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.aFrameCksum[1] = aFrameCksum[1];
hdr 50105 ext/sqlite3/libsqlite/sqlite3.c if( pWal->hdr.mxFrame ) pInfo->aReadMark[1] = pWal->hdr.mxFrame;
hdr 50112 ext/sqlite3/libsqlite/sqlite3.c if( pWal->hdr.nPage ){
hdr 50115 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.mxFrame, pWal->zWalName
hdr 50437 ext/sqlite3/libsqlite/sqlite3.c assert( pWal->ckptLock && pWal->hdr.mxFrame>0 );
hdr 50438 ext/sqlite3/libsqlite/sqlite3.c iLast = pWal->hdr.mxFrame;
hdr 50526 ext/sqlite3/libsqlite/sqlite3.c return (pWal->hdr.szPage&0xfe00) + ((pWal->hdr.szPage&0x0001)<<16);
hdr 50549 ext/sqlite3/libsqlite/sqlite3.c u32 *aSalt = pWal->hdr.aSalt; /* Big-endian salt values */
hdr 50551 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.mxFrame = 0;
hdr 50553 ext/sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr.aSalt[1], &salt1, 4);
hdr 50614 ext/sqlite3/libsqlite/sqlite3.c if( pInfo->nBackfill<pWal->hdr.mxFrame ){
hdr 50632 ext/sqlite3/libsqlite/sqlite3.c mxSafeFrame = pWal->hdr.mxFrame;
hdr 50633 ext/sqlite3/libsqlite/sqlite3.c mxPage = pWal->hdr.nPage;
hdr 50645 ext/sqlite3/libsqlite/sqlite3.c assert( y<=pWal->hdr.mxFrame );
hdr 50702 ext/sqlite3/libsqlite/sqlite3.c i64 szDb = pWal->hdr.nPage*(i64)szPage;
hdr 50732 ext/sqlite3/libsqlite/sqlite3.c if( pInfo->nBackfill<pWal->hdr.mxFrame ){
hdr 50737 ext/sqlite3/libsqlite/sqlite3.c assert( pInfo->nBackfill==pWal->hdr.mxFrame );
hdr 50901 ext/sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr, &h1, sizeof(WalIndexHdr)) ){
hdr 50903 ext/sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr, &h1, sizeof(WalIndexHdr));
hdr 50904 ext/sqlite3/libsqlite/sqlite3.c pWal->szPage = (pWal->hdr.szPage&0xfe00) + ((pWal->hdr.szPage&0x0001)<<16);
hdr 50979 ext/sqlite3/libsqlite/sqlite3.c if( badHdr==0 && pWal->hdr.iVersion!=WALINDEX_MAX_VERSION ){
hdr 51111 ext/sqlite3/libsqlite/sqlite3.c if( !useWal && pInfo->nBackfill==pWal->hdr.mxFrame ){
hdr 51118 ext/sqlite3/libsqlite/sqlite3.c if( memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) ){
hdr 51151 ext/sqlite3/libsqlite/sqlite3.c if( mxReadMark<=thisMark && thisMark<=pWal->hdr.mxFrame ){
hdr 51160 ext/sqlite3/libsqlite/sqlite3.c && (mxReadMark<pWal->hdr.mxFrame || mxI==0)
hdr 51165 ext/sqlite3/libsqlite/sqlite3.c mxReadMark = pInfo->aReadMark[i] = pWal->hdr.mxFrame;
hdr 51205 ext/sqlite3/libsqlite/sqlite3.c || memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr))
hdr 51210 ext/sqlite3/libsqlite/sqlite3.c assert( mxReadMark<=pWal->hdr.mxFrame );
hdr 51271 ext/sqlite3/libsqlite/sqlite3.c u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */
hdr 51372 ext/sqlite3/libsqlite/sqlite3.c sz = pWal->hdr.szPage;
hdr 51386 ext/sqlite3/libsqlite/sqlite3.c return pWal->hdr.nPage;
hdr 51429 ext/sqlite3/libsqlite/sqlite3.c if( memcmp(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr))!=0 ){
hdr 51466 ext/sqlite3/libsqlite/sqlite3.c Pgno iMax = pWal->hdr.mxFrame;
hdr 51472 ext/sqlite3/libsqlite/sqlite3.c memcpy(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr));
hdr 51474 ext/sqlite3/libsqlite/sqlite3.c for(iFrame=pWal->hdr.mxFrame+1;
hdr 51492 ext/sqlite3/libsqlite/sqlite3.c if( iMax!=pWal->hdr.mxFrame ) walCleanupHash(pWal);
hdr 51505 ext/sqlite3/libsqlite/sqlite3.c aWalData[0] = pWal->hdr.mxFrame;
hdr 51506 ext/sqlite3/libsqlite/sqlite3.c aWalData[1] = pWal->hdr.aFrameCksum[0];
hdr 51507 ext/sqlite3/libsqlite/sqlite3.c aWalData[2] = pWal->hdr.aFrameCksum[1];
hdr 51521 ext/sqlite3/libsqlite/sqlite3.c assert( aWalData[3]!=pWal->nCkpt || aWalData[0]<=pWal->hdr.mxFrame );
hdr 51532 ext/sqlite3/libsqlite/sqlite3.c if( aWalData[0]<pWal->hdr.mxFrame ){
hdr 51533 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.mxFrame = aWalData[0];
hdr 51534 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.aFrameCksum[0] = aWalData[1];
hdr 51535 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.aFrameCksum[1] = aWalData[2];
hdr 51560 ext/sqlite3/libsqlite/sqlite3.c assert( pInfo->nBackfill==pWal->hdr.mxFrame );
hdr 51695 ext/sqlite3/libsqlite/sqlite3.c pWal, cnt, pWal->hdr.mxFrame, isCommit ? "Commit" : "Spill"));
hdr 51710 ext/sqlite3/libsqlite/sqlite3.c iFrame = pWal->hdr.mxFrame;
hdr 51719 ext/sqlite3/libsqlite/sqlite3.c if( pWal->nCkpt==0 ) sqlite3_randomness(8, pWal->hdr.aSalt);
hdr 51720 ext/sqlite3/libsqlite/sqlite3.c memcpy(&aWalHdr[16], pWal->hdr.aSalt, 8);
hdr 51726 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.bigEndCksum = SQLITE_BIGENDIAN;
hdr 51727 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.aFrameCksum[0] = aCksum[0];
hdr 51728 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.aFrameCksum[1] = aCksum[1];
hdr 51819 ext/sqlite3/libsqlite/sqlite3.c iFrame = pWal->hdr.mxFrame;
hdr 51832 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16));
hdr 51835 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.mxFrame = iFrame;
hdr 51837 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.iChange++;
hdr 51838 ext/sqlite3/libsqlite/sqlite3.c pWal->hdr.nPage = nTruncate;
hdr 51933 ext/sqlite3/libsqlite/sqlite3.c if( pWal->hdr.mxFrame && walPagesize(pWal)!=nBuf ){
hdr 51941 ext/sqlite3/libsqlite/sqlite3.c if( pnLog ) *pnLog = (int)pWal->hdr.mxFrame;
hdr 51953 ext/sqlite3/libsqlite/sqlite3.c memset(&pWal->hdr, 0, sizeof(WalIndexHdr));
hdr 54216 ext/sqlite3/libsqlite/sqlite3.c int hdr; /* Offset to the page header */
hdr 54236 ext/sqlite3/libsqlite/sqlite3.c hdr = pPage->hdrOffset;
hdr 54239 ext/sqlite3/libsqlite/sqlite3.c assert( nCell==get2byte(&data[hdr+3]) );
hdr 54278 ext/sqlite3/libsqlite/sqlite3.c x = get2byte(&data[hdr+5]);
hdr 54285 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+5], cbrk);
hdr 54286 ext/sqlite3/libsqlite/sqlite3.c data[hdr+1] = 0;
hdr 54287 ext/sqlite3/libsqlite/sqlite3.c data[hdr+2] = 0;
hdr 54288 ext/sqlite3/libsqlite/sqlite3.c data[hdr+7] = 0;
hdr 54312 ext/sqlite3/libsqlite/sqlite3.c const int hdr = pPg->hdrOffset;
hdr 54318 ext/sqlite3/libsqlite/sqlite3.c for(iAddr=hdr+1; (pc = get2byte(&aData[iAddr]))>0; iAddr=pc){
hdr 54337 ext/sqlite3/libsqlite/sqlite3.c if( aData[hdr+7]>=60 ){
hdr 54344 ext/sqlite3/libsqlite/sqlite3.c aData[hdr+7] += (u8)x;
hdr 54374 ext/sqlite3/libsqlite/sqlite3.c const int hdr = pPage->hdrOffset; /* Local cache of pPage->hdrOffset */
hdr 54388 ext/sqlite3/libsqlite/sqlite3.c assert( pPage->cellOffset == hdr + 12 - 4*pPage->leaf );
hdr 54396 ext/sqlite3/libsqlite/sqlite3.c top = get2byteNotZero(&data[hdr+5]);
hdr 54406 ext/sqlite3/libsqlite/sqlite3.c if( gap+2<=top && (data[hdr+1] || data[hdr+2]) ){
hdr 54427 ext/sqlite3/libsqlite/sqlite3.c top = get2byteNotZero(&data[hdr+5]);
hdr 54439 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+5], top);
hdr 54461 ext/sqlite3/libsqlite/sqlite3.c u8 hdr; /* Page header size. 0 or 100 */
hdr 54485 ext/sqlite3/libsqlite/sqlite3.c hdr = pPage->hdrOffset;
hdr 54486 ext/sqlite3/libsqlite/sqlite3.c iPtr = hdr + 1;
hdr 54515 ext/sqlite3/libsqlite/sqlite3.c if( iPtr>hdr+1 ){
hdr 54524 ext/sqlite3/libsqlite/sqlite3.c if( nFrag>data[hdr+7] ) return SQLITE_CORRUPT_BKPT;
hdr 54525 ext/sqlite3/libsqlite/sqlite3.c data[hdr+7] -= nFrag;
hdr 54527 ext/sqlite3/libsqlite/sqlite3.c if( iStart==get2byte(&data[hdr+5]) ){
hdr 54531 ext/sqlite3/libsqlite/sqlite3.c if( iPtr!=hdr+1 ) return SQLITE_CORRUPT_BKPT;
hdr 54532 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+1], iFreeBlk);
hdr 54533 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+5], iEnd);
hdr 54617 ext/sqlite3/libsqlite/sqlite3.c u8 hdr; /* Offset to beginning of page header */
hdr 54629 ext/sqlite3/libsqlite/sqlite3.c hdr = pPage->hdrOffset;
hdr 54633 ext/sqlite3/libsqlite/sqlite3.c if( decodeFlags(pPage, data[hdr]) ) return SQLITE_CORRUPT_BKPT;
hdr 54638 ext/sqlite3/libsqlite/sqlite3.c pPage->cellOffset = cellOffset = hdr + 8 + pPage->childPtrSize;
hdr 54644 ext/sqlite3/libsqlite/sqlite3.c top = get2byteNotZero(&data[hdr+5]);
hdr 54647 ext/sqlite3/libsqlite/sqlite3.c pPage->nCell = get2byte(&data[hdr+3]);
hdr 54695 ext/sqlite3/libsqlite/sqlite3.c pc = get2byte(&data[hdr+1]);
hdr 54696 ext/sqlite3/libsqlite/sqlite3.c nFree = data[hdr+7] + top; /* Init nFree to non-freeblock free space */
hdr 54741 ext/sqlite3/libsqlite/sqlite3.c u8 hdr = pPage->hdrOffset;
hdr 54750 ext/sqlite3/libsqlite/sqlite3.c memset(&data[hdr], 0, pBt->usableSize - hdr);
hdr 54752 ext/sqlite3/libsqlite/sqlite3.c data[hdr] = (char)flags;
hdr 54753 ext/sqlite3/libsqlite/sqlite3.c first = hdr + ((flags&PTF_LEAF)==0 ? 12 : 8);
hdr 54754 ext/sqlite3/libsqlite/sqlite3.c memset(&data[hdr+1], 0, 4);
hdr 54755 ext/sqlite3/libsqlite/sqlite3.c data[hdr+7] = 0;
hdr 54756 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+5], pBt->usableSize);
hdr 59052 ext/sqlite3/libsqlite/sqlite3.c int hdr; /* Beginning of the header. 0 most pages. 100 page 1 */
hdr 59063 ext/sqlite3/libsqlite/sqlite3.c hdr = pPage->hdrOffset;
hdr 59064 ext/sqlite3/libsqlite/sqlite3.c testcase( pc==get2byte(&data[hdr+5]) );
hdr 59066 ext/sqlite3/libsqlite/sqlite3.c if( pc < (u32)get2byte(&data[hdr+5]) || pc+sz > pPage->pBt->usableSize ){
hdr 59077 ext/sqlite3/libsqlite/sqlite3.c memset(&data[hdr+1], 0, 4);
hdr 59078 ext/sqlite3/libsqlite/sqlite3.c data[hdr+7] = 0;
hdr 59079 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+5], pPage->pBt->usableSize);
hdr 59084 ext/sqlite3/libsqlite/sqlite3.c put2byte(&data[hdr+3], pPage->nCell);
hdr 59199 ext/sqlite3/libsqlite/sqlite3.c const int hdr = pPg->hdrOffset; /* Offset of header on pPg */
hdr 59208 ext/sqlite3/libsqlite/sqlite3.c i = get2byte(&aData[hdr+5]);
hdr 59228 ext/sqlite3/libsqlite/sqlite3.c put2byte(&aData[hdr+1], 0);
hdr 59229 ext/sqlite3/libsqlite/sqlite3.c put2byte(&aData[hdr+3], pPg->nCell);
hdr 59230 ext/sqlite3/libsqlite/sqlite3.c put2byte(&aData[hdr+5], pData - aData);
hdr 59231 ext/sqlite3/libsqlite/sqlite3.c aData[hdr+7] = 0x00;
hdr 59360 ext/sqlite3/libsqlite/sqlite3.c const int hdr = pPg->hdrOffset;
hdr 59388 ext/sqlite3/libsqlite/sqlite3.c pData = &aData[get2byteNotZero(&aData[hdr+5])];
hdr 59428 ext/sqlite3/libsqlite/sqlite3.c put2byte(&aData[hdr+3], pPg->nCell);
hdr 59429 ext/sqlite3/libsqlite/sqlite3.c put2byte(&aData[hdr+5], pData - aData);
hdr 61036 ext/sqlite3/libsqlite/sqlite3.c int hdr;
hdr 61050 ext/sqlite3/libsqlite/sqlite3.c hdr = pPage->hdrOffset;
hdr 61061 ext/sqlite3/libsqlite/sqlite3.c rc = clearDatabasePage(pBt, get4byte(&pPage->aData[hdr+8]), 1, pnChange);
hdr 61070 ext/sqlite3/libsqlite/sqlite3.c zeroPage(pPage, pPage->aData[hdr] | PTF_LEAF);
hdr 61660 ext/sqlite3/libsqlite/sqlite3.c int hdr, cellStart;
hdr 61810 ext/sqlite3/libsqlite/sqlite3.c hdr = pPage->hdrOffset;
hdr 61816 ext/sqlite3/libsqlite/sqlite3.c int contentOffset = get2byteNotZero(&data[hdr+5]);
hdr 61822 ext/sqlite3/libsqlite/sqlite3.c nCell = get2byte(&data[hdr+3]);
hdr 61825 ext/sqlite3/libsqlite/sqlite3.c cellStart = hdr + 12 - 4*pPage->leaf;
hdr 61845 ext/sqlite3/libsqlite/sqlite3.c i = get2byte(&data[hdr+1]);
hdr 61883 ext/sqlite3/libsqlite/sqlite3.c if( heap[0]==0 && cnt!=data[hdr+7] ){
hdr 61886 ext/sqlite3/libsqlite/sqlite3.c cnt, data[hdr+7], iPage);
hdr 229 ext/standard/mail.c if (!hdr || !strlen(hdr)) {
hdr 235 ext/standard/mail.c if (*hdr < 33 || *hdr > 126 || *hdr == ':') {
hdr 239 ext/standard/mail.c while(*hdr) {
hdr 240 ext/standard/mail.c if (*hdr == '\r') {
hdr 241 ext/standard/mail.c if (*(hdr+1) == '\0' || *(hdr+1) == '\r' || (*(hdr+1) == '\n' && (*(hdr+2) == '\0' || *(hdr+2) == '\n' || *(hdr+2) == '\r'))) {
hdr 245 ext/standard/mail.c hdr += 2;
hdr 247 ext/standard/mail.c } else if (*hdr == '\n') {
hdr 248 ext/standard/mail.c if (*(hdr+1) == '\0' || *(hdr+1) == '\r' || *(hdr+1) == '\n') {
hdr 252 ext/standard/mail.c hdr += 2;
hdr 255 ext/standard/mail.c hdr++;
hdr 276 ext/standard/mail.c char *hdr = headers;
hdr 282 ext/standard/mail.c if (hdr != headers) { \
hdr 283 ext/standard/mail.c efree(hdr); \
hdr 295 ext/standard/mail.c l = spprintf(&tmp, 0, "[%s] mail() on [%s:%d]: To: %s -- Headers: %s\n", date_str, zend_get_executed_filename(TSRMLS_C), zend_get_executed_lineno(TSRMLS_C), to, hdr ? hdr : "");
hdr 299 ext/standard/mail.c if (hdr) {
hdr 325 ext/standard/mail.c spprintf(&hdr, 0, "X-PHP-Originating-Script: %ld:%s\n%s", php_getuid(TSRMLS_C), f, headers);
hdr 327 ext/standard/mail.c spprintf(&hdr, 0, "X-PHP-Originating-Script: %ld:%s", php_getuid(TSRMLS_C), f);
hdr 332 ext/standard/mail.c if (hdr && php_mail_detect_multiple_crlf(hdr)) {
hdr 340 ext/standard/mail.c if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, hdr, subject, to, message, NULL, NULL, NULL TSRMLS_CC) == FAILURE) {
hdr 400 ext/standard/mail.c if (hdr != NULL) {
hdr 401 ext/standard/mail.c fprintf(sendmail, "%s\n", hdr);
hdr 704 ext/standard/url.c zval **prev_val, **hdr = NULL, **h;
hdr 738 ext/standard/url.c while (zend_hash_get_current_data_ex(hashT, (void**)&hdr, &pos) != FAILURE) {
hdr 739 ext/standard/url.c if (!hdr || Z_TYPE_PP(hdr) != IS_STRING) {
hdr 745 ext/standard/url.c add_next_index_stringl(return_value, Z_STRVAL_PP(hdr), Z_STRLEN_PP(hdr), 1);
hdr 750 ext/standard/url.c if ((p = strchr(Z_STRVAL_PP(hdr), ':'))) {
hdr 758 ext/standard/url.c if (zend_hash_find(HASH_OF(return_value), Z_STRVAL_PP(hdr), (p - Z_STRVAL_PP(hdr) + 1), (void **) &prev_val) == FAILURE) {
hdr 759 ext/standard/url.c add_assoc_stringl_ex(return_value, Z_STRVAL_PP(hdr), (p - Z_STRVAL_PP(hdr) + 1), s, (Z_STRLEN_PP(hdr) - (s - Z_STRVAL_PP(hdr))), 1);
hdr 762 ext/standard/url.c add_next_index_stringl(*prev_val, s, (Z_STRLEN_PP(hdr) - (s - Z_STRVAL_PP(hdr))), 1);
hdr 143 main/alloca.c union hdr *next; /* For chaining headers. */
hdr 836 sapi/cgi/fastcgi.c hdr->contentLengthB0 = (unsigned char)(len & 0xff);
hdr 837 sapi/cgi/fastcgi.c hdr->contentLengthB1 = (unsigned char)((len >> 8) & 0xff);
hdr 838 sapi/cgi/fastcgi.c hdr->paddingLength = (unsigned char)pad;
hdr 839 sapi/cgi/fastcgi.c hdr->requestIdB0 = (unsigned char)(req_id & 0xff);
hdr 840 sapi/cgi/fastcgi.c hdr->requestIdB1 = (unsigned char)((req_id >> 8) & 0xff);
hdr 841 sapi/cgi/fastcgi.c hdr->reserved = 0;
hdr 842 sapi/cgi/fastcgi.c hdr->type = type;
hdr 843 sapi/cgi/fastcgi.c hdr->version = FCGI_VERSION_1;
hdr 845 sapi/cgi/fastcgi.c memset(((unsigned char*)hdr) + sizeof(fcgi_header) + len, 0, pad);
hdr 884 sapi/cgi/fastcgi.c fcgi_header hdr;
hdr 895 sapi/cgi/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 896 sapi/cgi/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 900 sapi/cgi/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 901 sapi/cgi/fastcgi.c padding = hdr.paddingLength;
hdr 903 sapi/cgi/fastcgi.c while (hdr.type == FCGI_STDIN && len == 0) {
hdr 904 sapi/cgi/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 905 sapi/cgi/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 909 sapi/cgi/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 910 sapi/cgi/fastcgi.c padding = hdr.paddingLength;
hdr 917 sapi/cgi/fastcgi.c req->id = (hdr.requestIdB1 << 8) + hdr.requestIdB0;
hdr 919 sapi/cgi/fastcgi.c if (hdr.type == FCGI_BEGIN_REQUEST && len == sizeof(fcgi_begin_request)) {
hdr 951 sapi/cgi/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 952 sapi/cgi/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 956 sapi/cgi/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 957 sapi/cgi/fastcgi.c padding = hdr.paddingLength;
hdr 959 sapi/cgi/fastcgi.c while (hdr.type == FCGI_PARAMS && len > 0) {
hdr 974 sapi/cgi/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 975 sapi/cgi/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 979 sapi/cgi/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 980 sapi/cgi/fastcgi.c padding = hdr.paddingLength;
hdr 982 sapi/cgi/fastcgi.c } else if (hdr.type == FCGI_GET_VALUES) {
hdr 1047 sapi/cgi/fastcgi.c fcgi_header hdr;
hdr 1054 sapi/cgi/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 1055 sapi/cgi/fastcgi.c hdr.version < FCGI_VERSION_1 ||
hdr 1056 sapi/cgi/fastcgi.c hdr.type != FCGI_STDIN) {
hdr 1060 sapi/cgi/fastcgi.c req->in_len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 1061 sapi/cgi/fastcgi.c req->in_pad = hdr.paddingLength;
hdr 1323 sapi/cgi/fastcgi.c fcgi_make_header(&rec->hdr, FCGI_END_REQUEST, req->id, sizeof(fcgi_end_request));
hdr 91 sapi/cgi/fastcgi.h fcgi_header hdr;
hdr 105 sapi/cgi/fastcgi.h fcgi_header hdr;
hdr 368 sapi/fpm/fpm/fastcgi.c hdr->contentLengthB0 = (unsigned char)(len & 0xff);
hdr 369 sapi/fpm/fpm/fastcgi.c hdr->contentLengthB1 = (unsigned char)((len >> 8) & 0xff);
hdr 370 sapi/fpm/fpm/fastcgi.c hdr->paddingLength = (unsigned char)pad;
hdr 371 sapi/fpm/fpm/fastcgi.c hdr->requestIdB0 = (unsigned char)(req_id & 0xff);
hdr 372 sapi/fpm/fpm/fastcgi.c hdr->requestIdB1 = (unsigned char)((req_id >> 8) & 0xff);
hdr 373 sapi/fpm/fpm/fastcgi.c hdr->reserved = 0;
hdr 374 sapi/fpm/fpm/fastcgi.c hdr->type = type;
hdr 375 sapi/fpm/fpm/fastcgi.c hdr->version = FCGI_VERSION_1;
hdr 377 sapi/fpm/fpm/fastcgi.c memset(((unsigned char*)hdr) + sizeof(fcgi_header) + len, 0, pad);
hdr 509 sapi/fpm/fpm/fastcgi.c fcgi_header hdr;
hdr 521 sapi/fpm/fpm/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 522 sapi/fpm/fpm/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 526 sapi/fpm/fpm/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 527 sapi/fpm/fpm/fastcgi.c padding = hdr.paddingLength;
hdr 529 sapi/fpm/fpm/fastcgi.c while (hdr.type == FCGI_STDIN && len == 0) {
hdr 530 sapi/fpm/fpm/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 531 sapi/fpm/fpm/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 535 sapi/fpm/fpm/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 536 sapi/fpm/fpm/fastcgi.c padding = hdr.paddingLength;
hdr 543 sapi/fpm/fpm/fastcgi.c req->id = (hdr.requestIdB1 << 8) + hdr.requestIdB0;
hdr 545 sapi/fpm/fpm/fastcgi.c if (hdr.type == FCGI_BEGIN_REQUEST && len == sizeof(fcgi_begin_request)) {
hdr 570 sapi/fpm/fpm/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 571 sapi/fpm/fpm/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 575 sapi/fpm/fpm/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 576 sapi/fpm/fpm/fastcgi.c padding = hdr.paddingLength;
hdr 578 sapi/fpm/fpm/fastcgi.c while (hdr.type == FCGI_PARAMS && len > 0) {
hdr 593 sapi/fpm/fpm/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 594 sapi/fpm/fpm/fastcgi.c hdr.version < FCGI_VERSION_1) {
hdr 598 sapi/fpm/fpm/fastcgi.c len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 599 sapi/fpm/fpm/fastcgi.c padding = hdr.paddingLength;
hdr 601 sapi/fpm/fpm/fastcgi.c } else if (hdr.type == FCGI_GET_VALUES) {
hdr 673 sapi/fpm/fpm/fastcgi.c fcgi_header hdr;
hdr 680 sapi/fpm/fpm/fastcgi.c if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
hdr 681 sapi/fpm/fpm/fastcgi.c hdr.version < FCGI_VERSION_1 ||
hdr 682 sapi/fpm/fpm/fastcgi.c hdr.type != FCGI_STDIN) {
hdr 686 sapi/fpm/fpm/fastcgi.c req->in_len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
hdr 687 sapi/fpm/fpm/fastcgi.c req->in_pad = hdr.paddingLength;
hdr 967 sapi/fpm/fpm/fastcgi.c fcgi_make_header(&rec->hdr, FCGI_END_REQUEST, req->id, sizeof(fcgi_end_request));
hdr 74 sapi/fpm/fpm/fastcgi.h fcgi_header hdr;
hdr 88 sapi/fpm/fpm/fastcgi.h fcgi_header hdr;