Home
last modified time | relevance | path

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

12345678910>>...18

/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c252 struct gl_config *modes; in driCreateConfigs() local
337 modes = &(*c)->modes; in driCreateConfigs()
340 memset(modes, 0, sizeof *modes); in driCreateConfigs()
341 modes->redBits = bits[0]; in driCreateConfigs()
342 modes->greenBits = bits[1]; in driCreateConfigs()
343 modes->blueBits = bits[2]; in driCreateConfigs()
344 modes->alphaBits = bits[3]; in driCreateConfigs()
345 modes->redMask = masks[0]; in driCreateConfigs()
346 modes->greenMask = masks[1]; in driCreateConfigs()
347 modes->blueMask = masks[2]; in driCreateConfigs()
[all …]
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/
DLwjglApplicationConfiguration.java151 ArrayList<DisplayMode> modes = new ArrayList<DisplayMode>(); in getDisplayModes() local
155 for (int i = 0; i < modes.size(); i++) { in getDisplayModes()
156 if (modes.get(i).width == mode.getWidth() && modes.get(i).height == mode.getHeight() in getDisplayModes()
157 && modes.get(i).bitsPerPixel == mode.getBitDepth()) { in getDisplayModes()
164modes.add(new LwjglApplicationConfigurationDisplayMode(mode.getWidth(), mode.getHeight(), mode.get… in getDisplayModes()
168 return modes.toArray(new DisplayMode[modes.size()]); in getDisplayModes()
/external/skia/src/effects/
DSkMergeImageFilter.cpp31 void SkMergeImageFilter::initModes(const SkXfermode::Mode modes[]) { in initModes() argument
32 if (modes) { in initModes()
36 fModes[i] = SkToU8(modes[i]); in initModes()
44 const SkXfermode::Mode modes[], in SkMergeImageFilter() argument
48 this->initModes(modes); in SkMergeImageFilter()
135 SkAutoSTArray<4, SkXfermode::Mode> modes(count); in CreateProc() local
141 modes[i] = (SkXfermode::Mode)modes8[i]; in CreateProc()
142 buffer.validate(SkIsValidMode(modes[i])); in CreateProc()
147 return Create(common.inputs(), count, modes.get(), &common.cropRect()); in CreateProc()
/external/skia/include/effects/
DSkMergeImageFilter.h23 SkXfermode::Mode modes[2] = { mode, mode }; variable
24 return new SkMergeImageFilter(inputs, 2, modes, cropRect);
28 const SkXfermode::Mode modes[] = NULL,
30 return new SkMergeImageFilter(filters, count, modes, cropRect);
42 SkMergeImageFilter(SkImageFilter* filters[], int count, const SkXfermode::Mode modes[],
/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/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c997 struct hostapd_hw_modes *modes; member
1189 mode = os_realloc_array(phy_info->modes, in phy_info_band()
1196 phy_info->modes = mode; in phy_info_band()
1198 mode = &phy_info->modes[*(phy_info->num_modes)]; in phy_info_band()
1219 mode = &phy_info->modes[*(phy_info->num_modes) - 1]; in phy_info_band()
1268 wpa_driver_nl80211_postprocess_modes(struct hostapd_hw_modes *modes, in wpa_driver_nl80211_postprocess_modes() argument
1277 if (!modes[m].num_channels) in wpa_driver_nl80211_postprocess_modes()
1279 if (modes[m].channels[0].freq < 4000) { in wpa_driver_nl80211_postprocess_modes()
1280 modes[m].mode = HOSTAPD_MODE_IEEE80211B; in wpa_driver_nl80211_postprocess_modes()
1281 for (i = 0; i < modes[m].num_rates; i++) { in wpa_driver_nl80211_postprocess_modes()
[all …]
/external/mesa3d/src/glx/
Dvertarr.c137 static const modes[14][4] = { in __indirect_glInterleavedArrays() local
184 offsets[i] = (modes[idx][i].count != 0) ? size : -1; in __indirect_glInterleavedArrays()
185 size += modes[idx][i].size; in __indirect_glInterleavedArrays()
194 __indirect_glTexCoordPointer(modes[idx][0].count, GL_FLOAT, in __indirect_glInterleavedArrays()
199 __indirect_glColorPointer(modes[idx][1].count, modes[idx][1].type, in __indirect_glInterleavedArrays()
209 __indirect_glVertexPointer(modes[idx][3].count, GL_FLOAT, in __indirect_glInterleavedArrays()
Drenderpix.c84 GLubyte * pc, GLubyte * modes) in __glXSendLargeImage() argument
96 src, buf, modes); in __glXSendLargeImage()
100 (void) memcpy(modes, __glXDefaultPixelStore + 4, 20); in __glXSendLargeImage()
103 (void) memcpy(modes, __glXDefaultPixelStore + 0, 36); in __glXSendLargeImage()
/external/libgdx/tests/gdx-tests-lwjgl3/src/com/badlogic/gdx/tests/lwjgl3/
DGlfwTest.java33 Buffer modes = glfwGetVideoModes(glfwGetPrimaryMonitor()); in main() local
34 for(int i = 0; i < modes.limit(); i++) { in main()
35 System.out.println(modes.get(i).width() + "x" + modes.get(i).height()); in main()
37 GLFWVidMode mode = modes.get(7); in main()
/external/mesa3d/src/mesa/main/
Dquerymatrix.c116 } modes[] = { in _es_QueryMatrixxOES() local
134 for (i = 0; i < sizeof(modes)/sizeof(modes[0]); i++) { in _es_QueryMatrixxOES()
135 if (modes[i].currentMode == currentMode) { in _es_QueryMatrixxOES()
136 desiredMatrix = modes[i].desiredMatrix; in _es_QueryMatrixxOES()
/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/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/
DJglfwApplicationConfiguration.java79 Array<DisplayMode> modes = new Array(); in getDisplayModes() local
82 for (DisplayMode other : modes) in getDisplayModes()
86modes.add(new JglfwDisplayMode(mode.getWidth(), mode.getHeight(), mode.getRefreshRate(), mode.getB… in getDisplayModes()
88 return modes.toArray(DisplayMode.class); in getDisplayModes()
/external/skia/gm/
Dlumafilter.cpp111 SkXfermode::Mode modes[] = { SkXfermode::kSrcOver_Mode, in onDraw() local
129 for (size_t i = 0; i < SK_ARRAY_COUNT(modes); ++i) { in onDraw()
130 draw_label(canvas, SkXfermode::ModeName(modes[i]), in onDraw()
137 for (size_t m = 0; m < SK_ARRAY_COUNT(modes); ++m) { in onDraw()
138 draw_scene(canvas, fFilter, modes[m], shaders[i].fShader1, in onDraw()
Dimagefilters.cpp54 const SkXfermode::Mode modes[] = { variable
58 for (size_t i = 0; i < SK_ARRAY_COUNT(modes); ++i) {
60 do_draw(canvas, modes[i], nullptr);
62 do_draw(canvas, modes[i], imf);
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dglxinit.c83 _gl_context_modes_destroy(__GLcontextModes * modes) in _gl_context_modes_destroy() argument
85 while (modes != NULL) { in _gl_context_modes_destroy()
86 __GLcontextModes *const next = modes->next; in _gl_context_modes_destroy()
88 Xfree(modes); in _gl_context_modes_destroy()
89 modes = next; in _gl_context_modes_destroy()
473 __GLcontextModes *modes, *m; in createConfigsFromProperties() local
486 modes = _gl_context_modes_create(nvisuals, sizeof(__GLcontextModes)); in createConfigsFromProperties()
487 if (!modes) in createConfigsFromProperties()
497 m = modes; in createConfigsFromProperties()
511 return modes; in createConfigsFromProperties()
Dx11_screen.c421 x11_context_modes_destroy(__GLcontextModes *modes) in x11_context_modes_destroy() argument
423 while (modes != NULL) { in x11_context_modes_destroy()
424 __GLcontextModes *next = modes->next; in x11_context_modes_destroy()
425 FREE(modes); in x11_context_modes_destroy()
426 modes = next; in x11_context_modes_destroy()
434 x11_context_modes_count(const __GLcontextModes *modes) in x11_context_modes_count() argument
438 for (mode = modes; mode; mode = mode->next) in x11_context_modes_count()
/external/opencv3/samples/python2/
Dmorphology.py39 modes = cycle(['erode/dilate', 'open/close', 'blackhat/tophat', 'gradient']) variable
41 cur_mode = modes.next()
76 cur_mode = modes.next()
/external/autotest/client/cros/multimedia/
Ddisplay_facade_native.py162 modes = self.get_display_modes(display_index)
163 if modes:
164 if 'originalWidth' in modes[0]:
169 for mode in modes]))
172 return [(mode['width'], mode['height']) for mode in modes
227 modes = tab.EvaluateJavaScript(
233 for mode in modes:
/external/mesa3d/src/egl/main/
Deglmode.c261 const EGLint *attrib_list, EGLModeMESA *modes, in _eglChooseModeMESA() argument
291 modes[i] = modeList[i]->Handle; in _eglChooseModeMESA()
309 EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes) in _eglGetModesMESA() argument
311 if (modes) { in _eglGetModesMESA()
315 modes[i] = scrn->Modes[i].Handle; in _eglGetModesMESA()
/external/boringssl/
Dsources.mk160 src/crypto/modes/cbc.c\
161 src/crypto/modes/cfb.c\
162 src/crypto/modes/ctr.c\
163 src/crypto/modes/gcm.c\
164 src/crypto/modes/ofb.c\
335 linux-aarch64/crypto/modes/ghashv8-armx64.S\
345 linux-arm/crypto/modes/ghash-armv4.S\
346 linux-arm/crypto/modes/ghashv8-armx32.S\
363 linux-x86/crypto/modes/ghash-x86.S\
380 linux-x86_64/crypto/modes/aesni-gcm-x86_64.S\
[all …]
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_output.c129 DisplayModePtr modes = NULL, mode = NULL; in output_get_modes() local
161 drm_mode = &drm_connector->modes[i]; in output_get_modes()
186 modes = xf86ModesAdd(modes, mode); in output_get_modes()
191 return modes; in output_get_modes()
/external/blktrace/btt/
Dseek.c169 if (mp->modes == NULL) { in __mode()
170 mp->modes = malloc(sizeof(long long)); in __mode()
175 mp->modes = realloc(mp->modes, (mp->nmds + 1) * in __mode()
181 mp->modes[mp->nmds++] = sbp->sectors; in __mode()
/external/toybox/toys/lsb/
Dmknod.c40 mode_t modes[] = {S_IFIFO, S_IFCHR, S_IFCHR, S_IFBLK}; local
56 if (mknod(*toys.optargs, mode|modes[type], makedev(major, minor)))
/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_learn.c353 struct hostapd_hw_modes *modes; in bgscan_learn_get_supp_freqs() local
357 modes = wpa_s->hw.modes; in bgscan_learn_get_supp_freqs()
358 if (modes == NULL) in bgscan_learn_get_supp_freqs()
362 for (j = 0; j < modes[i].num_channels; j++) { in bgscan_learn_get_supp_freqs()
363 if (modes[i].channels[j].flag & HOSTAPD_CHAN_DISABLED) in bgscan_learn_get_supp_freqs()
366 if (in_array(freqs, modes[i].channels[j].freq)) in bgscan_learn_get_supp_freqs()
373 freqs[count] = modes[i].channels[j].freq; in bgscan_learn_get_supp_freqs()

12345678910>>...18