Home
last modified time | relevance | path

Searched refs:hexStr (Results 1 – 6 of 6) sorted by relevance

/external/jetty/src/java/org/eclipse/jetty/util/
DStringUtil.java472 String hexStr = Long.toHexString(Long.parseLong(sidTokens[2])); in sidStringToBytes() local
474 while( hexStr.length() < 12) // pad to 12 characters in sidStringToBytes()
476 hexStr = "0" + hexStr; in sidStringToBytes()
480 for ( int i = 0 ; i < hexStr.length(); i = i + 2) in sidStringToBytes()
482 sidBytes[byteCount++] = (byte)Integer.parseInt(hexStr.substring(i, i + 2),16); in sidStringToBytes()
488 hexStr = Long.toHexString(Long.parseLong(sidTokens[i])); in sidStringToBytes()
490 while( hexStr.length() < 8) // pad to 8 characters in sidStringToBytes()
492 hexStr = "0" + hexStr; in sidStringToBytes()
496 for ( int j = hexStr.length(); j > 0; j = j - 2) in sidStringToBytes()
498 sidBytes[byteCount++] = (byte)Integer.parseInt(hexStr.substring(j-2, j),16); in sidStringToBytes()
/external/fonttools/Lib/fontTools/misc/
DpsLib.py245 hexStr = "".join(token[1:-1].split())
246 if len(hexStr) % 2:
247 hexStr = hexStr + '0'
249 for i in range(0, len(hexStr), 2):
250 cleanstr.append(chr(int(hexStr[i:i+2], 16)))
DxmlWriter.py108 hexline = hexStr(data[i:i+linelength])
179 def hexStr(s): function
DtextTools.py27 def hexStr(data): function
/external/lzma/CPP/7zip/UI/Console/
DList.cpp582 char hexStr[kMaxDataSize * 2 + 4]; in PrintItemInfo() local
583 HexToString(hexStr, (const Byte *)data, dataSize); in PrintItemInfo()
584 g_StdOut << hexStr; in PrintItemInfo()
/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_D_T_.py4 from fontTools.misc.textTools import safeEval, readHex, hexStr, deHexStr
276 writer.simpletag('row', value=hexStr(rowData))