/third_party/selinux/libsepol/src/ |
H A D | port_record.c | 10 int low, high; member 21 int low, high; member 29 int low, int high, int proto, in sepol_port_key_create() 41 tmp_key->low = low; in sepol_port_key_create() 51 int *low, int *high, int *proto) in sepol_port_key_unpack() 54 *low = key->low; in sepol_port_key_unpack() 66 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in sepol_port_key_extract() 70 port->low, por in sepol_port_key_extract() 28 sepol_port_key_create(sepol_handle_t * handle, int low, int high, int proto, sepol_port_key_t ** key_ptr) sepol_port_key_create() argument 50 sepol_port_key_unpack(const sepol_port_key_t * key, int *low, int *high, int *proto) sepol_port_key_unpack() argument 157 sepol_port_set_range(sepol_port_t * port, int low, int high) sepol_port_set_range() argument [all...] |
H A D | ibpkey_record.c | 17 int low, high; member 28 int low, high; member 100 int low, int high, in sepol_ibpkey_key_create() 114 tmp_key->low = low; in sepol_ibpkey_key_create() 126 subnet_prefix, low, high); in sepol_ibpkey_key_create() 132 uint64_t *subnet_prefix, int *low, int *high) in sepol_ibpkey_key_unpack() 135 *low = key->low; in sepol_ibpkey_key_unpack() 149 (handle, subnet_prefix_str, ibpkey->low, ibpke in sepol_ibpkey_key_extract() 98 sepol_ibpkey_key_create(sepol_handle_t *handle, const char *subnet_prefix, int low, int high, sepol_ibpkey_key_t **key_ptr) sepol_ibpkey_key_create() argument 131 sepol_ibpkey_key_unpack(const sepol_ibpkey_key_t *key, uint64_t *subnet_prefix, int *low, int *high) sepol_ibpkey_key_unpack() argument 226 sepol_ibpkey_set_range(sepol_ibpkey_t *ibpkey, int low, int high) sepol_ibpkey_set_range() argument [all...] |
H A D | ports.c | 53 /* Create a low level port structure from 64 int low = sepol_port_get_low(data); in port_from_record() local 79 tmp_port->u.port.low_port = low; in port_from_record() 82 ERR(handle, "low port %d exceeds high port %d", in port_from_record() 110 low, high, sepol_port_get_proto_str(proto)); in port_from_record() 120 int low = port->u.port.low_port; in port_to_record() local 136 sepol_port_set_range(tmp_record, low, high); in port_to_record() 150 "to record", low, high, sepol_port_get_proto_str(rec_proto)); in port_to_record() 183 int low, high, proto; in sepol_port_exists() local 185 sepol_port_key_unpack(key, &low, in sepol_port_exists() 221 int low, high, proto; sepol_port_query() local 261 int low, high, proto; sepol_port_modify() local [all...] |
H A D | context_record.c | 202 char *tmp = NULL, *low, *high; in sepol_context_from_string() local 219 low = tmp; in sepol_context_from_string() 224 if (!(high = strchr(low, ':'))) in sepol_context_from_string() 228 if (sepol_context_set_user(handle, tmp_con, low) < 0) in sepol_context_from_string() 230 low = high; in sepol_context_from_string() 233 if (!(high = strchr(low, ':'))) in sepol_context_from_string() 237 if (sepol_context_set_role(handle, tmp_con, low) < 0) in sepol_context_from_string() 239 low = high; in sepol_context_from_string() 242 if (!(high = strchr(low, ':'))) { in sepol_context_from_string() 243 if (sepol_context_set_type(handle, tmp_con, low) < in sepol_context_from_string() [all...] |
/third_party/mbedtls/3rdparty/everest/library/kremlib/ |
H A D | FStar_UInt128_extracted.c | 17 return projectee.low; in FStar_UInt128___proj__Mkuint128__item__low() 38 flat = { a.low + b.low, a.high + b.high + FStar_UInt128_carry(a.low + b.low, b.low) }; in FStar_UInt128_add() 46 flat = { a.low + b.low, a.high + b.high + FStar_UInt128_carry(a.low + b.low, in FStar_UInt128_add_underspec() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cfhddsp.c | 27 const int16_t *low, ptrdiff_t low_stride, in filter() 34 tmp = (11*low[0*low_stride] - 4*low[1*low_stride] + low[2*low_stride] + 4) >> 3; in filter() 39 tmp = ( 5*low[0*low_stride] + 4*low[1*low_stride] - low[2*low_stride] + 4) >> 3; in filter() 45 tmp = (low[(i-1)*low_stride] - low[(i+1)*low_stride] + 4) >> 3; in filter() 46 output[(2*i+0)*out_stride] = (tmp + low[ in filter() 26 filter(int16_t *output, ptrdiff_t out_stride, const int16_t *low, ptrdiff_t low_stride, const int16_t *high, ptrdiff_t high_stride, int len, int clip) filter() argument 67 vert_filter(int16_t *output, ptrdiff_t out_stride, const int16_t *low, ptrdiff_t low_stride, const int16_t *high, ptrdiff_t high_stride, int width, int height) vert_filter() argument 80 horiz_filter(int16_t *output, ptrdiff_t ostride, const int16_t *low, ptrdiff_t lstride, const int16_t *high, ptrdiff_t hstride, int width, int height) horiz_filter() argument 93 horiz_filter_clip(int16_t *output, const int16_t *low, const int16_t *high, int width, int clip) horiz_filter_clip() argument 99 horiz_filter_clip_bayer(int16_t *output, const int16_t *low, const int16_t *high, int width, int clip) horiz_filter_clip_bayer() argument [all...] |
H A D | cabac_functions.h | 66 c->low+= (c->bytestream[0]<<9) + (c->bytestream[1]<<1); in refill() 68 c->low+= c->bytestream[0]<<1; in refill() 70 c->low -= CABAC_MASK; in refill() 82 c->low <<= shift; in renorm_cabac_decoder_once() 83 if(!(c->low & CABAC_MASK)) in renorm_cabac_decoder_once() 93 x= c->low ^ (c->low-1); in refill2() 96 i = ff_ctz(c->low) - CABAC_BITS; in refill2() 107 c->low += x<<i; in refill2() 122 lps_mask= ((c->range<<(CABAC_BITS+1)) - c->low)>>3 in get_cabac_inline() [all...] |
H A D | opus_rc.c | 67 uint32_t low, uint32_t high, in opus_rc_dec_update() 71 rc->range = low ? scale * (high - low) in opus_rc_dec_update() 92 unsigned int k, scale, total, symbol, low, high; in ff_opus_rc_dec_cdf() local 102 low = k ? cdf[k-1] : 0; in ff_opus_rc_dec_cdf() 104 opus_rc_dec_update(rc, scale, low, high, total); in ff_opus_rc_dec_cdf() 236 uint32_t k, scale, symbol, total, low, center; in ff_opus_rc_dec_uint_tri() local 245 low = k * (k + 1) >> 1; in ff_opus_rc_dec_uint_tri() 249 low = total - ((qn + 1 - k) * (qn + 2 - k) >> 1); in ff_opus_rc_dec_uint_tri() 253 opus_rc_dec_update(rc, scale, low, lo in ff_opus_rc_dec_uint_tri() 66 opus_rc_dec_update(OpusRangeCoder *rc, uint32_t scale, uint32_t low, uint32_t high, uint32_t total) opus_rc_dec_update() argument 260 uint32_t symbol, low, total; ff_opus_rc_enc_uint_tri() local 279 uint32_t scale, low = 0, center; ff_opus_rc_dec_laplace() local 316 uint32_t low = symbol; ff_opus_rc_enc_laplace() local [all...] |
H A D | dirac_arith.h | 76 unsigned low; member 96 c->low <<= shift; in renorm() 101 c->low <<= 1; in renorm() 127 c->low += new << counter; in refill() 137 unsigned low = c->low; in dirac_get_arith_bit() local 143 low -= range_times_prob << 16; in dirac_get_arith_bit() 151 : "+q"(bit), "+r"(range), "+r"(low) in dirac_get_arith_bit() 152 : "r"(c->low), "r"(c->low>>1 in dirac_get_arith_bit() [all...] |
H A D | mss1.c | 42 if (c->low < 0x8000) { in arith_normalise() 43 if (c->low >= 0x4000 && c->high < 0xC000) { in arith_normalise() 45 c->low -= 0x4000; in arith_normalise() 52 c->low -= 0x8000; in arith_normalise() 57 c->low <<= 1; in arith_normalise() 70 int range = c->high - c->low + 1; in arith_get_bits() 71 int val = (((c->value - c->low + 1) << bits) - 1) / range; in arith_get_bits() 74 c->high = ((prob + range) >> bits) + c->low - 1; in arith_get_bits() 75 c->low += prob >> bits; in arith_get_bits() 84 int range = c->high - c->low in arith_get_number() [all...] |
H A D | rangecoder.h | 36 int low; member 67 c->outstanding_byte = c->low >> 8; in renorm_encoder() 68 } else if (c->low <= 0xFF00) { in renorm_encoder() 72 c->outstanding_byte = c->low >> 8; in renorm_encoder() 73 } else if (c->low >= 0x10000) { in renorm_encoder() 77 c->outstanding_byte = (c->low >> 8) & 0xFF; in renorm_encoder() 82 c->low = (c->low & 0xFF) << 8; in renorm_encoder() 106 c->low += c->range - range1; in put_rac() 118 c->low << in refill() [all...] |
H A D | cabac.c | 168 c->low = (*c->bytestream++)<<18; in ff_init_cabac_decoder() 169 c->low+= (*c->bytestream++)<<10; in ff_init_cabac_decoder() 174 c->low += (1 << 9); in ff_init_cabac_decoder() 177 c->low += ((*c->bytestream++) << 2) + 2; in ff_init_cabac_decoder() 180 c->low = (*c->bytestream++)<<10; in ff_init_cabac_decoder() 181 c->low+= ((*c->bytestream++)<<2) + 2; in ff_init_cabac_decoder() 184 if ((c->range<<(CABAC_BITS+1)) < c->low) in ff_init_cabac_decoder()
|
H A D | bgmc.c | 520 unsigned int low = *l; in ff_bgmc_decode() local 527 unsigned int range = high - low + 1; in ff_bgmc_decode() 528 unsigned int target = (((value - low + 1) << FREQ_BITS) - 1) / range; in ff_bgmc_decode() 536 high = low + ((range * cf_table[sx][(symbol) << delta] - (1 << FREQ_BITS)) >> FREQ_BITS); in ff_bgmc_decode() 537 low = low + ((range * cf_table[sx][(symbol + 1) << delta]) >> FREQ_BITS); in ff_bgmc_decode() 541 if (low >= HALF) { in ff_bgmc_decode() 543 low -= HALF; in ff_bgmc_decode() 545 } else if (low >= FIRST_QTR && high < THIRD_QTR) { in ff_bgmc_decode() 547 low in ff_bgmc_decode() [all...] |
H A D | lagarithrac.h | 40 unsigned low; member 62 l->low <<= 8; in lag_rac_refill() 64 l->low |= 0xff & (AV_RB16(l->bytestream) >> 1); in lag_rac_refill() 86 if (l->low < range_scaled * l->prob[255]) { in lag_get_rac() 88 if (l->low < range_scaled * l->prob[1]) { in lag_get_rac() 91 low_scaled = l->low / (range_scaled<<(l->hash_shift)); in lag_get_rac() 94 while (l->low >= range_scaled * l->prob[val + 1]) in lag_get_rac() 107 l->low -= range_scaled * l->prob[val]; in lag_get_rac()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuCompressedTexture.cpp | 431 inline deUint32 getBits (deUint64 src, int low, int high) in getBits() argument 433 const int numBits = (high-low) + 1; in getBits() 436 return (deUint32)((src >> low) & ((1u<<numBits)-1)); in getBits() 438 return (deUint32)((src >> low) & 0xFFFFFFFFu); in getBits() 1355 inline deUint32 getBits128 (deUint64 low, deUint64 high, deUint32 first, deUint32 last) in getBits128() argument 1357 const deUint64 d[2] = { low, high }; in getBits128() 1386 const deUint32 data0 = (deUint32)(low >> first) & mask0; in getBits128() 1830 const deUint64 low = ((deUint64*)src)[0]; in decompressBc6H() local 1832 const deUint32 d = mode < 10 ? getBits128(low, high, 77, 81) : 0; in decompressBc6H() 1843 g[2] |= getBits128(low, hig in decompressBc6H() 2236 const deUint64 low = ((deUint64*)src)[0]; decompressBc7() local [all...] |
/third_party/ffmpeg/libavcodec/x86/ |
H A D | cabac.h | 58 #define BRANCHLESS_GET_CABAC_UPDATE(ret, retq, low, range, tmp) \ 59 "cmp "low" , "tmp" \n\t"\ 64 "sub "tmp" , "low" \n\t" 66 #define BRANCHLESS_GET_CABAC_UPDATE(ret, retq, low, range, tmp) \ 68 "sub "low" , "tmp" \n\t"\ 75 "sub %%ecx , "low" \n\t"\ 80 #define BRANCHLESS_GET_CABAC(ret, retq, statep, low, lowword, range, rangeq, tmp, tmpbyte, byte, end, norm_off, lps_off, mlps_off, tables) \ 89 BRANCHLESS_GET_CABAC_UPDATE(ret, retq, low, range, tmp) \ 93 "shl %%cl , "low" \n\t"\ 102 "lea -1("low") , [all...] |
/third_party/ffmpeg/libavcodec/tests/ |
H A D | cabac.c | 47 if (c->dec.low < 0x100) { in renorm_cabac_encoder() 49 } else if (c->dec.low < 0x200) { in renorm_cabac_encoder() 51 c->dec.low -= 0x100; in renorm_cabac_encoder() 54 c->dec.low -= 0x200; in renorm_cabac_encoder() 58 c->dec.low += c->dec.low; in renorm_cabac_encoder() 70 c->dec.low += c->dec.range - RangeLPS; in put_cabac() 83 c->dec.low += c->dec.low; in put_cabac_bypass() 86 c->dec.low in put_cabac_bypass() [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | CodedOutputStream.php | 109 $low = 0; variable 111 GPBUtil::divideInt64ToInt32($value, $high, $low, $trim); 113 $low = $value; variable 116 while (($low >= 0x80 || $low < 0) || $high != 0) { 117 $buffer[$current] = chr($low | 0x80); 121 $low = (($low >> 7) & ~(0x7F << ((PHP_INT_SIZE << 3) - 7)) | $carry); variable 124 $buffer[$current] = chr($low); 140 $low variable 144 $low = $value & 0xFFFFFFFF; global() variable [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | opt_minmax.cpp | 58 minmax_range(ir_constant *low = NULL, ir_constant *high = NULL) in minmax_range() 60 this->low = low; in minmax_range() 64 /* low is the lower limit of the range, high is the higher limit. NULL on 65 * low means negative infinity (unlimited) and on high positive infinity 69 ir_constant *low; member in __anon7213::minmax_range 284 if (!r0.low) { in combine_range() 285 ret.low = ismin ? r0.low : r1.low; in combine_range() [all...] |
/third_party/elfutils/tests/ |
H A D | dwarf_default_lower_bound.c | 34 Dwarf_Sword low; in test_lang() local 35 int res = dwarf_default_lower_bound (lang, &low); in test_lang() 57 if (low != 0 && low != 1) in test_lang() 59 printf ("unexpected lower bound %" PRId64 " for %s\n", low, name); in test_lang() 63 printf ("%s: %" PRId64 "\n", name, low); in test_lang() 69 Dwarf_Sword low; in main() local 71 if (dwarf_default_lower_bound (-1, &low) == 0) in main() 73 printf ("Bad lang code -1 succeeded (%" PRId64 ")\n", low); in main()
|
/third_party/pulseaudio/src/pulse/ |
H A D | gccmacro.h | 141 #define PA_CLAMP(x, low, high) \ 144 typeof(low) _low = (low); \ 149 #define PA_CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) 153 #define PA_CLAMP_UNLIKELY(x, low, high) \ 156 typeof(low) _low = (low); \ 161 #define PA_CLAMP_UNLIKELY(x, low, hig [all...] |
/third_party/mesa3d/src/freedreno/registers/ |
H A D | gen_header.py | 35 def __init__(self, name, low, high, shr, type, parser): 37 self.low = low 44 if low < 0 or low > 31: 45 raise parser.error("low attribute out of range: %d" % low) 48 if high < low: 49 raise parser.error("low is greater than high: low [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_load_store_vectorize.c | 652 * of "low" and "high". */ 655 struct entry *low, struct entry *high, unsigned size) in new_bitsize_acceptable() 664 unsigned high_offset = high->offset_signed - low->offset_signed; in new_bitsize_acceptable() 667 unsigned common_bit_size = MIN2(get_bit_size(low), get_bit_size(high)); in new_bitsize_acceptable() 674 if (!ctx->options->callback(low->align_mul, in new_bitsize_acceptable() 675 low->align_offset, in new_bitsize_acceptable() 677 low->intrin, high->intrin, in new_bitsize_acceptable() 681 if (low->is_store) { in new_bitsize_acceptable() 682 unsigned low_size = low->intrin->num_components * get_bit_size(low); in new_bitsize_acceptable() 654 new_bitsize_acceptable(struct vectorize_ctx *ctx, unsigned new_bit_size, struct entry *low, struct entry *high, unsigned size) new_bitsize_acceptable() argument 731 vectorize_loads(nir_builder *b, struct vectorize_ctx *ctx, struct entry *low, struct entry *high, struct entry *first, struct entry *second, unsigned new_bit_size, unsigned new_num_components, unsigned high_start) vectorize_loads() argument 822 vectorize_stores(nir_builder *b, struct vectorize_ctx *ctx, struct entry *low, struct entry *high, struct entry *first, struct entry *second, unsigned new_bit_size, unsigned new_num_components, unsigned high_start) vectorize_stores() argument 1072 check_for_robustness(struct vectorize_ctx *ctx, struct entry *low, uint64_t high_offset) check_for_robustness() argument 1137 try_vectorize(nir_function_impl *impl, struct vectorize_ctx *ctx, struct entry *low, struct entry *high, struct entry *first, struct entry *second) try_vectorize() argument 1199 try_vectorize_shared2(nir_function_impl *impl, struct vectorize_ctx *ctx, struct entry *low, struct entry *high, struct entry *first, struct entry *second) try_vectorize_shared2() argument 1288 struct entry *low = *util_dynarray_element(arr, struct entry *, first_idx); vectorize_sorted_entries() local [all...] |
/third_party/python/Lib/asyncio/ |
H A D | transports.py | 77 def set_write_buffer_limits(self, high=None, low=None): 78 """Set the high- and low-water limits for write flow control. 82 the low-water limit must be less than or equal to the 86 high-water limit is given, the low-water limit defaults to an 88 high-water limit. Setting high to zero forces low to zero as 90 buffer becomes non-empty. Setting low to zero causes 103 """Get the high and low watermarks for write flow control. 104 Return a tuple (low, high) where low and high are 314 def _set_write_buffer_limits(self, high=None, low [all...] |
/third_party/pcre2/pcre2/maint/ |
H A D | GenerateTest26.py | 74 low = int(match_obj.group(1), 16) 75 high = low 76 char_data[low] = name 80 for idx in range(low + 1, high + 1): 84 script_data[script_idx] = [low, None, None, None, None] 96 low = int(match_obj.group(1), 16) 97 high = low 106 rec[2] = low 111 if rec[2] > low: 112 rec[2] = low [all...] |