Home
last modified time | relevance | path

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

12345678910>>...44

/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/node/test/es-module/
Dtest-esm-tla-unfinished.mjs9 '--no-warnings',
10 '--input-type=module',
11 '--eval',
15 it('should exit for an unsettled TLA promise via --eval', async () => {
16 const { code, stderr, stdout } = await spawnPromisified(execPath, [
23 assert.strictEqual(code, 13);
26 it('should throw for a rejected TLA promise via --eval', async () => {
27 // Rejected TLA promise, --eval
28 const { code, stderr, stdout } = await spawnPromisified(execPath, [
35 assert.strictEqual(code, 1);
[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 …]
D_sre.c.h3 [clinic start generated code]*/
7 "--\n"
23 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_getcodesize()
24 goto exit; in _sre_getcodesize()
28 exit: in _sre_getcodesize()
34 "--\n"
51 if (character == -1 && PyErr_Occurred()) { in _sre_ascii_iscased()
52 goto exit; in _sre_ascii_iscased()
55 if ((_return_value == -1) && PyErr_Occurred()) { in _sre_ascii_iscased()
56 goto exit; in _sre_ascii_iscased()
[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/node/deps/npm/test/lib/utils/
Dexit-handler.js4 const fsMiniPass = require('fs-minipass')
7 const { format } = require('../../../lib/utils/log-file')
8 const { load: loadMockNpm } = require('../../fixtures/mock-npm')
9 const mockGlobals = require('@npmcli/mock-globals')
10 const { cleanCwd, cleanDate } = require('../../fixtures/clean-snapshot')
30 // logfile cleaning is not awaited so it races with the process.exit
38 // have all the functions signal-exit relies on so that it doesn't
42 // these are process properties that are needed in the running code and tests
47 reallyExit: (code) => process.exit(code),
49 exit: (code) => {
[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/
Dexit-handler.js4 const log = require('./log-shim.js')
5 const errorMessage = require('./error-message.js')
6 const replaceInfo = require('./replace-info.js')
12 process.on('exit', code => {
28 if (!code) {
31 log.verbose('code', code)
35 process.exitCode = code || 1
36 log.error('', 'Exit handler never called!')
37 // eslint-disable-next-line no-console
58 const logsMax = npm.config.get('logs-max')
[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/node/test/parallel/
Dtest-child-process-fork-abort-signal.js12 const cp = fork(fixtures.path('child-process-stay-alive-forever.js'), {
15 cp.on('exit', mustCall((code, killSignal) => {
16 strictEqual(code, null);
29 const cp = fork(fixtures.path('child-process-stay-alive-forever.js'), {
32 cp.on('exit', mustCall((code, killSignal) => {
33 strictEqual(code, null);
47 const cp = fork(fixtures.path('child-process-stay-alive-forever.js'), {
50 cp.on('exit', mustCall((code, killSignal) => {
51 strictEqual(code, null);
62 const cp = fork(fixtures.path('child-process-stay-alive-forever.js'), {
[all …]
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-child-process-spawn-controller.js8 const aliveScript = fixtures.path('child-process-stay-alive-forever.js');
18 cp.on('exit', common.mustCall((code, killSignal) => {
19 assert.strictEqual(code, null);
38 cp.on('exit', common.mustCall((code, killSignal) => {
39 assert.strictEqual(code, null);
59 cp.on('exit', common.mustCall((code, killSignal) => {
60 assert.strictEqual(code, null);
73 // Verify that passing an already-aborted signal works.
79 cp.on('exit', common.mustCall((code, killSignal) => {
80 assert.strictEqual(code, null);
[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}`);
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 …]
/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/icu/icu4c/source/tools/gensprep/
Dstore.c6 * Copyright (C) 1999-2014, International Business Machines
11 * encoding: UTF-8
15 * created on: 2003-02-06
40 * StringPrep profile file format ------------------------------------
42 * The file format prepared and written here contains a 16-bit trie and a mapping table.
56 * Any Unicode code point from 0 to 0x10ffff can be looked up to get
57 * the trie-word, if any, for that code point. This means that the input
58 * to the lookup are 21-bit unsigned integers, with not all of the
59 * 21-bit range used.
64 * 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/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/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/third_party/externals/freetype/src/cff/
Dcffparse.c7 * Copyright (C) 1996-2021 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 …]
/third_party/icu/icu4c/source/extra/uconv/
Duconv.1.in1 .\" Hey, Emacs! This is -*-nroff-*- you know...
7 .\" Copyright (C) 2000-2013 IBM, Inc. and others.
11 .TH UCONV 1 "2005-jul-1" "ICU MANPAGE" "ICU @VERSION@ Manual"
14 \- convert data from one encoding to another
21 .BI "\-V\fP, \fB\-\-version"
24 .BI "\-s\fP, \fB\-\-silent"
27 .BI "\-v\fP, \fB\-\-verbose"
30 .BI "\-l\fP, \fB\-\-list"
32 .BI "\-l\fP, \fB\-\-list\-code" " code"
34 .BI "\-\-default-code"
[all …]
/third_party/skia/third_party/externals/icu/source/extra/uconv/
Duconv.1.in1 .\" Hey, Emacs! This is -*-nroff-*- you know...
7 .\" Copyright (C) 2000-2013 IBM, Inc. and others.
11 .TH UCONV 1 "2005-jul-1" "ICU MANPAGE" "ICU @VERSION@ Manual"
14 \- convert data from one encoding to another
21 .BI "\-V\fP, \fB\-\-version"
24 .BI "\-s\fP, \fB\-\-silent"
27 .BI "\-v\fP, \fB\-\-verbose"
30 .BI "\-l\fP, \fB\-\-list"
32 .BI "\-l\fP, \fB\-\-list\-code" " code"
34 .BI "\-\-default-code"
[all …]
/third_party/node/doc/api/
Dprocess.md3 <!-- introduced_in=v0.10.0 -->
5 <!-- type=global -->
7 <!-- source_link=lib/process.js -->
26 <!-- YAML
28 -->
31 no additional work to schedule. Normally, the Node.js process will exit when
40 termination, such as calling [`process.exit()`][] or uncaught exceptions.
42 The `'beforeExit'` should _not_ be used as an alternative to the `'exit'` event
48 process.on('beforeExit', (code) => {
49 console.log('Process beforeExit event with code: ', code);
[all …]

12345678910>>...44