Searched refs:ctx_offset (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | hevc_cabac.c | 921 int ctx_offset, ctx_shift; in last_significant_coeff_xy_prefix_decode() local 924 ctx_offset = 3 * (log2_size - 2) + ((log2_size - 1) >> 2); in last_significant_coeff_xy_prefix_decode() 927 ctx_offset = 15; in last_significant_coeff_xy_prefix_decode() 931 GET_CABAC(elem_offset[LAST_SIGNIFICANT_COEFF_X_PREFIX] + (i >> ctx_shift) + ctx_offset)) in last_significant_coeff_xy_prefix_decode() 937 GET_CABAC(elem_offset[LAST_SIGNIFICANT_COEFF_Y_PREFIX] + (i >> ctx_shift) + ctx_offset)) in last_significant_coeff_xy_prefix_decode()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/ |
D | ieee802_1x_kay.c | 2083 int ctx_len, ctx_offset; in ieee802_1x_kay_generate_new_sak() local 2132 ctx_offset = 0; in ieee802_1x_kay_generate_new_sak() 2133 if (os_get_random(context + ctx_offset, key_len) < 0) in ieee802_1x_kay_generate_new_sak() 2136 ctx_offset += key_len; in ieee802_1x_kay_generate_new_sak() 2139 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi)); in ieee802_1x_kay_generate_new_sak() 2140 ctx_offset += sizeof(peer->mi); in ieee802_1x_kay_generate_new_sak() 2142 os_memcpy(context + ctx_offset, participant->mi, in ieee802_1x_kay_generate_new_sak() 2144 ctx_offset += sizeof(participant->mi); in ieee802_1x_kay_generate_new_sak() 2145 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn)); in ieee802_1x_kay_generate_new_sak()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/ |
D | ieee802_1x_kay.c | 2120 int ctx_len, ctx_offset; in ieee802_1x_kay_generate_new_sak() local 2169 ctx_offset = 0; in ieee802_1x_kay_generate_new_sak() 2170 if (os_get_random(context + ctx_offset, key_len) < 0) in ieee802_1x_kay_generate_new_sak() 2173 ctx_offset += key_len; in ieee802_1x_kay_generate_new_sak() 2176 os_memcpy(context + ctx_offset, peer->mi, sizeof(peer->mi)); in ieee802_1x_kay_generate_new_sak() 2177 ctx_offset += sizeof(peer->mi); in ieee802_1x_kay_generate_new_sak() 2179 os_memcpy(context + ctx_offset, participant->mi, in ieee802_1x_kay_generate_new_sak() 2181 ctx_offset += sizeof(participant->mi); in ieee802_1x_kay_generate_new_sak() 2182 os_memcpy(context + ctx_offset, &kay->dist_kn, sizeof(kay->dist_kn)); in ieee802_1x_kay_generate_new_sak()
|