/external/mesa3d/src/mesa/drivers/dri/common/ |
D | utils.c | 226 struct gl_config *modes; in driCreateConfigs() local 323 modes = &(*c)->modes; in driCreateConfigs() 326 memset(modes, 0, sizeof *modes); in driCreateConfigs() 327 modes->floatMode = is_float; in driCreateConfigs() 328 modes->redBits = red_bits; in driCreateConfigs() 329 modes->greenBits = green_bits; in driCreateConfigs() 330 modes->blueBits = blue_bits; in driCreateConfigs() 331 modes->alphaBits = alpha_bits; in driCreateConfigs() 332 modes->redMask = masks[0]; in driCreateConfigs() 333 modes->greenMask = masks[1]; in driCreateConfigs() [all …]
|
/external/ltp/testcases/kernel/syscalls/clock_adjtime/ |
D | clock_adjtime01.c | 64 unsigned int modes; member 72 .modes = ADJ_OFFSET_SINGLESHOT, 75 .modes = ADJ_OFFSET_SS_READ, 78 .modes = ADJ_ALL, 81 .modes = ADJ_OFFSET, 87 .modes = ADJ_FREQUENCY, 92 .modes = ADJ_MAXERROR, 97 .modes = ADJ_ESTERROR, 102 .modes = ADJ_TIMECONST, 107 .modes = ADJ_TICK, [all …]
|
D | clock_adjtime02.c | 68 unsigned int modes; member 88 .modes = ADJ_ALL, 93 .modes = ADJ_TICK, 101 .modes = ADJ_TICK, 109 .modes = ADJ_ALL, 135 txcptr->modes = tc[i].modes; in verify_clock_adjtime() 156 "uid=%d)", tc[i].modes, whoami); in verify_clock_adjtime() 163 tc[i].exp_err, TST_ERR, tc[i].modes, whoami); in verify_clock_adjtime() 168 "uid=%d)", tc[i].modes, whoami); in verify_clock_adjtime() 193 if (tc[i].modes == ADJ_TICK) { in setup() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_memory_model.c | 34 get_intrinsic_info(nir_intrinsic_instr *intrin, nir_variable_mode *modes, in get_intrinsic_info() argument 39 *modes = nir_src_as_deref(intrin->src[0])->modes; in get_intrinsic_info() 43 *modes = nir_src_as_deref(intrin->src[0])->modes; in get_intrinsic_info() 56 *modes = nir_src_as_deref(intrin->src[0])->modes; in get_intrinsic_info() 61 *modes = nir_var_mem_ssbo; in get_intrinsic_info() 65 *modes = nir_var_mem_ssbo; in get_intrinsic_info() 78 *modes = nir_var_mem_ssbo; in get_intrinsic_info() 83 *modes = nir_var_mem_global; in get_intrinsic_info() 87 *modes = nir_var_mem_global; in get_intrinsic_info() 100 *modes = nir_var_mem_global; in get_intrinsic_info() [all …]
|
D | nir_lower_vec3_to_vec4.c | 27 lower_vec3_to_vec4_impl(nir_function_impl *impl, nir_variable_mode modes) in lower_vec3_to_vec4_impl() argument 31 if (modes & nir_var_function_temp) { in lower_vec3_to_vec4_impl() 50 if (!nir_deref_mode_is_in_set(deref, modes)) in lower_vec3_to_vec4_impl() 70 if (!nir_deref_mode_is_in_set(deref, modes)) in lower_vec3_to_vec4_impl() 91 if (!nir_deref_mode_is_in_set(deref, modes)) in lower_vec3_to_vec4_impl() 114 if (nir_deref_mode_may_be(dst, modes) || in lower_vec3_to_vec4_impl() 115 nir_deref_mode_may_be(src, modes)) { in lower_vec3_to_vec4_impl() 116 assert(nir_deref_mode_must_be(dst, modes)); in lower_vec3_to_vec4_impl() 117 assert(nir_deref_mode_must_be(src, modes)); in lower_vec3_to_vec4_impl() 145 nir_lower_vec3_to_vec4(nir_shader *shader, nir_variable_mode modes) in nir_lower_vec3_to_vec4() argument [all …]
|
D | nir_remove_dead_variables.c | 88 add_var_use_shader(nir_shader *shader, struct set *live, nir_variable_mode modes) in add_var_use_shader() argument 122 parent_modes = nir_deref_instr_parent(deref)->modes; in remove_dead_var_writes() 128 deref->modes = 0; in remove_dead_var_writes() 140 if (nir_src_as_deref(intrin->src[0])->modes == 0) in remove_dead_var_writes() 154 remove_dead_vars(struct exec_list *var_list, nir_variable_mode modes, in remove_dead_vars() argument 160 if (!(var->data.mode & modes)) in remove_dead_vars() 180 nir_remove_dead_variables(nir_shader *shader, nir_variable_mode modes, in nir_remove_dead_variables() argument 186 add_var_use_shader(shader, live, modes); in nir_remove_dead_variables() 188 if (modes & ~nir_var_function_temp) { in nir_remove_dead_variables() 189 progress = remove_dead_vars(&shader->variables, modes, in nir_remove_dead_variables() [all …]
|
D | nir_split_vars.c | 210 nir_variable_mode modes, in split_struct_derefs_impl() argument 222 if (!nir_deref_mode_may_be(deref, modes)) in split_struct_derefs_impl() 307 nir_split_struct_vars(nir_shader *shader, nir_variable_mode modes) in nir_split_struct_vars() argument 314 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_split_struct_vars() 317 if (modes & nir_var_shader_temp) { in nir_split_struct_vars() 332 if (modes & nir_var_function_temp) { in nir_split_struct_vars() 343 modes, mem_ctx); in nir_split_struct_vars() 445 nir_variable_mode modes) in get_array_deref_info() argument 447 if (!nir_deref_mode_may_be(deref, modes)) in get_array_deref_info() 460 nir_variable_mode modes, in mark_array_deref_used() argument [all …]
|
D | nir_lower_io.c | 44 nir_variable_mode modes; member 622 if (!nir_deref_mode_is_one_of(deref, state->modes)) in nir_lower_io_block() 712 nir_variable_mode modes, in nir_lower_io_impl() argument 721 state.modes = modes; in nir_lower_io_impl() 727 assert(!(modes & ~supported_modes)); in nir_lower_io_impl() 750 nir_lower_io(nir_shader *shader, nir_variable_mode modes, in nir_lower_io() argument 758 progress |= nir_lower_io_impl(function->impl, modes, in nir_lower_io() 777 nir_variable_mode modes, in build_addr_iadd() argument 826 if (!(modes & ~(nir_var_function_temp | in build_addr_iadd() 858 nir_variable_mode modes, in build_addr_iadd_imm() argument [all …]
|
D | nir_lower_variable_initializers.c | 58 nir_variable_mode modes) in lower_const_initializer() argument 65 if (!(var->data.mode & modes)) in lower_const_initializer() 91 nir_lower_variable_initializers(nir_shader *shader, nir_variable_mode modes) in nir_lower_variable_initializers() argument 100 modes &= nir_var_shader_out | in nir_lower_variable_initializers() 114 if ((modes & ~nir_var_function_temp) && function->is_entrypoint) { in nir_lower_variable_initializers() 117 modes); in nir_lower_variable_initializers() 120 if (modes & nir_var_function_temp) { in nir_lower_variable_initializers()
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_aes.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, base, modes 21 algorithms.AES(b"\x00" * 32), modes.XTS(b"\x00" * 16) 44 cipher = base.Cipher(algorithms.AES(key), modes.XTS(tweak), backend) 55 algorithms.AES(b"\x00" * 16), modes.CBC(b"\x00" * 16) 82 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)), 88 algorithms.AES(b"\x00" * 16), modes.ECB() 115 lambda **kwargs: modes.ECB(), 121 algorithms.AES(b"\x00" * 16), modes.OFB(b"\x00" * 16) 148 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)), 154 algorithms.AES(b"\x00" * 16), modes.CFB(b"\x00" * 16) [all …]
|
D | test_block.py | 16 Cipher, algorithms, base, modes 31 modes.CBC(binascii.unhexlify(b"0" * 32)), 39 modes.CBC(binascii.unhexlify(b"0" * 32)), 55 modes.CBC(binascii.unhexlify(b"0" * 32)), 76 modes.CBC(binascii.unhexlify(b"0" * 32)), 89 modes.ECB(), 120 modes.CBC(b"\x00" * 16), 136 algorithms.AES(b"\x00" * 16), modes.GCM(b"\x00" * 12) 144 modes.GCM, 148 modes.GCM, [all …]
|
D | test_3des.py | 17 from cryptography.hazmat.primitives.ciphers import algorithms, modes 25 algorithms.TripleDES(b"\x00" * 8), modes.CBC(b"\x00" * 8) 42 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)), 56 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)), 62 algorithms.TripleDES(b"\x00" * 8), modes.OFB(b"\x00" * 8) 79 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)), 93 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)), 99 algorithms.TripleDES(b"\x00" * 8), modes.CFB(b"\x00" * 8) 116 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv)), 130 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv)), [all …]
|
D | test_ciphers.py | 15 from cryptography.hazmat.primitives.ciphers import modes 48 (modes.CBC, modes.CTR, modes.CFB, modes.CFB8, modes.OFB) 56 modes.XTS(32) 60 modes.XTS(b"0") 65 ciphers.Cipher(AES(b"0" * 16), modes.XTS(b"0" * 16), backend) 195 ciphers.Cipher(AES(b"AAAAAAAAAAAAAAAA"), modes.ECB, pretend_backend) 200 AES(b"\x00" * 16), modes.ECB() 217 c = ciphers.Cipher(AES(key), modes.ECB(), backend) 226 AES(b"\x00" * 16), modes.GCM(b"0" * 12) 235 c = ciphers.Cipher(AES(key), modes.GCM(iv), backend) [all …]
|
D | test_seed.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.SEED(b"\x00" * 16), modes.ECB() 32 lambda **kwargs: modes.ECB(), 38 algorithms.SEED(b"\x00" * 16), modes.CBC(b"\x00" * 16) 49 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)) 55 algorithms.SEED(b"\x00" * 16), modes.OFB(b"\x00" * 16) 66 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)) 72 algorithms.SEED(b"\x00" * 16), modes.CFB(b"\x00" * 16) 83 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv))
|
D | test_cast5.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.CAST5(b"\x00" * 16), modes.ECB() 32 lambda **kwargs: modes.ECB(), 38 algorithms.CAST5(b"\x00" * 16), modes.CBC(b"\x00" * 8) 49 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)) 55 algorithms.CAST5(b"\x00" * 16), modes.OFB(b"\x00" * 8) 66 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)) 72 algorithms.CAST5(b"\x00" * 16), modes.CFB(b"\x00" * 8) 83 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv))
|
D | test_idea.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.IDEA(b"\x00" * 16), modes.ECB() 32 lambda **kwargs: modes.ECB(), 38 algorithms.IDEA(b"\x00" * 16), modes.CBC(b"\x00" * 8) 49 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)) 55 algorithms.IDEA(b"\x00" * 16), modes.OFB(b"\x00" * 8) 66 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)) 72 algorithms.IDEA(b"\x00" * 16), modes.CFB(b"\x00" * 8) 83 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv))
|
D | test_camellia.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 23 algorithms.Camellia(b"\x00" * 16), modes.ECB() 38 lambda **kwargs: modes.ECB(), 44 algorithms.Camellia(b"\x00" * 16), modes.CBC(b"\x00" * 16) 55 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)), 61 algorithms.Camellia(b"\x00" * 16), modes.OFB(b"\x00" * 16) 72 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)), 78 algorithms.Camellia(b"\x00" * 16), modes.CFB(b"\x00" * 16) 89 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv)),
|
D | test_blowfish.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.Blowfish(b"\x00" * 56), modes.ECB() 32 lambda **kwargs: modes.ECB(), 38 algorithms.Blowfish(b"\x00" * 56), modes.CBC(b"\x00" * 8) 49 lambda iv, **kwargs: modes.CBC(binascii.unhexlify(iv)), 55 algorithms.Blowfish(b"\x00" * 56), modes.OFB(b"\x00" * 8) 66 lambda iv, **kwargs: modes.OFB(binascii.unhexlify(iv)), 72 algorithms.Blowfish(b"\x00" * 56), modes.CFB(b"\x00" * 8) 83 lambda iv, **kwargs: modes.CFB(binascii.unhexlify(iv)),
|
/external/swiftshader/src/WSI/ |
D | DisplaySurfaceKHR.cpp | 37 pProperties->displayMode = (uintptr_t)connector->modes[0].name; in GetDisplayModeProperties() 38 pProperties->parameters.visibleRegion.width = connector->modes[0].hdisplay; in GetDisplayModeProperties() 39 pProperties->parameters.visibleRegion.height = connector->modes[0].vdisplay; in GetDisplayModeProperties() 40 pProperties->parameters.refreshRate = connector->modes[0].vrefresh * 1000; in GetDisplayModeProperties() 59 pCapabilities->minSrcExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities() 60 pCapabilities->minSrcExtent.height = connector->modes[0].vdisplay; in GetDisplayPlaneCapabilities() 61 pCapabilities->maxSrcExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities() 62 pCapabilities->maxSrcExtent.height = connector->modes[0].vdisplay; in GetDisplayPlaneCapabilities() 67 pCapabilities->minDstExtent.width = connector->modes[0].hdisplay; in GetDisplayPlaneCapabilities() 68 pCapabilities->minDstExtent.height = connector->modes[0].vdisplay; in GetDisplayPlaneCapabilities() [all …]
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | valid-adjtimex.c | 56 tx.modes = ADJ_STATUS; in clear_time_state() 129 tx.modes = ADJ_FREQUENCY; in validate_freq() 140 tx.modes = 0; in validate_freq() 148 tx.modes = ADJ_FREQUENCY; in validate_freq() 159 tx.modes = 0; in validate_freq() 173 tx.modes = ADJ_FREQUENCY; in validate_freq() 189 tx.modes = ADJ_FREQUENCY; in validate_freq() 202 tmx.modes = ADJ_SETOFFSET; in set_offset() 204 tmx.modes |= ADJ_NANO; in set_offset() 237 tmx.modes = ADJ_SETOFFSET; in set_bad_offset() [all …]
|
D | adjtick.c | 120 tx1.modes = ADJ_TICK; in check_tick_adj() 121 tx1.modes |= ADJ_OFFSET; in check_tick_adj() 122 tx1.modes |= ADJ_FREQUENCY; in check_tick_adj() 123 tx1.modes |= ADJ_STATUS; in check_tick_adj() 141 tx1.modes = 0; in check_tick_adj() 197 tx1.modes = ADJ_TICK; in main() 198 tx1.modes |= ADJ_OFFSET; in main() 199 tx1.modes |= ADJ_FREQUENCY; in main()
|
/external/igt-gpu-tools/tests/ |
D | kms_hdmi_inject.c | 105 if (connector->modes[i].hdisplay == HDISPLAY_4K && in hdmi_inject_4k() 106 connector->modes[i].vdisplay == VDISPLAY_4K) { in hdmi_inject_4k() 119 kmstest_dump_mode(&connector->modes[i]); in hdmi_inject_4k() 122 fb_id = igt_create_fb(drm_fd, connector->modes[i].hdisplay, in hdmi_inject_4k() 123 connector->modes[i].vdisplay, in hdmi_inject_4k() 129 &connector->modes[i]); in hdmi_inject_4k() 164 fb_id = igt_create_fb(drm_fd, connector->modes[0].hdisplay, in hdmi_inject_audio() 165 connector->modes[0].vdisplay, in hdmi_inject_audio() 171 &connector->modes[0]); in hdmi_inject_audio() 185 kmstest_dump_mode(&connector->modes[0]); in hdmi_inject_audio()
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ |
D | VorbisUtilTest.java | 90 VorbisUtil.Mode[] modes = VorbisUtil.readVorbisModes(headerData, 2); in readVorbisModes() local 92 assertThat(modes).hasLength(2); in readVorbisModes() 93 assertThat(modes[0].blockFlag).isFalse(); in readVorbisModes() 94 assertThat(modes[0].mapping).isEqualTo(0); in readVorbisModes() 95 assertThat(modes[0].transformType).isEqualTo(0); in readVorbisModes() 96 assertThat(modes[0].windowType).isEqualTo(0); in readVorbisModes() 97 assertThat(modes[1].blockFlag).isTrue(); in readVorbisModes() 98 assertThat(modes[1].mapping).isEqualTo(1); in readVorbisModes() 99 assertThat(modes[1].transformType).isEqualTo(0); in readVorbisModes() 100 assertThat(modes[1].windowType).isEqualTo(0); in readVorbisModes()
|
/external/llvm-project/flang/runtime/ |
D | format-implementation.h | 128 MutableModes &modes{context.mutableModes()}; in HandleControl() 132 modes.editingFlags |= blankZero; in HandleControl() 136 modes.editingFlags &= ~blankZero; in HandleControl() 142 modes.editingFlags |= decimalComma; in HandleControl() 146 modes.editingFlags &= ~decimalComma; in HandleControl() 152 modes.scale = n; // kP - decimal scaling by 10**k in HandleControl() 159 modes.round = decimal::RoundNearest; in HandleControl() 162 modes.round = decimal::RoundToZero; in HandleControl() 165 modes.round = decimal::RoundUp; in HandleControl() 168 modes.round = decimal::RoundDown; in HandleControl() [all …]
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod02.c | 51 static int modes[] = { 0, 07, 070, 0700, 0777, 02777, 04777, 06777 }; variable 54 int TST_TOTAL = ARRAY_SIZE(modes); 75 TEST(chmod(FNAME, modes[i])); in main() 79 "chmod(%s, %#o) failed", FNAME, modes[i]); in main() 83 FNAME, modes[i], TEST_RETURN); in main()
|