Home
last modified time | relevance | path

Searched refs:pad (Results 1 - 25 of 579) sorted by relevance

12345678910>>...24

/third_party/libinput/src/
H A Devdev-tablet-pad.c25 #include "evdev-tablet-pad.h"
41 pad_get_buttons_pressed(struct pad_dispatch *pad, in pad_get_buttons_pressed() argument
44 struct button_state *state = &pad->button_state; in pad_get_buttons_pressed()
45 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_pressed()
53 pad_get_buttons_released(struct pad_dispatch *pad, in pad_get_buttons_released() argument
56 struct button_state *state = &pad->button_state; in pad_get_buttons_released()
57 struct button_state *prev_state = &pad->prev_button_state; in pad_get_buttons_released()
65 pad_button_is_down(const struct pad_dispatch *pad, in pad_button_is_down() argument
68 return bit_is_set(pad->button_state.bits, button); in pad_button_is_down()
72 pad_any_button_down(const struct pad_dispatch *pad) in pad_any_button_down() argument
85 pad_button_set_down(struct pad_dispatch *pad, uint32_t button, bool is_down) pad_button_set_down() argument
101 pad_process_absolute(struct pad_dispatch *pad, struct evdev_device *device, struct input_event *e, uint64_t time) pad_process_absolute() argument
179 pad_handle_ring(struct pad_dispatch *pad, struct evdev_device *device, unsigned int code) pad_handle_ring() argument
198 pad_handle_strip(struct pad_dispatch *pad, struct evdev_device *device, unsigned int code) pad_handle_strip() argument
220 pad_ring_get_mode_group(struct pad_dispatch *pad, unsigned int ring) pad_ring_get_mode_group() argument
236 pad_strip_get_mode_group(struct pad_dispatch *pad, unsigned int strip) pad_strip_get_mode_group() argument
252 pad_check_notify_axes(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time) pad_check_notify_axes() argument
328 pad_process_key(struct pad_dispatch *pad, struct evdev_device *device, struct input_event *e, uint64_t time) pad_process_key() argument
344 pad_button_get_mode_group(struct pad_dispatch *pad, unsigned int button) pad_button_get_mode_group() argument
360 pad_notify_button_mask(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time, const struct button_state *buttons, enum libinput_button_state state) pad_notify_button_mask() argument
415 pad_notify_buttons(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time, enum libinput_button_state state) pad_notify_buttons() argument
433 struct pad_dispatch *pad = (struct pad_dispatch*)device->dispatch; pad_change_to_left_handed() local
445 pad_flush(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time) pad_flush() argument
484 struct pad_dispatch *pad = pad_dispatch(dispatch); pad_process() local
513 struct pad_dispatch *pad = pad_dispatch(dispatch); pad_suspend() local
528 struct pad_dispatch *pad = pad_dispatch(dispatch); pad_destroy() local
550 pad_init_buttons_from_libwacom(struct pad_dispatch *pad, struct evdev_device *device) pad_init_buttons_from_libwacom() argument
608 pad_init_buttons_from_kernel(struct pad_dispatch *pad, struct evdev_device *device) pad_init_buttons_from_kernel() argument
639 pad_init_keys(struct pad_dispatch *pad, struct evdev_device *device) pad_init_keys() argument
658 pad_init_buttons(struct pad_dispatch *pad, struct evdev_device *device) pad_init_buttons() argument
681 pad_init(struct pad_dispatch *pad, struct evdev_device *device) pad_init() argument
708 struct pad_dispatch *pad = (struct pad_dispatch*)evdev->dispatch; pad_sendevents_set_mode() local
746 struct pad_dispatch *pad; evdev_tablet_pad_create() local
777 struct pad_dispatch *pad = (struct pad_dispatch*)device->dispatch; evdev_device_tablet_pad_get_num_buttons() local
[all...]
H A Devdev-tablet-pad-leds.c29 #include "evdev-tablet-pad.h"
55 pad_mode_toggle_button_new(struct pad_dispatch *pad, in pad_mode_toggle_button_new() argument
171 pad_group_new_basic(struct pad_dispatch *pad, in pad_group_new_basic() argument
178 group->base.device = &pad->device->base; in pad_group_new_basic()
199 pad_group_new(struct pad_dispatch *pad, in pad_group_new() argument
204 struct libinput *libinput = pad->device->base.seat->libinput; in pad_group_new()
208 group = pad_group_new_basic(pad, group_index, nleds); in pad_group_new()
233 if (!is_litest_device(pad->device)) in pad_group_new()
234 evdev_log_error(pad->device, in pad_group_new()
278 pad_init_led_groups(struct pad_dispatch *pad, in pad_init_led_groups() argument
342 pad_get_mode_group(struct pad_dispatch *pad, unsigned int index) pad_get_mode_group() argument
381 pad_init_mode_buttons(struct pad_dispatch *pad, WacomDevice *wacom) pad_init_mode_buttons() argument
438 pad_init_mode_rings(struct pad_dispatch *pad, WacomDevice *wacom) pad_init_mode_rings() argument
465 pad_init_mode_strips(struct pad_dispatch *pad, WacomDevice *wacom) pad_init_mode_strips() argument
492 pad_init_leds_from_libwacom(struct pad_dispatch *pad, struct evdev_device *device) pad_init_leds_from_libwacom() argument
535 pad_init_fallback_group(struct pad_dispatch *pad) pad_init_fallback_group() argument
557 pad_init_leds(struct pad_dispatch *pad, struct evdev_device *device) pad_init_leds() argument
582 pad_destroy_leds(struct pad_dispatch *pad) pad_destroy_leds() argument
612 struct pad_dispatch *pad = (struct pad_dispatch*)device->dispatch; evdev_device_tablet_pad_get_num_mode_groups() local
629 struct pad_dispatch *pad = (struct pad_dispatch*)device->dispatch; evdev_device_tablet_pad_get_mode_group() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Daes-omac1.c16 static void gf_mulx(u8 *pad) in gf_mulx() argument
20 carry = pad[0] & 0x80; in gf_mulx()
22 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); in gf_mulx()
23 pad[AES_BLOCK_SIZE - 1] <<= 1; in gf_mulx()
25 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in gf_mulx()
47 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in omac1_aes_vector() local
89 os_memset(pad, 0, AES_BLOCK_SIZE); in omac1_aes_vector()
90 aes_encrypt(ctx, pad, pa in omac1_aes_vector()
[all...]
H A Daes-siv.c20 static void dbl(u8 *pad) in dbl() argument
24 carry = pad[0] & 0x80; in dbl()
26 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); in dbl()
27 pad[AES_BLOCK_SIZE - 1] <<= 1; in dbl()
29 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in dbl()
54 static void pad_block(u8 *pad, const u8 *addr, size_t len) in pad_block() argument
56 os_memset(pad, 0, AES_BLOCK_SIZE); in pad_block()
57 os_memcpy(pad, add in pad_block()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Daes-omac1.c16 static void gf_mulx(u8 *pad) in gf_mulx() argument
20 carry = pad[0] & 0x80; in gf_mulx()
22 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); in gf_mulx()
23 pad[AES_BLOCK_SIZE - 1] <<= 1; in gf_mulx()
25 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in gf_mulx()
47 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in omac1_aes_vector() local
89 os_memset(pad, 0, AES_BLOCK_SIZE); in omac1_aes_vector()
90 aes_encrypt(ctx, pad, pa in omac1_aes_vector()
[all...]
H A Daes-siv.c20 static void dbl(u8 *pad) in dbl() argument
24 carry = pad[0] & 0x80; in dbl()
26 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); in dbl()
27 pad[AES_BLOCK_SIZE - 1] <<= 1; in dbl()
29 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in dbl()
54 static void pad_block(u8 *pad, const u8 *addr, size_t len) in pad_block() argument
56 os_memset(pad, 0, AES_BLOCK_SIZE); in pad_block()
57 os_memcpy(pad, add in pad_block()
[all...]
/third_party/skia/src/core/
H A DSkBlurMask.cpp403 int pad = profileSize/2; in BlurRect() local
405 margin->set( pad, pad ); in BlurRect()
408 dst->fBounds.setLTRB(SkScalarRoundToInt(src.fLeft - pad), in BlurRect()
409 SkScalarRoundToInt(src.fTop - pad), in BlurRect()
410 SkScalarRoundToInt(src.fRight + pad), in BlurRect()
411 SkScalarRoundToInt(src.fBottom + pad)); in BlurRect()
467 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
477 for (int y = pad ; in BlurRect()
535 int pad = halfWindow; BlurGroundTruth() local
[all...]
/third_party/skia/third_party/externals/oboe/src/flowgraph/
H A DSourceI24.cpp52 int32_t pad = byteData[2]; in onProcess() local
53 pad <<= 8; in onProcess()
54 pad |= byteData[1]; in onProcess()
55 pad <<= 8; in onProcess()
56 pad |= byteData[0]; in onProcess()
57 pad <<= 8; // Shift to 32 bit data so the sign is correct. in onProcess()
59 *floatData++ = pad * scale; // scale to range -1.0 to 1.0 in onProcess()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_rect.h447 int32 pad) in InnerPadRect()
450 rect.l += pad; in InnerPadRect()
451 rect.r -= pad; in InnerPadRect()
452 rect.t += pad; in InnerPadRect()
453 rect.b -= pad; in InnerPadRect()
460 int32 pad) in OuterPadRect()
463 InnerPadRect (rect, -pad); in OuterPadRect()
470 int32 pad) in InnerPadRectH()
473 rect.l += pad; in InnerPadRectH()
474 rect.r -= pad; in InnerPadRectH()
446 InnerPadRect(dng_rect &rect, int32 pad) InnerPadRect() argument
459 OuterPadRect(dng_rect &rect, int32 pad) OuterPadRect() argument
469 InnerPadRectH(dng_rect &rect, int32 pad) InnerPadRectH() argument
480 InnerPadRectV(dng_rect &rect, int32 pad) InnerPadRectV() argument
517 MakeInnerPadRect(const dng_rect &rect, int32 pad) MakeInnerPadRect() argument
531 MakeOuterPadRect(const dng_rect &rect, int32 pad) MakeOuterPadRect() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Da_int.c51 * encoding, except if the first byte is >= 0x80 we need to add a zero pad.
63 * Padding is a little trickier too. If the first bytes is > 0x80 then we pad
65 * is non-zero we pad with 0xff. The reason for this distinction is that 0x80
70 * If |pad| is zero, the operation is effectively reduced to memcpy,
71 * and if |pad| is 0xff, then it performs two's complement, ~dst + 1.
77 size_t len, unsigned char pad) in twos_complement()
79 unsigned int carry = pad & 1; in twos_complement()
92 *(--dst) = (unsigned char)(carry += *(--src) ^ pad); in twos_complement()
100 unsigned int pad = 0; in i2c_ibuf() local
108 pad in i2c_ibuf()
76 twos_complement(unsigned char *dst, const unsigned char *src, size_t len, unsigned char pad) twos_complement() argument
157 int neg, pad; c2i_ibuf() local
[all...]
/third_party/openssl/crypto/asn1/
H A Da_int.c51 * encoding, except if the first byte is >= 0x80 we need to add a zero pad.
63 * Padding is a little trickier too. If the first bytes is > 0x80 then we pad
65 * is non-zero we pad with 0xff. The reason for this distinction is that 0x80
70 * If |pad| is zero, the operation is effectively reduced to memcpy,
71 * and if |pad| is 0xff, then it performs two's complement, ~dst + 1.
77 size_t len, unsigned char pad) in twos_complement()
79 unsigned int carry = pad & 1; in twos_complement()
92 *(--dst) = (unsigned char)(carry += *(--src) ^ pad); in twos_complement()
100 unsigned int pad = 0; in i2c_ibuf() local
108 pad in i2c_ibuf()
76 twos_complement(unsigned char *dst, const unsigned char *src, size_t len, unsigned char pad) twos_complement() argument
157 int neg, pad; c2i_ibuf() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dh264qpel_template.c122 const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\
132 tmp[0]= (src[0]+src[1])*20 - (src[-1]+src[2])*5 + (src[-2]+src[3]) + pad;\
133 tmp[1]= (src[1]+src[2])*20 - (src[0 ]+src[3])*5 + (src[-1]+src[4]) + pad;\
140 const int tmpB= tmp[-2*tmpStride] - pad;\
141 const int tmpA= tmp[-1*tmpStride] - pad;\
142 const int tmp0= tmp[0 *tmpStride] - pad;\
143 const int tmp1= tmp[1 *tmpStride] - pad;\
144 const int tmp2= tmp[2 *tmpStride] - pad;\
145 const int tmp3= tmp[3 *tmpStride] - pad;\
146 const int tmp4= tmp[4 *tmpStride] - pad;\
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c102 unsigned char pad = (unsigned char)(blocksize - *buflen); in ossl_cipher_padblock() local
105 buf[i] = pad; in ossl_cipher_padblock()
110 size_t pad, i; in ossl_cipher_unpadblock() local
122 pad = buf[blocksize - 1]; in ossl_cipher_unpadblock()
123 if (pad == 0 || pad > blocksize) { in ossl_cipher_unpadblock()
127 for (i = 0; i < pad; i++) { in ossl_cipher_unpadblock()
128 if (buf[--len] != pad) { in ossl_cipher_unpadblock()
/third_party/openssl/providers/implementations/ciphers/
H A Dciphercommon_block.c102 unsigned char pad = (unsigned char)(blocksize - *buflen); in ossl_cipher_padblock() local
105 buf[i] = pad; in ossl_cipher_padblock()
110 size_t pad, i; in ossl_cipher_unpadblock() local
122 pad = buf[blocksize - 1]; in ossl_cipher_unpadblock()
123 if (pad == 0 || pad > blocksize) { in ossl_cipher_unpadblock()
127 for (i = 0; i < pad; i++) { in ossl_cipher_unpadblock()
128 if (buf[--len] != pad) { in ossl_cipher_unpadblock()
/third_party/icu/icu4c/source/samples/cal/
H A Dcal.c428 int32_t width, pad, i, day; in print_month() local
462 pad = width - u_strlen(s); in print_month()
463 indent(pad / 2, stdout); in print_month()
506 pad = lens[current] - u_strlen(s); in print_month()
507 indent(pad, stdout); in print_month()
546 int32_t width, pad, i, j; in print_year() local
588 pad = 2 * width + MARGIN_WIDTH - u_strlen(s); in print_year()
589 indent(pad / 2, stdout); in print_year()
605 pad = width - u_strlen(months[i]); in print_year()
606 indent(pad / in print_year()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/cal/
H A Dcal.c428 int32_t width, pad, i, day; in print_month() local
462 pad = width - u_strlen(s); in print_month()
463 indent(pad / 2, stdout); in print_month()
506 pad = lens[current] - u_strlen(s); in print_month()
507 indent(pad, stdout); in print_month()
546 int32_t width, pad, i, j; in print_year() local
588 pad = 2 * width + MARGIN_WIDTH - u_strlen(s); in print_year()
589 indent(pad / 2, stdout); in print_year()
605 pad = width - u_strlen(months[i]); in print_year()
606 indent(pad / in print_year()
[all...]
/third_party/libdrm/include/drm/
H A Dqxl_drm.h61 __u32 pad; member
79 __u32 pad; member
88 __u32 pad; member
103 __u32 pad; member
116 __u32 pad; member
125 __u32 pad; member
/third_party/toybox/toys/posix/
H A Dod.c54 int throw = 0, pad = 0; in od_out_t() local
59 pad += 4; in od_out_t()
83 pad += (throw = 8)+7; in od_out_t()
86 pad += (throw = 17)+8; in od_out_t()
89 pad += (throw = 21)+9; in od_out_t()
121 pad += throw+1; in od_out_t()
124 return pad; in od_out_t()
132 int i, j, len, pad; in od_outline() local
161 // Find largest "pad" of the output types. in od_outline()
162 for (i = pad in od_outline()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dgraphparser.c261 int pad, ret; in link_filter_inouts() local
263 for (pad = 0; pad < filt_ctx->nb_inputs; pad++) { in link_filter_inouts()
273 ret = link_filter(p->filter_ctx, p->pad_idx, filt_ctx, pad, log_ctx); in link_filter_inouts()
280 p->pad_idx = pad; in link_filter_inouts()
292 pad = filt_ctx->nb_outputs; in link_filter_inouts()
293 while (pad--) { in link_filter_inouts()
298 currlinkn->pad_idx = pad; in link_filter_inouts()
309 int pad in parse_inputs() local
352 int ret, pad = 0; parse_outputs() local
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A Drsautl.c82 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad = RSA_PKCS1_PADDING; in rsautl_main() local
120 pad = RSA_NO_PADDING; in rsautl_main()
123 pad = RSA_PKCS1_OAEP_PADDING; in rsautl_main()
126 pad = RSA_PKCS1_PADDING; in rsautl_main()
129 pad = RSA_X931_PADDING; in rsautl_main()
247 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
253 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
258 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
263 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
/third_party/openssl/apps/
H A Drsautl.c82 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad = RSA_PKCS1_PADDING; in rsautl_main() local
120 pad = RSA_NO_PADDING; in rsautl_main()
123 pad = RSA_PKCS1_OAEP_PADDING; in rsautl_main()
126 pad = RSA_PKCS1_PADDING; in rsautl_main()
129 pad = RSA_X931_PADDING; in rsautl_main()
247 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
253 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
258 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
263 && EVP_PKEY_CTX_set_rsa_padding(ctx, pad) > 0 in rsautl_main()
/third_party/mesa3d/include/drm-uapi/
H A Dtegra_drm.h80 * @pad:
84 __u32 pad; member
127 * @pad:
131 __u32 pad; member
182 * @pad:
186 __u32 pad; member
313 * @pad:
317 __u32 pad; member
366 * @pad:
370 __u32 pad; member
567 __u32 pad; global() member
602 __u32 pad; global() member
[all...]
/third_party/node/benchmark/
H A D_benchmark_progress.js5 function pad(input, minLength, fill) { function
13 const fnumerator = pad(numerator, fdenominator.length, ' ');
19 const hours = pad(Math.floor(time / 3600), 2, '0');
20 const minutes = pad(Math.floor((time % 3600) / 60), 2, '0');
21 const seconds = pad((time % 3600) % 60, 2, '0');
99 const percent = pad(Math.floor(completedRate * 100), 3, ' ');
/third_party/node/deps/openssl/openssl/crypto/sha/
H A Dsha3.c21 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_sha3_init() argument
29 ctx->pad = pad; in ossl_sha3_init()
36 int ossl_keccak_kmac_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_keccak_kmac_init() argument
38 int ret = ossl_sha3_init(ctx, pad, bitlen); in ossl_keccak_kmac_init()
101 ctx->buf[num] = ctx->pad; in ossl_sha3_final()
/third_party/openssl/crypto/sha/
H A Dsha3.c21 int ossl_sha3_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_sha3_init() argument
29 ctx->pad = pad; in ossl_sha3_init()
36 int ossl_keccak_kmac_init(KECCAK1600_CTX *ctx, unsigned char pad, size_t bitlen) in ossl_keccak_kmac_init() argument
38 int ret = ossl_sha3_init(ctx, pad, bitlen); in ossl_keccak_kmac_init()
101 ctx->buf[num] = ctx->pad; in ossl_sha3_final()

Completed in 13 milliseconds

12345678910>>...24