• Home
  • Raw
  • Download

Lines Matching full:encoding

128 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown");  in BufferConstructor()
296 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 2); // 2 means the third arg in IndexOf() local
298 if (encoding->IsString()) { in IndexOf()
299 if (!IsValidEncoding(thread, encoding)) { in IndexOf()
302 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in IndexOf()
305 … encodingType = JSAPIFastBuffer::GetEncodingType(JSAPIFastBuffer::GetString(thread, encoding)); in IndexOf()
335 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 2); // 2 means the third arg in Includes() local
337 if (encoding->IsString()) { in Includes()
338 if (!IsValidEncoding(thread, encoding)) { in Includes()
341 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in Includes()
344 … encodingType = JSAPIFastBuffer::GetEncodingType(JSAPIFastBuffer::GetString(thread, encoding)); in Includes()
375 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 2); // 2 means the third arg in LastIndexOf() local
377 if (encoding->IsString()) { in LastIndexOf()
378 if (!IsValidEncoding(thread, encoding)) { in LastIndexOf()
381 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in LastIndexOf()
384 … encodingType = JSAPIFastBuffer::GetEncodingType(JSAPIFastBuffer::GetString(thread, encoding)); in LastIndexOf()
441 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in Fill()
448 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 3); // 3 means the fourth arg in Fill() local
463 if (encoding->IsString()) { in Fill()
464 if (!IsValidEncoding(thread, encoding)) { in Fill()
467 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in Fill()
470 … encodingType = JSAPIFastBuffer::GetEncodingType(JSAPIFastBuffer::GetString(thread, encoding)); in Fill()
496 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in Write()
513 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 3); // 3 means the fourth arg in Write() local
514 if (encoding->IsString()) { in Write()
515 if (!IsValidEncoding(thread, encoding)) { in Write()
518 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in Write()
521 … encodingType = JSAPIFastBuffer::GetEncodingType(JSAPIFastBuffer::GetString(thread, encoding)); in Write()
544 … "Parameter error. The type of \"encoding\" must be BufferEncoding. the encoding code is unknown"); in ToString()