Searched refs:startPos (Results 1 – 2 of 2) sorted by relevance
| /developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/ |
| D | HapUtils.java | 383 private static ByteBuffer sliceBuffer(ByteBuffer source, int startPos, int endPos) { in sliceBuffer() argument 385 if (startPos < 0 || endPos < startPos || endPos > capacity) { in sliceBuffer() 387 "startPos: " + startPos + ", endPos: " + endPos + ", capacity: " + capacity); in sliceBuffer() 394 source.position(startPos); in sliceBuffer() 412 …public static ByteBuffer reverseSliceBuffer(ByteBuffer hapSigningBlock, int startPos, int endPos) { in reverseSliceBuffer() argument 413 ByteBuffer header = HapUtils.sliceBuffer(hapSigningBlock, startPos, endPos); in reverseSliceBuffer()
|
| /developtools/hdc/src/common/ |
| D | base.cpp | 1392 string::size_type startPos = 0; in ReplaceAll() local 1393 while ((startPos = str.find(from, startPos)) != string::npos) { in ReplaceAll() 1394 str.replace(startPos, from.length(), to); in ReplaceAll() 1395 startPos += to.length(); // Handles case where 'to' is a substring of 'from' in ReplaceAll()
|