Home
last modified time | relevance | path

Searched +full:sprintf +full:- +full:js (Results 1 – 25 of 172) sorted by relevance

1234567

/aosp_15_r20/external/skia/experimental/tskit/go/gen_types/
H A Dgen_types.go2 // Use of this source code is governed by a BSD-style license that can be
26 sklog.Fatalf("--input_cpp_dir and --output_namespace_dir must be specified")
123 // Should never happen for valid code - embind wouldn't compile with this.
129 fieldWithType := fmt.Sprintf("%s: %s", match[1], lastTypeAnnotation)
131 fieldWithType = fmt.Sprintf("%s?: %s", match[1], lastTypeAnnotation)
144 constWithType := fmt.Sprintf("readonly %s: %s", match[1], lastTypeAnnotation)
146 constWithType = fmt.Sprintf("readonly %s?: %s", match[1], lastTypeAnnotation)
164 output := fmt.Sprintf(`/// <reference path="embind.d.ts" />
171 output += fmt.Sprintf("\t\t%s\n", ensureSemicolon(export))
176 output += fmt.Sprintf("\t\t%s\n", ensureSemicolon(export))
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/html/template/
Derror.go2 // Use of this source code is governed by a BSD-style
23 // Description is a human-readable description of the problem.
90 // the run-time value of {{.C}} which is not statically known.
99 // ErrEndContext: "... ends in a non-text context: ..."
141 // ErrPartialCharset: "unfinished JS regexp charset in ..."
162 // ErrRangeLoopReentry: "on range loop re-entry: ..."
169 // whether {{.}} is meant to be inside a JS string or in a JS value
179 // /-{{.N}}/i.test(x) ? doThis : doThat();
182 // The example above could produce `var x = 1/-2/i.test(s)...`
184 // could produce `/-2/i.test(s)` in which the first '/' starts a
[all …]
Descape.go2 // Use of this source code is governed by a BSD-style
29 err = &Error{ErrEndContext, nil, name, 0, fmt.Sprintf("ends in a non-text context: %v", c)}
181 // - "esc.x ..." is invalid, since predefined escapers return strings, and
183 // - "... .esc" is invalid, since predefined escapers are global functions,
190 if pos < len(n.Pipe.Cmds)-1 ||
257 // No extra-escaping needed for raw text content.
276 // escaper will be present at p.Cmds[len(p.Cmds)-1]. This precondition is
280 lastCmd := p.Cmds[pipelineLen-1]
306 pipelineLen--
349 // percent-encoding all the reserved characters specified in RFC 3986 Section
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/test/typeparam/
Difaceconv.go4 // Use of this source code is governed by a BSD-style
56 func js[T any](x T) interface{} { func
63 panic(fmt.Sprintf("got %d want %d", got, want))
66 panic(fmt.Sprintf("got %d want %d", got, want))
69 panic(fmt.Sprintf("got %d want %d", got, want))
72 panic(fmt.Sprintf("got %d want %d", got, want))
75 panic(fmt.Sprintf("got %d want %d", got, want))
78 panic(fmt.Sprintf("got %d want %d", got, want))
80 if got, want := js[int](7), []int{7}; got.([]int)[0] != want[0] {
81 panic(fmt.Sprintf("got %d want %d", got, want))
/aosp_15_r20/external/bazelbuild-rules_android/src/tools/ak/res/
H A Dnaming.go7 // http://www.apache.org/licenses/LICENSE-2.0
79 js, err := styleable.JavaName()
89 return fmt.Sprintf("%s_android_%s", js, ja), nil
91 return fmt.Sprintf("%s_%s", js, ja), nil
98 // ParseName will encounter input like ?type:pkg/name - an undocumented, but legal way to specify a
107 …return FullyQualifiedName{}, fmt.Errorf("malformed name %q - can not start with ':' or '/'", unpar…
110 if typeIdx != -1 {
111 if pkgIdx != -1 {
146 if pkgIdx != -1 {
153 fqn.Package = "res-auto"
[all …]
/aosp_15_r20/external/skia/infra/wasm-common/gold/
H A Dwasm_gold_aggregator.go2 // Use of this source code is governed by a BSD-style license that can be
8 // when any test case reports it has output for Gold. See legacy_test_reporter.js
42 … = flag.String("builder", "", "Builder, like 'Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-P…
43 compiledLanguage = flag.String("compiled_language", "wasm", "wasm or asm.js")
45 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested")
52 // Received from the JS side.
73 if strings.Index(*builder, "-GPU-") != -1 {
225 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
228 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
231 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
/aosp_15_r20/external/flatbuffers/
H A Dyarn.lock5 "@babel/code-[email protected]":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db93…
8 …integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH…
12 "@babel/helper-validator-identifier@^7.16.7":
14 …solved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identif…
15 …integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/…
19 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea7…
20 …integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfT…
22 "@babel/helper-validator-identifier" "^7.16.7"
24 js-tokens "^4.0.0"
[all …]
/aosp_15_r20/external/skia/infra/lottiecap/gold/
H A Dlottie-web-aggregator.go2 // Use of this source code is governed by a BSD-style license that can be
7 // This server runs alongside lottiecap.js and istens for POST requests
10 // TODO(kjlubick): Deduplicate with pathkit-aggregator
42 … = flag.String("builder", "", "Builder, like 'Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-P…
43 renderer = flag.String("renderer", "lottie-web", "e.g. lottie-web or skottie")
45 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested")
52 // reportBody is the JSON recieved from the JS side. It represents
211 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
214 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
217 hash = fmt.Sprintf("%x", md5.Sum(i.Pix))
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/driver/
Dconfig.go16 // Filename for file-based output formats, stdout by default.
17 Output string `json:"-"`
24 SourcePath string `json:"-"`
25 TrimPath string `json:"-"`
28 SampleIndex string `json:"-"`
29 DivideBy float64 `json:"-"`
65 NodeCount: -1,
106 // entry for every valid choice for a multi-choice field.
169 js := strings.Split(field.Tag.Get("json"), ",")
170 if len(js) == 0 {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/syscall/js/
Djs_test.go2 // Use of this source code is governed by a BSD-style
5 //go:build js && wasm
9 // - Install Node
10 // - Add /path/to/go/misc/wasm to your $PATH (so that "go test" can find
12 // - GOOS=js GOARCH=wasm go test
14 // See -exec in "go help test", and "go help run" for details.
22 "syscall/js"
26 var dummys = js.Global().Call("eval", `({
42 NegInfinity: -Infinity,
88 if got, want := js.Undefined().String(), "<undefined>"; got != want {
[all …]
/aosp_15_r20/external/skia/modules/canvaskit/npm_build/
H A Dpackage-lock.json2 "name": "canvaskit-wasm",
8 "name": "canvaskit-wasm",
10 "license": "BSD-3-Clause",
12 "@definitelytyped/header-parser": "0.0.121",
18 "node_modules/@definitelytyped/header-parser": {
20 …"resolved": "https://registry.npmjs.org/@definitelytyped/header-parser/-/header-parser-0.0.121.tgz…
21 …"integrity": "sha512-78HY1J+QiwZPXFZQWb9gPQPxAMNg6/1e4gl7gL/8dmd17vVWLi3AGrLJoG8Pn1p8d7MF2rlPw/2AE…
24 "@definitelytyped/typescript-versions": "^0.0.121",
29 "node_modules/@definitelytyped/typescript-versions": {
31 …ed": "https://registry.npmjs.org/@definitelytyped/typescript-versions/-/typescript-versions-0.0.12…
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/trace/traceviewer/
Dmmu.go2 // Use of this source code is governed by a BSD-style
9 // In worst window list, show break-down of GC utilization sources
117 http.Error(w, fmt.Sprintf("failed to produce MMU data: %v", err), http.StatusInternalServerError)
124 quantiles = []float64{0, 1 - .999, 1 - .99, 1 - .95}
140 minEvent, maxEvent := mu[0][0].Time, mu[0][len(mu[0])-1].Time
145 if mu1[len(mu1)-1].Time > maxEvent {
146 maxEvent = mu1[len(mu1)-1].Time
149 if maxMax := time.Duration(maxEvent - minEvent); xMax > maxMax {
157 window := time.Duration(math.Exp(float64(i)/(samples-1)*(logMax-logMin) + logMin))
179 <meta charset="utf-8">
[all …]
/aosp_15_r20/external/e2fsprogs/lib/blkid/
H A Dprobe.c2 * probe.c - identify a block device by its contents, and return a dev
10 * %Begin-Header%
13 * %End-Header%
43 const unsigned char *end = label + len - 1; in figure_label_len()
46 --end; in figure_label_len()
48 return end - label + 1; in figure_label_len()
59 if (!pr->sbbuf) { in get_buffer()
60 pr->sbbuf = malloc(SB_BUFFER_SIZE); in get_buffer()
61 if (!pr->sbbuf) in get_buffer()
63 if (lseek(pr->fd, 0, SEEK_SET) < 0) in get_buffer()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-3289846/tools/scan-build/bin/
Dscan-build8 ##===----------------------------------------------------------------------===##
13 ##===----------------------------------------------------------------------===##
29 my $Prog = "scan-build";
34 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
47 # Command-line/config arguments.
52 HtmlTitle => basename($CurrentDir)." - scan-build results",
66 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag.
72 …OverrideCompiler => 0, # The flag corresponding to the --override-compiler command line optio…
77 ##----------------------------------------------------------------------------##
79 ##----------------------------------------------------------------------------##
[all …]
/aosp_15_r20/external/clang/tools/scan-build/bin/
H A Dscan-build8 ##===----------------------------------------------------------------------===##
13 ##===----------------------------------------------------------------------===##
29 my $Prog = "scan-build";
34 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
47 # Command-line/config arguments.
52 HtmlTitle => basename($CurrentDir)." - scan-build results",
66 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag.
72 …OverrideCompiler => 0, # The flag corresponding to the --override-compiler command line optio…
77 ##----------------------------------------------------------------------------##
79 ##----------------------------------------------------------------------------##
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/pprof/
Dmprof_test.go2 // Use of this source code is governed by a BSD-style
5 //go:build !js
39 pad [32 - unsafe.Sizeof(uintptr(0))]byte
95 legacy: fmt.Sprintf(`%v: %v \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
96 # 0x[0-9,a-f]+ runtime/pprof\.allocatePersistent1K\+0x[0-9,a-f]+ .*runtime/pprof/mprof_test\.go:47
97 # 0x[0-9,a-f]+ runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*runtime/pprof/mprof_test\.go:82
101 legacy: fmt.Sprintf(`0: 0 \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
102 # 0x[0-9,a-f]+ runtime/pprof\.allocateTransient1M\+0x[0-9,a-f]+ .*runtime/pprof/mprof_test.go:24
103 # 0x[0-9,a-f]+ runtime/pprof\.TestMemoryProfiler\+0x[0-9,a-f]+ .*runtime/pprof/mprof_test.go:79
107 legacy: fmt.Sprintf(`0: 0 \[%v: %v\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/link/internal/wasm/
Dasm.go2 // Use of this source code is governed by a BSD-style
64 …reportError := func(err error) { panic(fmt.Sprintf("failed to read WASM import in sym %v: %v", s, …
124 …"runtime.wasmDiv": {Params: []byte{I64, I64}, Results: []byte{I64}}, // x, y -> …
125 …"runtime.wasmTruncS": {Params: []byte{F64}, Results: []byte{I64}}, // x -> int…
126 …"runtime.wasmTruncU": {Params: []byte{F64}, Results: []byte{I64}}, // x -> uin…
127 …"gcWriteBarrier": {Params: []byte{I64}, Results: []byte{I64}}, // #bytes -
128 "runtime.gcWriteBarrier1": {Results: []byte{I64}}, // -> bufptr
129 "runtime.gcWriteBarrier2": {Results: []byte{I64}}, // -> bufptr
130 "runtime.gcWriteBarrier3": {Results: []byte{I64}}, // -> bufptr
131 "runtime.gcWriteBarrier4": {Results: []byte{I64}}, // -> bufptr
[all …]
/aosp_15_r20/external/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/
H A Dperf_puppeteer_render_skps.go2 // Use of this source code is governed by a BSD-style license that can be
37 …ing("benchmark_path", "", "Path to location of the benchmark files (e.g. //tools/perf-puppeteer).")
51 …canvaskitBinPath = flag.String("canvaskit_bin_path", "", "The location of a canvaskit.js and canva…
56 … "If provided, dump a JSON blob of step data to the given file. Prints to stdout if '-' is given.")
92 outputFile := filepath.Join(outputAbsPath, fmt.Sprintf("perf-%s.json", *taskID))
103 return rv, skerr.Fmt("Must provide --git_hash")
106 return rv, skerr.Fmt("Must provide --task_id")
130 // with an unlocked framerate (see --disable-frame-rate-limit and --disable-gpu-vsync in
131 // perf-canvaskit-with-puppeteer.js) and that won't happen if there is already an existing
133 // a non-zero error code) if there isn't already a chrome instance running. We can safely
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/bin/
Dscan-build5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 ##===----------------------------------------------------------------------===##
12 ##===----------------------------------------------------------------------===##
27 my $Prog = "scan-build";
32 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
45 # Command-line/config arguments.
50 HtmlTitle => basename($CurrentDir)." - scan-build results",
67 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag.
73 …OverrideCompiler => 0, # The flag corresponding to the --override-compiler command line option.
79 ##----------------------------------------------------------------------------##
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/bin/
Dscan-build5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 ##===----------------------------------------------------------------------===##
12 ##===----------------------------------------------------------------------===##
27 my $Prog = "scan-build";
32 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
45 # Command-line/config arguments.
50 HtmlTitle => basename($CurrentDir)." - scan-build results",
67 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag.
73 …OverrideCompiler => 0, # The flag corresponding to the --override-compiler command line option.
79 ##----------------------------------------------------------------------------##
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/bin/
Dscan-build5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 ##===----------------------------------------------------------------------===##
12 ##===----------------------------------------------------------------------===##
27 my $Prog = "scan-build";
32 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
45 # Command-line/config arguments.
50 HtmlTitle => basename($CurrentDir)." - scan-build results",
67 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag.
73 …OverrideCompiler => 0, # The flag corresponding to the --override-compiler command line option.
79 ##----------------------------------------------------------------------------##
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/bin/
Dscan-build5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 ##===----------------------------------------------------------------------===##
12 ##===----------------------------------------------------------------------===##
27 my $Prog = "scan-build";
32 my $UseColor = (defined $TERM and $TERM =~ 'xterm-.*color' and -t STDOUT
45 # Command-line/config arguments.
50 HtmlTitle => basename($CurrentDir)." - scan-build results",
67 ConfigOptions => [], # Options to pass through to the analyzer's -analyzer-config flag.
73 …OverrideCompiler => 0, # The flag corresponding to the --override-compiler command line option.
79 ##----------------------------------------------------------------------------##
[all …]
/aosp_15_r20/external/openscreen/osp/go/cmd/
H A Dosp.go2 // Use of this source code is governed by a BSD-style license that can be
10 // Inject JS into viewURL to using .Eval and .Bind to send and receiver presentation connection me…
39 …log.Println(fmt.Sprintf("%s at %s(%s or %s):%d", entry.Instance, entry.HostName, entry.AddrIPv4, e…
46 return fmt.Sprintf("[%s]", ipv6)
50 return fmt.Sprintf("%s", ipv4)
/aosp_15_r20/external/skia/experimental/tskit/
H A Dpackage-lock.json9 "license": "BSD-3-Clause",
11 "@typescript-eslint/eslint-plugin": "^4.21.0",
12 "@typescript-eslint/parser": "^4.21.0",
14 "eslint-config-airbnb-typescript": "^12.3.1",
15 "eslint-plugin-import": "^2.22.1",
19 "node_modules/@babel/code-frame": {
21 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",
22 …"integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETG…
28 "node_modules/@babel/helper-validator-identifier": {
30 …solved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identif…
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/testing/
Drun_example_wasm.go2 // Use of this source code is governed by a BSD-style
5 //go:build js || wasip1
17 // TODO(@musiol, @odeke-em): unify this code back into
18 // example.go when js/wasm gets an os.Pipe implementation.
25 // os.Pipe because it is not supported on js/wasm.
65 name := fmt.Sprintf("%s/go-example-stdout-%s-%d.txt", os.TempDir(), exampleName, i)

1234567