Home
last modified time | relevance | path

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

12345678910>>...25

/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/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/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/mesa3d/src/compiler/nir/
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_remove_dead_variables.c159 nir_remove_dead_variables(nir_shader *shader, nir_variable_mode modes) in nir_remove_dead_variables() argument
167 if (modes & nir_var_uniform) in nir_remove_dead_variables()
170 if (modes & nir_var_shader_in) in nir_remove_dead_variables()
173 if (modes & nir_var_shader_out) in nir_remove_dead_variables()
176 if (modes & nir_var_global) in nir_remove_dead_variables()
179 if (modes & nir_var_system_value) in nir_remove_dead_variables()
182 if (modes & nir_var_shared) in nir_remove_dead_variables()
185 if (modes & nir_var_local) { in nir_remove_dead_variables()
/external/v8/tools/testrunner/local/
Dperfdata.py107 modes = self.stores[arch]
108 for mode in modes:
109 store = modes[mode]
117 modes = self.stores[arch]
118 if not mode in modes:
119 modes[mode] = PerfDataStore(self.datadir, arch, mode)
120 return modes[mode]
/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.c1229 struct hostapd_hw_modes *modes; member
1422 mode = os_realloc_array(phy_info->modes, in phy_info_band()
1429 phy_info->modes = mode; in phy_info_band()
1431 mode = &phy_info->modes[*(phy_info->num_modes)]; in phy_info_band()
1452 mode = &phy_info->modes[*(phy_info->num_modes) - 1]; in phy_info_band()
1501 wpa_driver_nl80211_postprocess_modes(struct hostapd_hw_modes *modes, in wpa_driver_nl80211_postprocess_modes() argument
1510 if (!modes[m].num_channels) in wpa_driver_nl80211_postprocess_modes()
1512 if (modes[m].channels[0].freq < 4000) { in wpa_driver_nl80211_postprocess_modes()
1513 modes[m].mode = HOSTAPD_MODE_IEEE80211B; in wpa_driver_nl80211_postprocess_modes()
1514 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) && TEST_RETURN == -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/
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-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/v8/tools/dev/
Dgm.py210 def PopulateConfigs(self, arches, modes, targets, tests): argument
212 for m in modes:
233 modes = []
255 modes.append(word)
270 modes = modes or DEFAULT_MODES
273 self.PopulateConfigs(arches, modes, targets, tests)
/external/python/cpython3/Lib/
Dcsv.py308 modes = {}
328 modes[char] = max(items, key=lambda x: x[1])
331 items.remove(modes[char])
332 modes[char] = (modes[char][0], modes[char][1]
335 modes[char] = items[0]
338 modeList = modes.items()
/external/python/cpython2/Lib/
Dcsv.py309 modes = {}
329 modes[char] = reduce(lambda a, b: a[1] > b[1] and a or b,
333 items.remove(modes[char])
334 modes[char] = (modes[char][0], modes[char][1]
338 modes[char] = items[0]
341 modeList = modes.items()
/external/skqp/gm/
Dlumafilter.cpp106 SkBlendMode modes[] = { in onDraw() local
125 for (size_t i = 0; i < SK_ARRAY_COUNT(modes); ++i) { in onDraw()
126 draw_label(canvas, SkBlendMode_Name(modes[i]), in onDraw()
133 for (size_t m = 0; m < SK_ARRAY_COUNT(modes); ++m) { in onDraw()
134 draw_scene(canvas, fFilter, modes[m], shaders[i].fShader1, in onDraw()

12345678910>>...25