Home
last modified time | relevance | path

Searched +full:- +full:- +full:exit +full:- +full:code (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/third_party/node/deps/npm/test/tap/
Dignore-scripts.js1 var fs = require('graceful-fs')
8 var common = require('../common-tap')
10 // ignore-scripts/package.json has scripts that always exit with non-zero error
17 name: 'ignore-scripts',
20 prepublish: 'exit 123',
21 publish: 'exit 123',
22 postpublish: 'exit 123',
23 preinstall: 'exit 123',
24 install: 'exit 123',
25 postinstall: 'exit 123',
[all …]
Dview.js1 var common = require('../common-tap.js')
13 var t1dir = path.resolve(tmp, 'view-local-no-pkg')
14 var t2dir = path.resolve(tmp, 'view-local-notmine')
15 var t3dir = path.resolve(tmp, 'view-local-mine')
16 var mr = require('npm-registry-mock')
36 name: 'test-repo-url-https',
65 '--registry=' + common.registry,
66 '--global'
67 ], { cwd: t1dir }, function (err, code, stdout, stderr) { argument
69 t.equal(code, 1, 'exit not ok')
[all …]
Drepo.js1 var common = require('../common-tap.js')
2 var mr = require('npm-registry-mock')
29 '--registry=' + common.registry,
30 '--loglevel=silent',
31 '--browser=' + fakeBrowser
32 ], opts, function (err, code, stdout, stderr) { argument
34 t.equal(code, 0, 'exit ok')
44 test('npm repo underscore --json', function (t) {
48 '--json',
49 '--registry=' + common.registry,
[all …]
/third_party/python/Objects/clinic/
Dcodeobject.c.h3 [clinic start generated code]*/
6 "code(argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize,\n"
9 "--\n"
11 "Create a code object. Not for the faint of heart.");
16 PyObject *code, PyObject *consts, PyObject *names,
31 PyObject *code; in code_new() local
43 !_PyArg_NoKeywords("code", kwargs)) { in code_new()
44 goto exit; in code_new()
46 if (!_PyArg_CheckPositional("code", PyTuple_GET_SIZE(args), 14, 16)) { in code_new()
47 goto exit; in code_new()
[all …]
/third_party/python/Lib/test/
Dclinic.test3 [clinic start generated code]*/
4 /*[clinic end generated code: output=da39a3ee5e6b4b0d input=3c81ac2402d06a8b]*/
16 [clinic start generated code]*/
20 "--\n"
40 goto exit;
44 goto exit;
48 goto exit;
54 exit:
61 /*[clinic end generated code: output=a78312d933df9ea1 input=005e6a8a711a869b]*/
70 [clinic start generated code]*/
[all …]
/third_party/python/Modules/clinic/
Dfcntlmodule.c.h3 [clinic start generated code]*/
7 "--\n"
19 "corresponding to the return value of the fcntl call in the C code.");
25 fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg);
32 int code; in fcntl_fcntl() local
36 goto exit; in fcntl_fcntl()
39 goto exit; in fcntl_fcntl()
41 code = _PyLong_AsInt(args[1]); in fcntl_fcntl()
42 if (code == -1 && PyErr_Occurred()) { in fcntl_fcntl()
43 goto exit; in fcntl_fcntl()
[all …]
Dpyexpat.c.h3 [clinic start generated code]*/
7 "--\n"
31 goto exit; in pyexpat_xmlparser_Parse()
35 exit: in pyexpat_xmlparser_Parse()
41 "--\n"
43 "Parse XML data from file-like object.");
62 goto exit; in pyexpat_xmlparser_ParseFile()
66 exit: in pyexpat_xmlparser_ParseFile()
72 "--\n"
90 goto exit; in pyexpat_xmlparser_SetBase()
[all …]
/third_party/python/Python/clinic/
Dimport.c.h3 [clinic start generated code]*/
7 "--\n"
27 "--\n"
31 "This lock should be used by import hooks to ensure thread-safety when importing\n"
48 "--\n"
67 "_fix_co_filename($module, code, path, /)\n"
68 "--\n"
70 "Changes code.co_filename to specify the passed-in file path.\n"
72 " code\n"
73 " Code object to change.\n"
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp1 //===-- UnrollLoopRuntime.cpp - Runtime Loop unrolling utilities ----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements some loop unrolling utilities for loops with run-time
10 // trip counts. See LoopUnroll.cpp for unrolling loops with compile-time
13 // The functions in this file are used to generate extra code when the
14 // run-time trip count modulo the unroll factor is not 0. When this is the
15 // case, we need to generate code to execute these 'left over' iterations.
17 // The current strategy generates an if-then-else sequence prior to the
21 //===----------------------------------------------------------------------===//
[all …]
/third_party/node/deps/npm/lib/utils/
Derror-handler.js3 module.exports.exit = exit
14 var errorMessage = require('./error-message.js')
15 var replaceInfo = require('./replace-info.js')
18 const cacheFile = require('./cache-file.js')
23 …(npm.config.get('cache'), '_logs', (new Date()).toISOString().replace(/[.:]/g, '_') + '-debug.log')
37 process.on('exit', function (code) { argument
52 if (code) itWorked = false
64 if (code) {
65 log.verbose('code', code)
85 // actually exit.
[all …]
/third_party/skia/tools/
Dbuild_command_buffer.py5 # Use of this source code is governed by a BSD-style license that can be
25 parser.add_argument('-c', '--chrome-dir', required=True, help=
27 parser.add_argument('-o', '--output-dir', required=True,
30 parser.add_argument('--make-output-dir', default=False, action='store_true',
32 parser.add_argument('--chrome-out-dir', default='CommandBufferForSkia',
36 parser.add_argument('--extra-gn-args', default='',
39 parser.add_argument('--extra-ninja-args', default='',
42 parser.add_argument('--chrome-revision', default='origin/lkgr',
44 parser.add_argument('--no-sync', action='store_true', default=False,
46 parser.add_argument('--no-hooks', action='store_true', default=False,
[all …]
/third_party/flutter/skia/tools/
Dbuild_command_buffer.py5 # Use of this source code is governed by a BSD-style license that can be
25 parser.add_argument('-c', '--chrome-dir', required=True, help=
27 parser.add_argument('-o', '--output-dir', required=True,
30 parser.add_argument('--make-output-dir', default=False, action='store_true',
32 parser.add_argument('--chrome-out-dir', default='CommandBufferForSkia',
36 parser.add_argument('--extra-gn-args', default='',
39 parser.add_argument('--extra-ninja-args', default='',
42 parser.add_argument('--chrome-revision', default='origin/lkgr',
44 parser.add_argument('--no-sync', action='store_true', default=False,
46 parser.add_argument('--no-hooks', action='store_true', default=False,
[all …]
/third_party/node/deps/npm/node_modules/signal-exit/
DREADME.md1 # signal-exit
3 [![Build Status](https://travis-ci.org/tapjs/signal-exit.png)](https://travis-ci.org/tapjs/signal-e…
4 …(https://coveralls.io/repos/tapjs/signal-exit/badge.svg?branch=master)](https://coveralls.io/r/tap…
5 …![NPM version](https://img.shields.io/npm/v/signal-exit.svg)](https://www.npmjs.com/package/signal
6 …ields.io/appveyor/ci/bcoe/signal-exit/master.svg?label=Windows%20Tests)](https://ci.appveyor.com/p…
7 …s://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventio…
12 * explicitly having `process.exit(code)` called.
16 Use `signal-exit`.
19 var onExit = require('signal-exit')
21 onExit(function (code, signal) {
[all …]
/third_party/node/test/parallel/
Dtest-trace-exit.js8 const variant = process.argv[process.argv.length - 1];
10 case variant === 'main-thread': {
13 case variant === 'main-thread-exit': {
14 return process.exit(0);
16 case variant.startsWith('worker-thread'): {
19 worker.on('exit', common.mustCall((code) => {
20 assert.strictEqual(code, 0);
25 if (workerData === 'worker-thread-exit') {
26 process.exit(0);
34 { execArgv: ['--trace-exit'], variant: 'main-thread-exit', warnings: 1 },
[all …]
Dtest-domain-throw-error-then-throw-from-uncaught-exception-handler.js5 // again, the exit code, signal and error messages are the ones we expect with
6 // and without using --abort-on-uncaught-exception.
20 if (process.execArgv.includes('--abort-on-uncaught-exception')) {
21 // When passing --abort-on-uncaught-exception to the child process,
30 // --abort-on-uncaught-exception was passed, the process did not exit
31 // with exit code RAN_UNCAUGHT_EXCEPTION_HANDLER_EXIT_CODE.
32 process.exit(RAN_UNCAUGHT_EXCEPTION_HANDLER_EXIT_CODE);
34 // On the other hand, when not passing --abort-on-uncaught-exception to
36 // that the proper error message, exit code and signal are the ones we
55 // When _not_ passing --abort-on-uncaught-exception, the process'
[all …]
Dtest-worker-exit-code.js4 // This test checks that Worker has correct exit codes on parent side
11 const { getTestCases } = require('../fixtures/process-exit-code-cases');
21 process.exit(100);
28 const test = (arg, name = 'worker', exit, error = null) => { argument
30 w.on('exit', common.mustCall((code) => {
32 code, exit,
33 `wrong exit for ${arg}-${name}\nexpected:${exit} but got:${code}`);
34 console.log(`ok - ${arg} exited with ${exit}`);
/third_party/flutter/skia/infra/bots/recipe_modules/flavor/resources/
Dwin_run_and_check_log.ps12 # Use of this source code is governed by a BSD-style license that can be
6 # Runs the given command, prints the exit code, and prints any application
8 # return exit code 1; if any crashes, return exit code 2; otherwise, return exit
9 # code 0.
13 $begin = Get-Date
16 & $args[0] $args[1..($args.length - 1)]
20 Write-Host "$($args[0]) exited with status $res"
22 # dm sometimes exits with negative exit codes, e.g. -1073741569, which in some
23 # cases cmd treats as 0. Ensure any non-zero are OK for cmd.
24 if ($res -ne 0) {
[all …]
/third_party/skia/infra/bots/recipe_modules/flavor/resources/
Dwin_run_and_check_log.ps12 # Use of this source code is governed by a BSD-style license that can be
6 # Runs the given command, prints the exit code, and prints any application
8 # return exit code 1; if any crashes, return exit code 2; otherwise, return exit
9 # code 0.
13 $begin = Get-Date
16 & $args[0] $args[1..($args.length - 1)]
20 Write-Host "$($args[0]) exited with status $res"
22 # dm sometimes exits with negative exit codes, e.g. -1073741569, which in some
23 # cases cmd treats as 0. Ensure any non-zero are OK for cmd.
24 if ($res -ne 0) {
[all …]
/third_party/jerryscript/jerry-port/default/
Ddefault-fatal.c7 * http://www.apache.org/licenses/LICENSE-2.0
18 #include "jerryscript-port.h"
19 #include "jerryscript-port-default.h"
38 * Default implementation of jerry_port_fatal. Calls 'abort' if exit code is
39 * non-zero, 'exit' otherwise.
41 void jerry_port_fatal (jerry_fatal_code_t code) /**< cause of error */ in jerry_port_fatal() argument
48 jerry_fatal_handler ((int) code); in jerry_port_fatal()
50 if (code != 0 in jerry_port_fatal()
51 && code != ERR_OUT_OF_MEMORY) in jerry_port_fatal()
56 exit ((int) code); in jerry_port_fatal()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c6 * Copyright (C) 1999-2014, International Business Machines
11 * encoding: UTF-8
15 * created on: 2003-02-06
38 * StringPrep profile file format ------------------------------------
40 * The file format prepared and written here contains a 16-bit trie and a mapping table.
54 * Any Unicode code point from 0 to 0x10ffff can be looked up to get
55 * the trie-word, if any, for that code point. This means that the input
56 * to the lookup are 21-bit unsigned integers, with not all of the
57 * 21-bit range used.
62 * int32_t indexes[_SPREP_INDEX_TOP]; -- _SPREP_INDEX_TOP=16, see enum in sprpimpl.h file
[all …]
/third_party/icu/icu4c/source/tools/gensprep/
Dstore.c6 * Copyright (C) 1999-2014, International Business Machines
11 * encoding: UTF-8
15 * created on: 2003-02-06
39 * StringPrep profile file format ------------------------------------
41 * The file format prepared and written here contains a 16-bit trie and a mapping table.
55 * Any Unicode code point from 0 to 0x10ffff can be looked up to get
56 * the trie-word, if any, for that code point. This means that the input
57 * to the lookup are 21-bit unsigned integers, with not all of the
58 * 21-bit range used.
63 * int32_t indexes[_SPREP_INDEX_TOP]; -- _SPREP_INDEX_TOP=16, see enum in sprpimpl.h file
[all …]
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
Dstore.c6 * Copyright (C) 1999-2014, International Business Machines
11 * encoding: UTF-8
15 * created on: 2003-02-06
39 * StringPrep profile file format ------------------------------------
41 * The file format prepared and written here contains a 16-bit trie and a mapping table.
55 * Any Unicode code point from 0 to 0x10ffff can be looked up to get
56 * the trie-word, if any, for that code point. This means that the input
57 * to the lookup are 21-bit unsigned integers, with not all of the
58 * 21-bit range used.
63 * int32_t indexes[_SPREP_INDEX_TOP]; -- _SPREP_INDEX_TOP=16, see enum in sprpimpl.h file
[all …]
/third_party/python/Doc/library/
D__main__.rst1 :mod:`__main__` --- Top-level code environment
5 :synopsis: The environment where top-level code is run. Covers command-line
6 interfaces, import-time behavior, and ``__name__ == '__main__'``.
8 --------------
12 1. the name of the top-level environment of the program, which can be
19 :ref:`tut-modules` for an introduction.
25 ---------------------------
42 However, if the module is executed in the top-level code environment,
45 What is the "top-level code environment"?
48 ``__main__`` is the name of the environment where top-level code is run.
[all …]
/third_party/node/deps/npm/man/man1/
Dnpm-audit.11 .TH "NPM\-AUDIT" "1" "April 2022" "" ""
3 \fBnpm-audit\fR \- Run a security audit
8 npm audit [\-\-json|\-\-parseable|\-\-audit\-level=(low|moderate|high|critical)]
9 npm audit fix [\-\-force|\-\-package\-lock\-only|\-\-dry\-run]
11 common options: [\-\-production] [\-\-only=(dev|prod)]
30 $ npm audit fix \-\-package\-lock\-only
38 $ npm audit fix \-\-only=prod
42 Have \fBaudit fix\fP install semver\-major updates to toplevel dependencies, not just
43 semver\-compatible ones:
47 $ npm audit fix \-\-force
[all …]
/third_party/freetype/src/cff/
Dcffparse.c7 * Copyright (C) 1996-2022 by
42 FT_UInt code, in cff_parser_init() argument
49 FT_Memory memory = library->memory; /* for FT_NEW_ARRAY */ in cff_parser_init()
56 parser->top = parser->stack; in cff_parser_init()
58 parser->object_code = code; in cff_parser_init()
59 parser->object = object; in cff_parser_init()
60 parser->library = library; in cff_parser_init()
61 parser->num_designs = num_designs; in cff_parser_init()
62 parser->num_axes = num_axes; in cff_parser_init()
65 if ( FT_QNEW_ARRAY( parser->stack, stackSize ) ) in cff_parser_init()
[all …]

12345678910>>...44