Searched refs:sourceStart (Results 1 – 5 of 5) sorted by relevance
/commonlibrary/ets_utils/js_api_module/buffer/src/ |
D | js_buffer.ts | 223 copy(target: NativeBuffer, targetStart: number, sourceStart: number, sourceEnd: number): number; 224 compare(target: NativeBuffer, targetStart: number, sourceStart: number, length: number): number; 1528 sourceStart: number = 0, sourceEnd: number = this.length): number { 1535 if (sourceStart === null) { 1536 sourceStart = 0; 1544 typeErrorCheck(sourceStart, ['number'], 'sourceStart'); 1550 if (sourceStart >= sourceEnd) { 1556 let length1: number = sourceEnd - sourceStart; variable 1560 let val = this[bufferSymbol].compare(target[bufferSymbol], targetStart, sourceStart, length); 1572 let value1 = +bufData1[i + sourceStart]; [all …]
|
/commonlibrary/ets_utils/js_api_module/buffer/ |
D | js_buffer.h | 71 int Compare(Buffer *tBuf, uint32_t targetStart, uint32_t sourceStart, uint32_t length);
|
D | js_buffer.cpp | 145 int Buffer::Compare(Buffer *tBuf, uint32_t targetStart, uint32_t sourceStart, uint32_t length) in Compare() argument 151 uint8_t *src = this->GetRaw() + this->byteOffset_ + sourceStart; in Compare()
|
D | native_module_buffer.cpp | 769 uint32_t sourceStart = 0; in Copy() local 773 NAPI_CALL(env, napi_get_value_uint32(env, args[2], &sourceStart)); in Copy() 780 uint32_t cLength = sBuf->Copy(targetBuf, targetStart, sourceStart, sourceEnd); in Copy() 794 uint32_t sourceStart = 0; in Compare() local 798 NAPI_CALL(env, napi_get_value_uint32(env, args[2], &sourceStart)); in Compare() 805 int res = sBuf->Compare(targetBuf, targetStart, sourceStart, length); in Compare()
|
/commonlibrary/ets_utils/ |
D | README.md | 245 | compare(target: Buffer \| Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: num… 246 | copy(target: Buffer \| Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number… 752 68、compare(target: Buffer | Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: num… 763 69、copy(target: Buffer | Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number…
|