Home
last modified time | relevance | path

Searched refs:code (Results 401 - 425 of 3559) sorted by relevance

1...<<11121314151617181920>>...143

/third_party/node/test/internet/
H A Dtest-corepack-yarn-install.js53 const code = error ? error.code : 0;
56 if (code !== 0) {
61 assert.strictEqual(code, 0, `yarn install got error code ${code}`);
/third_party/node/test/parallel/
H A Dtest-cluster-fork-windowsHide.js28 assert.strictEqual(msg.code, 0);
39 primary.on('exit', common.mustCall((code, signal) => {
40 assert.strictEqual(code, 0);
51 worker.on('exit', (code, signal) => {
52 process.send({ type: 'workerExit', code: code, signal: signal });
H A Dtest-http2-client-onconnect-errors.js31 code: 'ERR_HTTP2_OUT_OF_STREAMS',
41 code: 'ERR_HTTP2_STREAM_SELF_DEPENDENCY',
56 code: 'ERR_HTTP2_ERROR',
87 `${test.error.code} should emit on ${test.type}`
97 code: 'ERR_HTTP2_STREAM_CANCEL'
100 code: 'ERR_HTTP2_ERROR'
H A Dtest-http2-info-headers.js15 /^HTTP status code 101 \(Switching Protocols\) is forbidden in HTTP\/2$/;
23 code: 'ERR_HTTP2_INVALID_INFO_STATUS',
25 message: /^Invalid informational status code: 201$/
30 code: 'ERR_HTTP2_STATUS_101',
38 code: 'ERR_HTTP2_INVALID_PSEUDOHEADER',
55 code: 'ERR_HTTP2_HEADERS_AFTER_RESPOND',
H A Dtest-net-pipe-connect-errors.js51 assert.strictEqual(e.code, 'ENOENT');
64 assert(err.code === 'ENOTSOCK' || err.code === 'ECONNREFUSED',
65 `received ${err.code} instead of ENOTSOCK or ECONNREFUSED`);
75 assert.strictEqual(err.code, 'ENOENT');
93 assert.strictEqual(err.code, 'EACCES');
H A Dtest-npm-install.js55 const code = error ? error.code : 0;
58 if (code !== 0) {
62 assert.strictEqual(code, 0, `npm install got error code ${code}`);
H A Dtest-vm-run-in-new-context.js47 global.code = 'foo = 1;' +
53 const baz = vm.runInNewContext(global.code, global.obj);
78 const code = 'throw new Error("foo");';
81 vm.runInNewContext(code, {}, arg);
86 assert.strictEqual(lines[1].trim(), code);
97 global.code,
H A Dtest-url-fileurltopath.js9 code: 'ERR_INVALID_ARG_TYPE'
19 code: 'ERR_INVALID_URL_SCHEME'
29 code: 'ERR_INVALID_FILE_URL_HOST'
37 code: 'ERR_INVALID_FILE_URL_PATH'
40 code: 'ERR_INVALID_FILE_URL_PATH'
43 code: 'ERR_INVALID_FILE_URL_PATH'
47 code: 'ERR_INVALID_FILE_URL_PATH'
94 // Euro sign (BMP code point)
96 // Rocket emoji (non-BMP code point)
141 // Euro sign (BMP code poin
[all...]
/third_party/libinput/udev/
H A Dlibinput-fuzz-extract.c69 ARRAY_FOR_EACH(axes, code) { in handle_absfuzz()
72 fuzz = libevdev_get_abs_fuzz(evdev, *code); in handle_absfuzz()
74 printf("LIBINPUT_FUZZ_%02x=%d\n", *code, fuzz); in handle_absfuzz()
95 ARRAY_FOR_EACH(axes, code) { in handle_evdev_abs()
101 snprintf(name, sizeof(name), "EVDEV_ABS_%02X", *code); in handle_evdev_abs()
108 printf("LIBINPUT_FUZZ_%02x=%d\n", *code, abs.fuzz); in handle_evdev_abs()
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/
H A Dmapping_file_provider_test.cc30 #define COUNTRY_LANGUAGES(code, languagelist) \
31 const char* country_languages_##code[] = languagelist; \
32 const CountryLanguages country_##code = { \
33 country_languages_##code, \
34 sizeof(country_languages_##code) / sizeof(*country_languages_##code), \
/third_party/skia/bench/
H A DBenchmark.h4 * Use of this source code is governed by a BSD-style license that can be
16 #define DEF_BENCH3(code, N) \
17 static BenchRegistry gBench##N([](void*) -> Benchmark* { code; });
18 #define DEF_BENCH2(code, N) DEF_BENCH3(code, N)
19 #define DEF_BENCH(code) DEF_BENCH2(code, __COUNTER__)
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Daesni-mb-x86_64.pl108 $code.=<<___;
119 $code.=<<___ if ($avx);
129 $code.=<<___;
145 $code.=<<___ if ($win64);
158 $code.=<<___;
182 $code.=<<___;
196 $code.=<<___;
238 $code.=<<___;
249 $code.=<<___;
363 $code
[all...]
/third_party/openssl/crypto/aes/asm/
H A Daesni-mb-x86_64.pl108 $code.=<<___;
119 $code.=<<___ if ($avx);
129 $code.=<<___;
145 $code.=<<___ if ($win64);
158 $code.=<<___;
182 $code.=<<___;
196 $code.=<<___;
238 $code.=<<___;
249 $code.=<<___;
363 $code
[all...]
/third_party/ffmpeg/libavformat/
H A Disom.c2 * ISO Media common code
96 /* deprecated by putting the code as 3*5 bits ASCII */
241 int i, code = 0; in ff_mov_iso639_to_lang() local
260 code <<= 5; in ff_mov_iso639_to_lang()
261 code |= c; in ff_mov_iso639_to_lang()
263 return code; in ff_mov_iso639_to_lang()
266 int ff_mov_lang_to_iso639(unsigned code, char to[4]) in ff_mov_lang_to_iso639() argument
270 /* is it the mangled iso code? */ in ff_mov_lang_to_iso639()
272 if (code >= 0x400 && code ! in ff_mov_lang_to_iso639()
[all...]
/third_party/libsnd/src/
H A Dtest_nms_adpcm.c247 unsigned char code ; in test_nms_adpcm_32() local
260 code = nms_adpcm_encode_sample (&nms, sl) ; in test_nms_adpcm_32()
261 if (code != buffer [j]) in test_nms_adpcm_32()
263 i * NMS_SAMPLES_PER_BLOCK + j, i, j, buffer [j], code) ; in test_nms_adpcm_32()
275 { /* Unpack the code */ in test_nms_adpcm_32()
298 unsigned char code ; in test_nms_adpcm_24() local
312 code = nms_adpcm_encode_sample (&nms, sl) ; in test_nms_adpcm_24()
313 if (code != buffer [j]) in test_nms_adpcm_24()
315 i * NMS_SAMPLES_PER_BLOCK + j, i, j, buffer [j], code) ; in test_nms_adpcm_24()
328 { /* Unpack the code */ in test_nms_adpcm_24()
349 unsigned char code ; test_nms_adpcm_16() local
[all...]
/third_party/node/test/js-native-api/test_error/
H A Dtest_error.c112 napi_value code; in createErrorCode() local
116 env, "ERR_TEST_CODE", NAPI_AUTO_LENGTH, &code)); in createErrorCode()
117 NODE_API_CALL(env, napi_create_error(env, code, message, &result)); in createErrorCode()
124 napi_value code; in createRangeErrorCode() local
129 env, "ERR_TEST_CODE", NAPI_AUTO_LENGTH, &code)); in createRangeErrorCode()
130 NODE_API_CALL(env, napi_create_range_error(env, code, message, &result)); in createRangeErrorCode()
137 napi_value code; in createTypeErrorCode() local
142 env, "ERR_TEST_CODE", NAPI_AUTO_LENGTH, &code)); in createTypeErrorCode()
143 NODE_API_CALL(env, napi_create_type_error(env, code, message, &result)); in createTypeErrorCode()
150 napi_value code; in createSyntaxErrorCode() local
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dfunction-compiler.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "src/diagnostics/code-tracer.h"
18 #include "src/wasm/wasm-code-manager.h"
75 base::Vector<const uint8_t> code = wire_bytes_storage->GetCode(func->code); in ExecuteFunctionCompilation() local
76 wasm::FunctionBody func_body{func->sig, func->code.offset(), code.begin(), in ExecuteFunctionCompilation()
77 code.end()}; in ExecuteFunctionCompilation()
115 // cover different code paths in Liftoff for testing. in ExecuteFunctionCompilation()
157 FunctionBody function_body{function->sig, function->code in CompileWasmFunction()
242 Handle<Code> code = job_->compilation_info()->code(); Finalize() local
[all...]
/third_party/libinput/src/
H A Dutil-prop-parsers.c306 int type, code; in parse_evcode_string() local
313 code = EVENT_CODE_UNDEFINED; in parse_evcode_string()
332 code = libevdev_event_code_from_name(type, s); in parse_evcode_string()
333 if (code == -1) in parse_evcode_string()
344 *code_out = code; in parse_evcode_string()
352 * type OR a named event code OR a tuple in the form of EV_KEY:0x123, i.e. a
353 * named event type followed by a hex event code.
360 * The results are returned as input events with type and code set, all
361 * other fields undefined. Where only the event type is specified, the code
395 int type, code; in parse_evcode_property() local
[all...]
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dhuffman_encode_utils.c3 // Use of this source code is governed by a BSD-style license
33 // 1) Let's make the Huffman code more compatible with rle encoding. in OptimizeHuffmanForRle()
45 // with an rle code. in OptimizeHuffmanForRle()
266 tokens->code = value; in CodeRepeatedValues()
275 tokens->code = value; in CodeRepeatedValues()
281 tokens->code = 16; in CodeRepeatedValues()
286 tokens->code = 16; in CodeRepeatedValues()
301 tokens->code = 0; // 0-value in CodeRepeatedZeros()
307 tokens->code = 17; in CodeRepeatedZeros()
312 tokens->code in CodeRepeatedZeros()
391 uint32_t code = 0; ConvertBitDepthsToSymbols() local
[all...]
/third_party/skia/gm/
H A Dtessellation.cpp4 * Use of this source code is governed by a BSD-style license that can be
94 SkString code(versionAndExtensionDecls);
95 code.append(R"(
107 return code;
114 SkString code(versionAndExtensionDecls);
115 code.append(R"(
149 return code;
210 SkString code(versionAndExtensionDecls);
211 code.append(R"(
227 return code;
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/
H A Dnative.cpp26 /// Generate code using an arbitrary LLVM back-end capable of emitting
27 /// executable code as an ELF object file.
51 get(const std::vector<char> &code) { in get() argument
56 return { elf_memory(const_cast<char *>(code.data()), code.size()), in get()
99 get_symbol_offsets(const std::vector<char> &code, std::string &r_log) { in get_symbol_offsets() argument
100 const auto elf = elf::get(code); in get_symbol_offsets()
149 const auto code = emit_code(mod, target, in build_module_native() local
151 return build_module_common(mod, code, get_symbol_offsets(code, r_lo in build_module_native()
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dreglist-arm64.h2 // Use of this source code is governed by a BSD-style license that can be
29 : list_(((uint64_t{1} << reg0.code()) | ... | in CPURegList()
30 (regs.is_valid() ? uint64_t{1} << regs.code() : 0))),
85 // Variants of Combine and Remove which take a single register by its code;
87 void Combine(int code);
88 void Remove(int code);
114 list |= (uint64_t{1} << other1.code()); in IncludesAliasOf()
117 list |= (uint64_t{1} << other2.code()); in IncludesAliasOf()
120 list |= (uint64_t{1} << other3.code()); in IncludesAliasOf()
123 list |= (uint64_t{1} << other4.code()); in IncludesAliasOf()
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Djson_h_generator.py29 /** This code is generated. To make changes, please modify the scripts or the relevant xml **/
128 code = ""
130 code += "/*************************************** Begin prototypes ***********************************/\n"
144 code += "#endif\n"
147 code += "#ifdef %s\n" %(currentExtension)
148 code += "void print_%s(const %s* obj, const char* str, int commaNeeded);\n" %(name, name)
151 code += "#endif\n"
152 code += "/*************************************** End prototypes ***********************************/\n\n"
154 return code
/third_party/elfutils/libdw/
H A Ddwarf_getabbrev.c63 representing the abbreviation code itself. [...] The in __libdw_getabbrev()
64 abbreviation code is followed by another unsigned LEB128 in __libdw_getabbrev()
79 unsigned int code; in __libdw_getabbrev() local
80 get_uleb128 (code, abbrevp, end); in __libdw_getabbrev()
82 /* Check whether this code is already in the hash table. */ in __libdw_getabbrev()
86 || (abb = Dwarf_Abbrev_Hash_find (&cu->abbrev_hash, code)) == NULL) in __libdw_getabbrev()
99 /* A duplicate abbrev code at a different offset, in __libdw_getabbrev()
116 abb->code = code; in __libdw_getabbrev()
153 if (Dwarf_Abbrev_Hash_insert (&cu->abbrev_hash, abb->code, ab in __libdw_getabbrev()
[all...]
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A Dcolors.js135 var code = ansiStyles[nestedStyles[i]];
136 str = code.open + str.replace(code.closeRe, code.open) + code.close;
139 return code.close + match + code.open;

Completed in 14 milliseconds

1...<<11121314151617181920>>...143