Searched refs:hSize (Results 1 – 5 of 5) sorted by relevance
/external/skia/bench/ |
D | HairlinePathBench.cpp | 91 int hSize = size / 2; in makePath() local 98 int base1 = 2 * rand.nextULessThan(hSize); in makePath() 99 int base2 = 2 * rand.nextULessThan(hSize); in makePath() 100 int base3 = 2 * rand.nextULessThan(hSize); in makePath() 123 int hSize = size / 2; in makePath() local 130 int base1 = 2 * rand.nextULessThan(hSize); in makePath() 131 int base2 = 2 * rand.nextULessThan(hSize); in makePath() 132 int base3 = 2 * rand.nextULessThan(hSize); in makePath() 156 int hSize = size / 2; in makePath() local 163 int base1 = 2 * rand.nextULessThan(hSize); in makePath() [all …]
|
/external/gptfdisk/ |
D | gpt.cc | 454 uint32_t oldCRC, newCRC, hSize; in CheckHeaderCRC() local 462 hSize = header->headerSize; in CheckHeaderCRC() 467 if ((hSize > blockSize) || (hSize < HEADER_SIZE)) { in CheckHeaderCRC() 469 cerr << "\aWarning! Header size is specified as " << hSize << ", which is invalid.\n"; in CheckHeaderCRC() 472 hSize = HEADER_SIZE; in CheckHeaderCRC() 473 } else if ((hSize > sizeof(GPTHeader)) && warn) { in CheckHeaderCRC() 474 …cout << "\aCaution! Header size for CRC check is " << hSize << ", which is greater than " << sizeo… in CheckHeaderCRC() 478 temp = new uint8_t[hSize]; in CheckHeaderCRC() 480 memset(temp, 0, hSize); in CheckHeaderCRC() 481 if (hSize < sizeof(GPTHeader)) in CheckHeaderCRC() [all …]
|
/external/lz4/lib/ |
D | lz4frame.c | 947 size_t const hSize = LZ4F_headerSize(srcBuffer, *srcSizePtr); in LZ4F_getFrameInfo() local 948 if (LZ4F_isError(hSize)) { *srcSizePtr=0; return hSize; } in LZ4F_getFrameInfo() 949 if (*srcSizePtr < hSize) { *srcSizePtr=0; return err0r(LZ4F_ERROR_frameHeader_incomplete); } in LZ4F_getFrameInfo() 951 *srcSizePtr = hSize; in LZ4F_getFrameInfo() 1075 LZ4F_errorCode_t const hSize = LZ4F_decodeHeader(dctxPtr, srcPtr, srcEnd-srcPtr); in LZ4F_decompress() local 1076 if (LZ4F_isError(hSize)) return hSize; in LZ4F_decompress() 1077 srcPtr += hSize; in LZ4F_decompress() 1096 …{ LZ4F_errorCode_t const hSize = LZ4F_decodeHeader(dctxPtr, dctxPtr->header, dctxPtr->tmpInTarge… in LZ4F_decompress() local 1097 if (LZ4F_isError(hSize)) return hSize; in LZ4F_decompress()
|
/external/mdnsresponder/mDNSShared/ |
D | DebugServices.c | 1196 unsigned hSize : 1; in DebugSNPrintFVAList() member 1276 case 'h' : F.hSize = 1; c = *++fmt; goto conv; in DebugSNPrintFVAList() 1308 if (F.hSize) n = (short) n; in DebugSNPrintFVAList() 1327 if (F.hSize) n = (unsigned short) n; in DebugSNPrintFVAList() 1432 if (F.hSize) n = (unsigned short) n; in DebugSNPrintFVAList() 1541 if (F.hSize) err = (short)err; in DebugSNPrintFVAList() 1573 if (F.hSize) * (short *) s = (short)nwritten; in DebugSNPrintFVAList()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 2857 unsigned hSize : 1; member 2932 case 'h' : F.hSize = 1; c = *++fmt; goto conv; in mDNS_vsnprintf() 2938 if (F.hSize) n = (short) n; in mDNS_vsnprintf() 2944 if (F.hSize) n = (unsigned short) n; in mDNS_vsnprintf() 2965 if (F.hSize) n = (unsigned short) n; in mDNS_vsnprintf() 3020 if (F.hSize) n = (unsigned short) n; in mDNS_vsnprintf() 3101 if (F.hSize) * (short *) s = (short)nwritten; in mDNS_vsnprintf()
|