Home
last modified time | relevance | path

Searched refs:txtPtr (Results 1 – 3 of 3) sorted by relevance

/external/skia/tools/
DSkShaper_primitive.cpp50 const char* txtPtr = utf8text; in shape() local
53 runBuffer.clusters[i] = SkToU32(txtPtr - utf8text); in shape()
54 txtPtr += utf8_lead_byte_to_count(txtPtr); in shape()
55 SkASSERT(txtPtr <= utf8text + textBytes); in shape()
/external/skia/src/pdf/
DSkPDFDevice.cpp1172 const char* txtPtr = (const char*)sourceText; in make_clusterator() local
1174 clusters[i] = SkToU32(txtPtr - (const char*)sourceText); in make_clusterator()
1175 txtPtr += SkUTF8_LeadByteToCount(*(const unsigned char*)txtPtr); in make_clusterator()
1176 SkASSERT(txtPtr <= (const char*)sourceText + sourceByteCount); in make_clusterator()
1178 SkASSERT(txtPtr == (const char*)sourceText + sourceByteCount); in make_clusterator()
1188 char* txtPtr = storage->fUtf8textStorage.get(); in make_clusterator() local
1189 utf8Text = txtPtr; in make_clusterator()
1192 clusters[clusterIndex++] = SkToU32(txtPtr - utf8Text); in make_clusterator()
1194 txtPtr += SkUTF8_FromUnichar(uni, txtPtr); in make_clusterator()
1197 SkASSERT(txtPtr == storage->fUtf8textStorage.get() + utf8ByteCount); in make_clusterator()
[all …]
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c4811 mDNSu8 * txtPtr; in SMBRegistrationThread() local
4824 txtPtr = txtBuf; in SMBRegistrationThread()
4828 *txtPtr++ = ( mDNSu8 ) ( keyLen + valLen ); in SMBRegistrationThread()
4829 memcpy( txtPtr, "netbios=", keyLen ); in SMBRegistrationThread()
4830 txtPtr += keyLen; in SMBRegistrationThread()
4831 if ( valLen ) { memcpy( txtPtr, m->p->nbname, valLen ); txtPtr += ( mDNSu8 ) valLen; } in SMBRegistrationThread()
4835 *txtPtr++ = ( mDNSu8 )( keyLen + valLen ); in SMBRegistrationThread()
4836 memcpy( txtPtr, "domain=", keyLen ); in SMBRegistrationThread()
4837 txtPtr += keyLen; in SMBRegistrationThread()
4838 if ( valLen ) { memcpy( txtPtr, m->p->nbdomain, valLen ); txtPtr += valLen; } in SMBRegistrationThread()
[all …]