Home
last modified time | relevance | path

Searched refs:BufferEncoding (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/src/compiler/
Dsys.ts1248 …export type BufferEncoding = "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" … alias
1253 write(str: string, encoding?: BufferEncoding): number;
1254 write(str: string, offset: number, encoding?: BufferEncoding): number;
1255 write(str: string, offset: number, length: number, encoding?: BufferEncoding): number;
1317 …lue: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this;
1318 …indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): numb…
1319 …dexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
1321 …includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean;
/third_party/typescript/tests/baselines/reference/user/
Dnpmlog.log30 …Overload 2 of 2, '(str: string | Uint8Array, encoding?: BufferEncoding | undefined, cb?: ((err?: E…
Dadonis-framework.log53 …): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
Dacorn.log977 …h: PathOrFileDescriptor, options: { encoding: BufferEncoding; flag?: string | undefined; } | Buffe…
979 …Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | (ObjectEncodingOptions &…
991 …h: PathOrFileDescriptor, options: { encoding: BufferEncoding; flag?: string | undefined; } | Buffe…
993 …Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | (ObjectEncodingOptions &…
/third_party/typescript/src/harness/
DharnessUtils.ts8 return Buffer.byteLength(s, encoding as ts.BufferEncoding | undefined);
DvfsUtil.ts654 public readFileSync(path: string, encoding: BufferEncoding): string;
660 public readFileSync(path: string, encoding?: BufferEncoding | null): string | Buffer;
661 …public readFileSync(path: string, encoding: BufferEncoding | null = null) { // eslint-disable-line…
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs6774 * @param encoding { String } The BufferEncoding to use for strings.
6788 * @param encoding { String } The BufferEncoding to use for strings.
7392 … arg1 { Number | String } The number of bytes to read as a String, or the BufferEncoding to use for
7394 …* @param encoding { String } The BufferEncoding to use for the string (Defaults to instance level …
7419 …* @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance e…
7431 … * @param arg2 { Number | String } The offset to write the string at, or the BufferEncoding to use.
7432 …* @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance e…
7442 …* @param encoding { String } The BufferEncoding to use for the string (Defaults to instance level …
7465 … * @param arg2 { Number | String } The offset to write the string to, or the BufferEncoding to use.
7466 …* @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance e…
[all …]