/third_party/cups-filters/cupsfilters/ |
H A D | image-gif.c | 16 * gif_get_code() - Get a LZW code from the file... 293 * 'gif_get_code()' - Get a LZW code from the file... 296 static int /* O - LZW code */ 298 int code_size, /* I - Size of code in bits */ in gif_get_code() 333 * Don't have enough bits to hold the code... in gif_get_code() 539 code, /* Current code */ in gif_read_lzw() local 540 incode; /* Input code */ in gif_read_lzw() 542 code_size, /* Current code size */ in gif_read_lzw() 543 set_code_size, /* Initial code siz in gif_read_lzw() [all...] |
/third_party/libevdev/libevdev/ |
H A D | libevdev-uinput.c | 47 set_abs(const struct libevdev *dev, int fd, unsigned int code) in set_abs() argument 49 const struct input_absinfo *abs = libevdev_get_abs_info(dev, code); in set_abs() 53 abs_setup.code = code; in set_abs() 66 unsigned int code; in set_evbits() local 101 for (code = 0; code <= (unsigned int)max; code++) { in set_evbits() 102 if (!libevdev_has_event_code(dev, type, code)) in set_evbits() 105 rc = ioctl(fd, uinput_bit, code); in set_evbits() 466 libevdev_uinput_write_event(const struct libevdev_uinput *uinput_dev, unsigned int type, unsigned int code, int value) libevdev_uinput_write_event() argument [all...] |
/third_party/python/Modules/cjkcodecs/ |
H A D | _codecs_kr.c | 38 DBCHAR code; in ENCODER() local 50 if (TRYMAP_ENC(cp949, code, c)) in ENCODER() 55 if ((code & 0x8000) == 0) { in ENCODER() 57 OUTBYTE1((code >> 8) | 0x80); in ENCODER() 58 OUTBYTE2((code & 0xFF) | 0x80); in ENCODER() 72 /* All code points in CP949 extension are in unicode in ENCODER() 176 DBCHAR code; in ENCODER() local 188 if (TRYMAP_ENC(cp949, code, c)) in ENCODER() 193 OUTBYTE1((code >> 8) | 0x80); in ENCODER() 194 if (code in ENCODER() 266 DBCHAR code; ENCODER() local [all...] |
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreJstest/hap/entry/src/ohosTest/js/test/ |
H A D | RelationalStoreCustomDir.test.js | 89 console.info(`Get RdbStore failed,code is ${err.code},message is ${err.message}`);
95 console.info(TAG + "Delete RdbStore failed" + err.code + err.message);
255 console.info(TAG + `Get RdbStore failed,code is"+${err.code}+"message is"+${err.message}`)
281 console.info(`Get RdbStore failed,code is ${err.code},message is ${err.message}`);
442 console.info(TAG + `Get RdbStore failed,code is"+${err.code}+"message is"+${err.message}`)
469 console.info(`Get RdbStore failed,code i [all...] |
/third_party/vixl/src/aarch64/ |
H A D | simulator-aarch64.h | 7 // * Redistributions of source code must retain the above copyright notice, 539 // updated lanes for load-and-insert. (That never happens for scalar code, but 1275 // This allows code like: 1282 R RunFrom(const Instruction* code, P... arguments) { in RunFrom() argument 1283 return RunFromStructHelper<R, P...>::Wrapper(this, code, arguments...); in RunFrom() 1289 const Instruction* code, in Wrapper() 1301 simulator->RunFrom(code); in Wrapper() 1310 const Instruction* code, in Wrapper() 1322 simulator->RunFrom(code); in Wrapper() 1507 T ReadRegister(unsigned code, Reg31Mod argument [all...] |
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | error_private.h | 5 * This source code is licensed under the BSD-style license found in the 44 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } in ERR_isError() argument 46 ERR_STATIC ERR_enum ERR_getErrorCode(size_t code) in ERR_getErrorCode() argument 48 if (!ERR_isError(code)) in ERR_getErrorCode() 50 return (ERR_enum)(0 - code); in ERR_getErrorCode()
|
/third_party/nghttp2/src/ |
H A D | quic.h | 42 Error(ErrorType type, uint64_t code) : type(type), code(code) {} in Error() 43 Error() : type(ErrorType::Transport), code(0) {} in Error() 46 uint64_t code; member
|
/third_party/skia/experimental/docs/ |
H A D | utilities.js | 13 function isAlpha(code) { 14 return (code > 64 && code < 91) // upper alpha (A-Z) 15 || (code > 96 && code < 123); // lower alpha (a-z)
|
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/util/ |
H A D | unesc.js | 18 var code = lower.charCodeAt(i); 20 var valid = code >= 97 && code <= 102 || code >= 48 && code <= 57; 21 // https://drafts.csswg.org/css-syntax/#consume-escaped-code-point 22 spaceTerminated = code === 32; 34 // "If this number is zero, or is for a surrogate, or is greater than the maximum allowed code point" 35 // https://drafts.csswg.org/css-syntax/#maximum-allowed-code-point
|
/third_party/node/deps/v8/src/heap/ |
H A D | code-object-registry.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "src/heap/code-object-registry.h" 14 void CodeObjectRegistry::RegisterNewlyAllocatedCodeObject(Address code) { in RegisterNewlyAllocatedCodeObject() argument 18 (code_object_registry_.empty() || code_object_registry_.back() < code); in RegisterNewlyAllocatedCodeObject() 20 code_object_registry_.push_back(code); in RegisterNewlyAllocatedCodeObject() 23 void CodeObjectRegistry::RegisterAlreadyExistingCodeObject(Address code) { in RegisterAlreadyExistingCodeObject() argument 27 DCHECK(code_object_registry_.empty() || code_object_registry_.back() < code); in RegisterAlreadyExistingCodeObject() 28 code_object_registry_.push_back(code); in RegisterAlreadyExistingCodeObject() 63 // The code registry can't be empty, else the code objec in GetCodeObjectStartFromInnerAddress() [all...] |
/third_party/python/Lib/urllib/ |
H A D | error.py | 9 responses, with a status code, headers, and a body. In some contexts, 39 def __init__(self, url, code, msg, hdrs, fp): 40 self.code = code 47 self.__super_init(fp, hdrs, url, code) 50 return 'HTTP Error %s: %s' % (self.code, self.msg) 53 return '<HTTPError %s: %r>' % (self.code, self.msg)
|
/third_party/python/Lib/test/ |
H A D | test_flufl.py | 9 code = "from __future__ import barry_as_FLUFL\n2 {0} 3" 10 compile(code.format('<>'), '<BDFL test>', 'exec', 13 compile(code.format('!='), '<FLUFL test>', 'exec', 26 code = '2 {0} 3' 27 compile(code.format('!='), '<BDFL test>', 'exec') 29 compile(code.format('<>'), '<FLUFL test>', 'exec')
|
/third_party/node/deps/v8/src/codegen/mips/ |
H A D | assembler-mips.cc | 8 // - Redistributions of source code must retain the above copyright notice, 31 // The original source code covered by the above license above has been 60 // If the compiler is allowed to use FPU then we can use FPU too in our code in CpuFeaturesImpliedByCompiler() 79 // code generation. in ProbeImpl() 167 return kNumbers[reg.code()]; in ToNumber() 189 // always the case inside code objects. in IsCodedSpecially() 262 const Instr kPopInstruction = ADDIU | (sp.code() << kRsShift) | 263 (sp.code() << kRtShift) | 266 const Instr kPushInstruction = ADDIU | (sp.code() << kRsShift) | 267 (sp.code() << kRtShif 2216 break_(uint32_t code, bool break_as_stop) break_() argument 2228 stop(uint32_t code) stop() argument 2238 tge(Register rs, Register rt, uint16_t code) tge() argument 2245 tgeu(Register rs, Register rt, uint16_t code) tgeu() argument 2252 tlt(Register rs, Register rt, uint16_t code) tlt() argument 2259 tltu(Register rs, Register rt, uint16_t code) tltu() argument 2266 teq(Register rs, Register rt, uint16_t code) teq() argument 2273 tne(Register rs, Register rt, uint16_t code) tne() argument [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-input.c | 73 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode() 141 usage->code : KEY_RESERVED; in hidinput_getkeycode() 162 usage->code : KEY_RESERVED; in hidinput_setkeycode() 163 usage->code = ke->keycode; in hidinput_setkeycode() 166 set_bit(usage->code, dev->keybit); in hidinput_setkeycode() 167 dbg_hid("Assigned keycode %d to HID usage code %x\n", in hidinput_setkeycode() 168 usage->code, usage->hid); in hidinput_setkeycode() 187 * @code: axis code 199 __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code) in hidinput_calc_abs_res() argument 571 int max = 0, code; hidinput_configure_usage() local 1260 int code; hidinput_handle_scroll() local 1444 hidinput_find_field(struct hid_device *hid, unsigned int type, unsigned int code, struct hid_field **field) hidinput_find_field() argument 1551 hidinput_input_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) hidinput_input_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | maple_keyb.c | 85 int code, keycode; in dc_scan_kbd() local 89 code = i + 224; in dc_scan_kbd() 90 keycode = kbd->keycode[code]; in dc_scan_kbd() 91 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 97 code = kbd->old[i]; in dc_scan_kbd() 98 if (code > 3 && ptr == NULL) { in dc_scan_kbd() 99 keycode = kbd->keycode[code]; in dc_scan_kbd() 101 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 106 code); in dc_scan_kbd() 109 code in dc_scan_kbd() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_rwpf.c | 32 struct v4l2_subdev_mbus_code_enum *code) in vsp1_rwpf_enum_mbus_code() 40 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code() 43 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code() 77 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 78 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format() 79 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 80 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 87 * format code ca in vsp1_rwpf_set_format() 30 vsp1_rwpf_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) vsp1_rwpf_enum_mbus_code() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2.c | 43 * @code : pointer to v4l2_subdev_pad_mbus_code_enum structure 48 struct v4l2_subdev_mbus_code_enum *code) in csi2_enum_mbus_code() 53 while (ic->code) { in csi2_enum_mbus_code() 54 if (i == code->index) { in csi2_enum_mbus_code() 55 code->code = ic->code; in csi2_enum_mbus_code() 98 ic = atomisp_find_in_fmt_conv(ffmt->code); in atomisp_csi2_set_ffmt() 100 actual_ffmt->code = ic->code; in atomisp_csi2_set_ffmt() 46 csi2_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, struct v4l2_subdev_mbus_code_enum *code) csi2_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.c | 32 struct v4l2_subdev_mbus_code_enum *code) in vsp1_rwpf_enum_mbus_code() 40 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code() 43 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code() 79 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format() 80 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format() 81 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format() 82 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format() 89 * format code ca in vsp1_rwpf_set_format() 30 vsp1_rwpf_enum_mbus_code(struct v4l2_subdev *subdev, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) vsp1_rwpf_enum_mbus_code() argument [all...] |
/kernel/linux/linux-6.6/drivers/iio/amplifiers/ |
H A D | ad8366.c | 120 int code, gain = 0; in ad8366_read_raw() local 125 code = st->ch[chan->channel]; in ad8366_read_raw() 129 gain = code * 253 + 4500; in ad8366_read_raw() 132 gain = 15000 - code * 1000; in ad8366_read_raw() 135 gain = 20000 - 31500 + code * 500; in ad8366_read_raw() 138 gain = -1 * code * 500; in ad8366_read_raw() 141 gain = -1 * code * 250; in ad8366_read_raw() 167 int code = 0, gain; in ad8366_write_raw() local 181 code = (gain - 4500) / 253; in ad8366_write_raw() 184 code in ad8366_write_raw() [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | maple_keyb.c | 85 int code, keycode; in dc_scan_kbd() local 89 code = i + 224; in dc_scan_kbd() 90 keycode = kbd->keycode[code]; in dc_scan_kbd() 91 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 97 code = kbd->old[i]; in dc_scan_kbd() 98 if (code > 3 && ptr == NULL) { in dc_scan_kbd() 99 keycode = kbd->keycode[code]; in dc_scan_kbd() 101 input_event(dev, EV_MSC, MSC_SCAN, code); in dc_scan_kbd() 106 code); in dc_scan_kbd() 109 code in dc_scan_kbd() [all...] |
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/ohosTest/js/test/ |
H A D | SignNormalNotAccessBiometricExecute.test.js | 47 console.info(`${args[2]} fail ${e.code}`);
69 console.info("Security_IAM_UserAuthInstance_Func_0042 fail " + e.code);
89 console.info("Security_IAM_UserAuthInstance_Func_0050 fail " + e.code);
90 expect(e.code).assertEqual(201);
110 console.info("Security_IAM_UserAuthInstance_Func_0090 fail " + e.code);
111 expect(e.code).assertEqual(userAuth.UserAuthResultCode.GENERAL_ERROR);
153 console.log('SUB_Security_IAM_authWidget_API_0130 error.code: ' + error.code);
154 expect(error.code).assertEqual(401);
240 console.log('SUB_Security_IAM_authWidget_API_0100 error.code [all...] |
/third_party/backends/backend/pixma/scripts/ |
H A D | pixma_gen_options.py | 273 code = str(osize + 1) 275 code = str(osize) + ' * sizeof(SANE_Word)' 277 code = '0' 279 code = 'sizeof(SANE_Word)' 280 o['code_size'] = code 307 code = ' opt->def.%(code_default)s;\n' 309 code += ' opt->val.%(code_default)s;\n' 311 code += ' opt->val.w = find_string_in_list' \ 313 o['full_code_default'] = code % o 327 code [all...] |
/third_party/node/test/parallel/ |
H A D | test-buffer-writeint.js | 8 code: 'ERR_OUT_OF_RANGE', 41 { code: 'ERR_INVALID_ARG_TYPE' }); 47 { code: 'ERR_OUT_OF_RANGE' }); 92 { code: 'ERR_INVALID_ARG_TYPE' }); 98 { code: 'ERR_OUT_OF_RANGE' }); 154 { code: 'ERR_INVALID_ARG_TYPE' }); 160 { code: 'ERR_OUT_OF_RANGE' }); 189 { code: 'ERR_INVALID_ARG_TYPE' }); 196 code: 'ERR_OUT_OF_RANGE', 207 code [all...] |
/third_party/node/src/ |
H A D | node_errors.h | 30 // a `Local<Value>` containing the TypeError with proper code and message 94 #define V(code, type) \ 96 inline v8::Local<v8::Value> code( \ 99 v8::Local<v8::String> js_code = OneByteString(isolate, #code); \ 106 OneByteString(isolate, "code"), \ 112 inline void THROW_##code( \ 115 code(isolate, format, std::forward<Args>(args)...)); \ 118 inline void THROW_##code( \ 120 THROW_##code(env->isolate(), format, std::forward<Args>(args)...); \ 185 #define V(code, messag [all...] |
/third_party/node/deps/v8/src/codegen/x64/ |
H A D | register-x64.h | 2 // Use of this source code is governed by a BSD-style license that can be 63 bool is_byte_register() const { return code() <= 3; } in is_byte_register() 64 // Return the high bit of the register code as a 0 or 1. Used often 66 int high_bit() const { return code() >> 3; } in high_bit() 67 // Return the 3 low bits of the register code. Used when encoding registers 69 int low_bits() const { return code() & 0x7; } in low_bits() 73 explicit constexpr Register(int code) : RegisterBase(code) {} in Register() argument 187 // Return the high bit of the register code as a 0 or 1. Used often 189 int high_bit() const { return code() >> 196 XMMRegister(int code) XMMRegister() argument 205 from_code(int code) from_code() argument 212 YMMRegister(int code) YMMRegister() argument [all...] |