Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 784) sorted by relevance

12345678910>>...32

/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c184 struct gl_config *modes; in driCreateConfigs() local
255 modes = &(*c)->modes; in driCreateConfigs()
258 memset(modes, 0, sizeof *modes); in driCreateConfigs()
259 modes->redBits = red_bits; in driCreateConfigs()
260 modes->greenBits = green_bits; in driCreateConfigs()
261 modes->blueBits = blue_bits; in driCreateConfigs()
262 modes->alphaBits = alpha_bits; in driCreateConfigs()
263 modes->redMask = masks[0]; in driCreateConfigs()
264 modes->greenMask = masks[1]; in driCreateConfigs()
265 modes->blueMask = masks[2]; in driCreateConfigs()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_remove_dead_variables.c32 nir_variable_mode modes) in add_var_use_intrinsic() argument
53 assert(!(modes & nir_var_shader_in)); in add_var_use_intrinsic()
56 assert(!(modes & nir_var_shader_out)); in add_var_use_intrinsic()
96 add_var_use_shader(nir_shader *shader, struct set *live, nir_variable_mode modes) in add_var_use_shader() argument
105 modes); in add_var_use_shader()
169 nir_remove_dead_variables(nir_shader *shader, nir_variable_mode modes) in nir_remove_dead_variables() argument
175 add_var_use_shader(shader, live, modes); in nir_remove_dead_variables()
177 if (modes & nir_var_uniform) in nir_remove_dead_variables()
180 if (modes & nir_var_shader_in) in nir_remove_dead_variables()
183 if (modes & nir_var_shader_out) in nir_remove_dead_variables()
[all …]
Dnir_lower_constant_initializers.c69 nir_lower_constant_initializers(nir_shader *shader, nir_variable_mode modes) in nir_lower_constant_initializers() argument
74 if (modes & ~nir_var_local) in nir_lower_constant_initializers()
77 if (modes & nir_var_shader_out) in nir_lower_constant_initializers()
80 if (modes & nir_var_global) in nir_lower_constant_initializers()
83 if (modes & nir_var_system_value) in nir_lower_constant_initializers()
96 if (modes & nir_var_local) { in nir_lower_constant_initializers()
Dnir_lower_indirect_derefs.c141 nir_variable_mode modes) in lower_indirect_block() argument
164 if (!(modes & intrin->variables[0]->var->data.mode) && in lower_indirect_block()
188 lower_indirects_impl(nir_function_impl *impl, nir_variable_mode modes) in lower_indirects_impl() argument
195 progress |= lower_indirect_block(block, &builder, modes); in lower_indirects_impl()
210 nir_lower_indirect_derefs(nir_shader *shader, nir_variable_mode modes) in nir_lower_indirect_derefs() argument
216 progress = lower_indirects_impl(function->impl, modes) || progress; in nir_lower_indirect_derefs()
/external/linux-kselftest/tools/testing/selftests/timers/
Dvalid-adjtimex.c56 tx.modes = ADJ_STATUS; in clear_time_state()
128 tx.modes = ADJ_FREQUENCY; in validate_freq()
139 tx.modes = 0; in validate_freq()
147 tx.modes = ADJ_FREQUENCY; in validate_freq()
158 tx.modes = 0; in validate_freq()
172 tx.modes = ADJ_FREQUENCY; in validate_freq()
188 tx.modes = ADJ_FREQUENCY; in validate_freq()
201 tmx.modes = ADJ_SETOFFSET; in set_offset()
203 tmx.modes |= ADJ_NANO; in set_offset()
236 tmx.modes = ADJ_SETOFFSET; in set_bad_offset()
[all …]
Dadjtick.c120 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()
140 tx1.modes = 0; in check_tick_adj()
196 tx1.modes = ADJ_TICK; in main()
197 tx1.modes |= ADJ_OFFSET; in main()
198 tx1.modes |= ADJ_FREQUENCY; in main()
Dleap-a-day.c106 tx.modes = ADJ_STATUS; in clear_time_state()
111 tx.modes = ADJ_MAXERROR; in clear_time_state()
116 tx.modes = ADJ_STATUS; in clear_time_state()
135 tx.modes = 0; in sigalarm()
262 tx.modes = ADJ_STATUS; in main()
275 tx.modes = 0; in main()
315 tx.modes = 0; in main()
319 tx.modes = ADJ_STATUS; in main()
334 tx.modes = 0; in main()
Dleapcrash.c39 tx.modes = ADJ_STATUS; in clear_time_state()
43 tx.modes = ADJ_STATUS; in clear_time_state()
92 tx.modes = 0; in main()
98 tx.modes = ADJ_STATUS; in main()
Dchange_skew.c41 tx.modes = ADJ_FREQUENCY; in change_skew_test()
69 tx.modes = ADJ_OFFSET; in main()
86 tx.modes = ADJ_FREQUENCY; in main()
/external/u-boot/arch/arm/mach-imx/
Dcmd_bmode.c12 static const struct boot_mode *modes[2]; variable
18 for (i = 0; i < ARRAY_SIZE(modes); i++) { in search_modes()
19 const struct boot_mode *p = modes[i]; in search_modes()
36 for (i = 0; i < ARRAY_SIZE(modes); i++) { in create_usage()
37 const struct boot_mode *p = modes[i]; in create_usage()
97 modes[0] = p; in add_board_boot_modes()
98 modes[1] = soc_boot_modes; in add_board_boot_modes()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod02.c51 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()
/external/scapy/scapy/layers/tls/crypto/
Dcipher_block.py18 from cryptography.hazmat.primitives.ciphers import (Cipher, algorithms, modes,
112 pc_cls_mode = modes.CBC
122 pc_cls_mode = modes.CBC
135 pc_cls_mode = modes.CBC
153 pc_cls_mode = modes.CBC
159 pc_cls_mode = modes.CBC
165 pc_cls_mode = modes.CBC
202 if GetCipherByName(_gcbn_format)(backend, _ARC2, modes.CBC) != \
207 pc_cls_mode = modes.CBC
/external/libkmsxx/kms++/src/
Dmodedb.cpp12 static const Videomode& find_from_table(const Videomode* modes, uint32_t width, uint32_t height, fl… in find_from_table() argument
14 for (unsigned i = 0; modes[i].clock; ++i) { in find_from_table()
15 const Videomode& m = modes[i]; in find_from_table()
31 for (unsigned i = 0; modes[i].clock; ++i) { in find_from_table()
32 const Videomode& m = modes[i]; in find_from_table()
Dconnector.cpp124 drmModeModeInfo drmmode = m_priv->drm_connector->modes[0]; in get_default_mode()
139 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
158 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
175 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
253 vector<Videomode> modes; in get_modes() local
256 modes.push_back(drm_mode_to_video_mode( in get_modes()
257 m_priv->drm_connector->modes[i])); in get_modes()
259 return modes; in get_modes()
/external/mesa3d/src/glx/
Dvertarr.c138 static const modes[14][4] = { in __indirect_glInterleavedArrays() local
185 offsets[i] = (modes[idx][i].count != 0) ? size : -1; in __indirect_glInterleavedArrays()
186 size += modes[idx][i].size; in __indirect_glInterleavedArrays()
195 __indirect_glTexCoordPointer(modes[idx][0].count, GL_FLOAT, in __indirect_glInterleavedArrays()
200 __indirect_glColorPointer(modes[idx][1].count, modes[idx][1].type, in __indirect_glInterleavedArrays()
210 __indirect_glVertexPointer(modes[idx][3].count, GL_FLOAT, in __indirect_glInterleavedArrays()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1395 struct hostapd_hw_modes *modes; member
1608 mode = os_realloc_array(phy_info->modes, in phy_info_band()
1615 phy_info->modes = mode; in phy_info_band()
1617 mode = &phy_info->modes[*(phy_info->num_modes)]; in phy_info_band()
1638 mode = &phy_info->modes[*(phy_info->num_modes) - 1]; in phy_info_band()
1687 wpa_driver_nl80211_postprocess_modes(struct hostapd_hw_modes *modes, in wpa_driver_nl80211_postprocess_modes() argument
1696 if (!modes[m].num_channels) in wpa_driver_nl80211_postprocess_modes()
1698 if (modes[m].channels[0].freq < 4000) { in wpa_driver_nl80211_postprocess_modes()
1699 modes[m].mode = HOSTAPD_MODE_IEEE80211B; in wpa_driver_nl80211_postprocess_modes()
1700 for (i = 0; i < modes[m].num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
[all …]
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom02.c34 static int modes[] = { 0, GRND_RANDOM, GRND_NONBLOCK, variable
65 TEST(tst_syscall(__NR_getrandom, buf, sizeof(buf), modes[n])); in verify_getrandom()
66 } while ((modes[n] & GRND_NONBLOCK) && TST_RET == -1 in verify_getrandom()
76 .tcnt = ARRAY_SIZE(modes),
Dgetrandom01.c33 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK, variable
38 TEST(tst_syscall(__NR_getrandom, NULL, 100, modes[n])); in verify_getrandom()
49 .tcnt = ARRAY_SIZE(modes),
/external/guava/guava/src/com/google/common/io/
DFiles.java184 public static ByteSink asByteSink(File file, FileWriteMode... modes) { in asByteSink() argument
185 return new FileByteSink(file, modes); in asByteSink()
191 private final ImmutableSet<FileWriteMode> modes; field in Files.FileByteSink
193 private FileByteSink(File file, FileWriteMode... modes) { in FileByteSink() argument
195 this.modes = ImmutableSet.copyOf(modes); in FileByteSink()
200 return new FileOutputStream(file, modes.contains(APPEND)); in openStream()
205 return "Files.asByteSink(" + file + ", " + modes + ")"; in toString()
230 FileWriteMode... modes) { in asCharSink() argument
231 return asByteSink(file, modes).asCharSink(charset); in asCharSink()
234 private static FileWriteMode[] modes(boolean append) { in modes() method in Files
[all …]
/external/libdrm/tests/modeprint/
Dmodeprint.c50 int modes; variable
196 if (modes) { in printConnector()
198 mode = (struct drm_mode_modeinfo *)&connector->modes[i]; in printConnector()
339 modes = 0; in args()
357 modes = 1; in args()
361 modes = 1; in args()
365 modes = 1; in args()
383 modes = 1; in args()
398 modes = 1; in args()
/external/mesa3d/src/mesa/main/
Dquerymatrix.c60 } modes[] = { in _mesa_QueryMatrixxOES() local
78 for (i = 0; i < ARRAY_SIZE(modes); i++) { in _mesa_QueryMatrixxOES()
79 if (modes[i].currentMode == currentMode) { in _mesa_QueryMatrixxOES()
80 desiredMatrix = modes[i].desiredMatrix; in _mesa_QueryMatrixxOES()
/external/strace/tests-m32/
Dopenat.c79 } modes[] = { in main() local
119 for (unsigned int m = 0; m < ARRAY_SIZE(modes); ++m) in main()
121 test_mode_flag(modes[m].val, modes[m].str, in main()
/external/strace/tests-mx32/
Dopenat.c79 } modes[] = { in main() local
119 for (unsigned int m = 0; m < ARRAY_SIZE(modes); ++m) in main()
121 test_mode_flag(modes[m].val, modes[m].str, in main()
/external/strace/tests/
Dopenat.c79 } modes[] = { in main() local
119 for (unsigned int m = 0; m < ARRAY_SIZE(modes); ++m) in main()
121 test_mode_flag(modes[m].val, modes[m].str, in main()
/external/boringssl/src/crypto/fipsmodule/
DCMakeLists.txt87 perlasm(aesni-gcm-x86_64.${ASM_EXT} modes/asm/aesni-gcm-x86_64.pl)
98 perlasm(ghash-armv4.${ASM_EXT} modes/asm/ghash-armv4.pl)
99 perlasm(ghashp8-ppc.${ASM_EXT} modes/asm/ghashp8-ppc.pl)
100 perlasm(ghashv8-armx.${ASM_EXT} modes/asm/ghashv8-armx.pl)
101 perlasm(ghash-neon-armv8.${ASM_EXT} modes/asm/ghash-neon-armv8.pl)
102 perlasm(ghash-ssse3-x86_64.${ASM_EXT} modes/asm/ghash-ssse3-x86_64.pl)
103 perlasm(ghash-ssse3-x86.${ASM_EXT} modes/asm/ghash-ssse3-x86.pl)
104 perlasm(ghash-x86_64.${ASM_EXT} modes/asm/ghash-x86_64.pl)
105 perlasm(ghash-x86.${ASM_EXT} modes/asm/ghash-x86.pl)

12345678910>>...32