Home
last modified time | relevance | path

Searched refs:hSize (Results 1 – 5 of 5) sorted by relevance

/external/skia/bench/
DHairlinePathBench.cpp91 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/skia/experimental/nanomsg/
Dpicture_demo.cpp57 static const size_t hSize = sizeof(*header); // It's easy to slip up and use sizeof(header). in recv_picture() local
64 memcpy(header, msg, hSize); in recv_picture()
65 SkMemoryStream stream((uint8_t*)msg + hSize, size - hSize); in recv_picture()
/external/gptfdisk/
Dgpt.cc449 uint32_t oldCRC, newCRC, hSize; in CheckHeaderCRC() local
457 hSize = header->headerSize; in CheckHeaderCRC()
462 if ((hSize > blockSize) || (hSize < HEADER_SIZE)) { in CheckHeaderCRC()
464 cerr << "\aWarning! Header size is specified as " << hSize << ", which is invalid.\n"; in CheckHeaderCRC()
467 hSize = HEADER_SIZE; in CheckHeaderCRC()
468 } else if ((hSize > sizeof(GPTHeader)) && warn) { in CheckHeaderCRC()
469 …cout << "\aCaution! Header size for CRC check is " << hSize << ", which is greater than " << sizeo… in CheckHeaderCRC()
473 temp = new uint8_t[hSize]; in CheckHeaderCRC()
475 memset(temp, 0, hSize); in CheckHeaderCRC()
476 if (hSize < sizeof(GPTHeader)) in CheckHeaderCRC()
[all …]
/external/mdnsresponder/mDNSShared/
DDebugServices.c1196 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/
DDNSCommon.c2857 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()