Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 6305) sorted by relevance

12345678910>>...253

/third_party/mesa3d/src/glx/
Dglxconfig.c52 glx_config_get(struct glx_config * mode, int attribute, int *value_return) in glx_config_get() argument
59 *value_return = mode->rgbBits; in glx_config_get()
62 *value_return = !(mode->renderType & GLX_COLOR_INDEX_BIT); in glx_config_get()
65 *value_return = mode->redBits; in glx_config_get()
68 *value_return = mode->greenBits; in glx_config_get()
71 *value_return = mode->blueBits; in glx_config_get()
74 *value_return = mode->alphaBits; in glx_config_get()
77 *value_return = mode->doubleBufferMode; in glx_config_get()
80 *value_return = mode->stereoMode; in glx_config_get()
83 *value_return = mode->numAuxBuffers; in glx_config_get()
[all …]
/third_party/e2fsprogs/tests/f_journal/
Dexpect.12 Clearing orphaned inode 37 (uid=0, gid=0, mode=0100600, size=4096)
3 Clearing orphaned inode 90 (uid=0, gid=0, mode=040700, size=1024)
4 Clearing orphaned inode 67 (uid=0, gid=0, mode=0100600, size=4096)
5 Clearing orphaned inode 50 (uid=0, gid=0, mode=0100600, size=4096)
6 Clearing orphaned inode 57 (uid=0, gid=0, mode=040700, size=1024)
7 Clearing orphaned inode 80 (uid=0, gid=0, mode=040700, size=1024)
8 Clearing orphaned inode 45 (uid=0, gid=0, mode=040700, size=1024)
9 Clearing orphaned inode 71 (uid=0, gid=0, mode=0100600, size=4096)
10 Clearing orphaned inode 86 (uid=0, gid=0, mode=040700, size=1024)
11 Clearing orphaned inode 83 (uid=0, gid=0, mode=040700, size=1024)
[all …]
/third_party/openssl/engines/asm/
De_padlock-x86_64.pl282 my ($mode,$opcode) = @_;
286 .globl padlock_${mode}_encrypt
287 .type padlock_${mode}_encrypt,\@function,4
289 padlock_${mode}_encrypt:
295 jnz .L${mode}_abort
297 jnz .L${mode}_abort
306 jnz .L${mode}_aligned
312 jnz .L${mode}_aligned
327 $code.=<<___ if ($mode eq "ctr32");
328 .L${mode}_reenter:
[all …]
De_padlock-x86.pl186 my ($mode,$opcode) = @_;
189 &function_begin("padlock_${mode}_encrypt");
195 &jnz (&label("${mode}_abort"));
197 &jnz (&label("${mode}_abort"));
199 &DWP(&label("padlock_saved_context")."-".&label("${mode}_pic_point")));
203 &set_label("${mode}_pic_point");
206 if ($mode eq "ctr32") {
211 &jnz (&label("${mode}_aligned"));
217 &jnz (&label("${mode}_aligned"));
236 if ($PADLOCK_PREFETCH{$mode}) {
[all …]
/third_party/python/Modules/
D_stat.c92 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) argument
96 # define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO) argument
100 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) argument
104 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) argument
108 # define S_ISDOOR(mode) 0 argument
112 # define S_ISPORT(mode) 0 argument
116 # define S_ISWHT(mode) 0 argument
255 mode_t mode; in _PyLong_AsMode_t() local
261 mode = (mode_t)value; in _PyLong_AsMode_t()
262 if ((unsigned long)mode != value) { in _PyLong_AsMode_t()
[all …]
/third_party/boost/boost/math/distributions/
Dtriangular.hpp53 RealType mode, in check_triangular_mode() argument
56 if((boost::math::isfinite)(mode)) in check_triangular_mode()
64 "Mode parameter is %1%, but must be finite!", mode, pol); in check_triangular_mode()
111 RealType mode, in check_triangular() argument
116 || (check_triangular_mode(function, mode, result, pol) == false) in check_triangular()
130 if (mode < lower) in check_triangular()
137 if (mode > upper) in check_triangular()
170 RealType mode()const in mode() function in boost::math::triangular_distribution
206 RealType mode = dist.mode(); in pdf() local
209 if(false == detail::check_triangular(function, lower, mode, upper, &result, Policy())) in pdf()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuTexVerifierUtil.hpp69 inline bool isNearestMipmapFilter(const Sampler::FilterMode mode) in isNearestMipmapFilter() argument
71 …return mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode =… in isNearestMipmapFilter()
74 inline bool isLinearMipmapFilter(const Sampler::FilterMode mode) in isLinearMipmapFilter() argument
76 …return mode == Sampler::NEAREST_MIPMAP_LINEAR || mode == Sampler::LINEAR_MIPMAP_LINEAR || mode == … in isLinearMipmapFilter()
79 inline bool isMipmapFilter(const Sampler::FilterMode mode) in isMipmapFilter() argument
81 return isNearestMipmapFilter(mode) || isLinearMipmapFilter(mode); in isMipmapFilter()
84 inline bool isNearestFilter(const Sampler::FilterMode mode) in isNearestFilter() argument
86 …return mode == Sampler::NEAREST || mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::NEA… in isNearestFilter()
89 inline bool isLinearFilter(const Sampler::FilterMode mode) in isLinearFilter() argument
91 …return mode == Sampler::LINEAR || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode == Sampler::LINEA… in isLinearFilter()
[all …]
/third_party/flutter/glfw/tests/
Dmonitors.c52 static const char* format_mode(const GLFWvidmode* mode) in format_mode() argument
58 mode->width, mode->height, in format_mode()
59 mode->redBits + mode->greenBits + mode->blueBits, in format_mode()
60 mode->redBits, mode->greenBits, mode->blueBits, in format_mode()
61 mode->refreshRate); in format_mode()
88 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in list_modes() local
97 printf("Current mode: %s\n", format_mode(mode)); in list_modes()
101 widthMM, heightMM, mode->width * 25.4f / widthMM); in list_modes()
109 if (memcmp(mode, modes + i, sizeof(GLFWvidmode)) == 0) in list_modes()
124 const GLFWvidmode* mode = modes + i; in test_modes() local
[all …]
/third_party/typescript/tests/baselines/reference/
DstrictModeReservedWordInClassDeclaration.errors.txt1 …xpected. 'private' is a reserved word in strict mode. Class definitions are automatically in stric…
2 …expected. 'public' is a reserved word in strict mode. Class definitions are automatically in stric…
3 …expected. 'static' is a reserved word in strict mode. Class definitions are automatically in stric…
4 …xpected. 'private' is a reserved word in strict mode. Class definitions are automatically in stric…
5 …expected. 'public' is a reserved word in strict mode. Class definitions are automatically in stric…
6 …expected. 'static' is a reserved word in strict mode. Class definitions are automatically in stric…
7 …expected. 'public' is a reserved word in strict mode. Class definitions are automatically in stric…
8 …expected. 'public' is a reserved word in strict mode. Class definitions are automatically in stric…
9 …er expected. 'let' is a reserved word in strict mode. Class definitions are automatically in stric…
10 …xpected. 'private' is a reserved word in strict mode. Class definitions are automatically in stric…
[all …]
/third_party/python/Lib/
Dtty.py20 mode = tcgetattr(fd)
21 mode[IFLAG] = mode[IFLAG] & ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
22 mode[OFLAG] = mode[OFLAG] & ~(OPOST)
23 mode[CFLAG] = mode[CFLAG] & ~(CSIZE | PARENB)
24 mode[CFLAG] = mode[CFLAG] | CS8
25 mode[LFLAG] = mode[LFLAG] & ~(ECHO | ICANON | IEXTEN | ISIG)
26 mode[CC][VMIN] = 1
27 mode[CC][VTIME] = 0
28 tcsetattr(fd, when, mode)
32 mode = tcgetattr(fd)
[all …]
Dstat.py21 def S_IMODE(mode): argument
25 return mode & 0o7777
27 def S_IFMT(mode): argument
31 return mode & 0o170000
50 def S_ISDIR(mode): argument
52 return S_IFMT(mode) == S_IFDIR
54 def S_ISCHR(mode): argument
56 return S_IFMT(mode) == S_IFCHR
58 def S_ISBLK(mode): argument
60 return S_IFMT(mode) == S_IFBLK
[all …]
/third_party/weston/libweston/backend-drm/
Dmodes.c101 drm_mode_ensure_blob(struct drm_backend *backend, struct drm_mode *mode) in drm_mode_ensure_blob() argument
105 if (mode->blob_id) in drm_mode_ensure_blob()
109 &mode->mode_info, in drm_mode_ensure_blob()
110 sizeof(mode->mode_info), in drm_mode_ensure_blob()
111 &mode->blob_id); in drm_mode_ensure_blob()
117 (unsigned long) mode->blob_id, mode->mode_info.name); in drm_mode_ensure_blob()
157 parse_modeline(const char *s, drmModeModeInfo *mode) in parse_modeline() argument
163 memset(mode, 0, sizeof *mode); in parse_modeline()
165 mode->type = DRM_MODE_TYPE_USERDEF; in parse_modeline()
166 mode->hskew = 0; in parse_modeline()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dop_classes.c19 static enum chan_allowed allow_channel(struct hostapd_hw_modes *mode, u8 chan, in allow_channel() argument
24 for (i = 0; i < mode->num_channels; i++) { in allow_channel()
25 if (mode->channels[i].chan == chan) in allow_channel()
29 if (i == mode->num_channels || in allow_channel()
30 (mode->channels[i].flag & HOSTAPD_CHAN_DISABLED)) in allow_channel()
34 *flags = mode->channels[i].flag; in allow_channel()
36 if (mode->channels[i].flag & HOSTAPD_CHAN_NO_IR) in allow_channel()
43 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel) in get_center_80mhz() argument
48 if (mode->mode != HOSTAPD_MODE_IEEE80211A) in get_center_80mhz()
65 static enum chan_allowed verify_80mhz(struct hostapd_hw_modes *mode, u8 channel) in verify_80mhz() argument
[all …]
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen11.c67 mode_t mode; member
75 .mode = 0644,
82 .mode = 0644,
89 .mode = 0644,
96 .mode = 0644,
103 .mode = 0644,
111 .mode = 0755,
118 .mode = 0755,
125 .mode = 0644,
133 .mode = 0644,
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dop_classes.c20 static enum chan_allowed allow_channel(struct hostapd_hw_modes *mode, in allow_channel() argument
27 for (i = 0; i < mode->num_channels; i++) { in allow_channel()
30 chan_is_6ghz = mode->channels[i].freq >= 5935 && in allow_channel()
31 mode->channels[i].freq <= 7115; in allow_channel()
32 if (is_6ghz == chan_is_6ghz && mode->channels[i].chan == chan) in allow_channel()
36 if (i == mode->num_channels || in allow_channel()
37 (mode->channels[i].flag & HOSTAPD_CHAN_DISABLED)) in allow_channel()
41 *flags = mode->channels[i].flag; in allow_channel()
43 if (mode->channels[i].flag & HOSTAPD_CHAN_NO_IR) in allow_channel()
50 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel, in get_center_80mhz() argument
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Ddissect.c63 *do_expression(usage_t mode, struct expression *expr),
64 *do_statement(usage_t mode, struct statement *stmt);
71 static inline usage_t u_rval(usage_t mode) in u_rval() argument
73 return mode & (U_R_VAL | (U_MASK << U_SHIFT)) in u_rval()
77 static inline usage_t u_addr(usage_t mode) in u_addr() argument
79 return mode = mode & U_MASK in u_addr()
80 ? U_R_AOF | (mode & U_W_AOF) : 0; in u_addr()
90 static usage_t fix_mode(struct symbol *type, usage_t mode) in fix_mode() argument
92 mode &= (U_SELF | (U_SELF << U_SHIFT)); in fix_mode()
100 if (mode & U_MASK) in fix_mode()
[all …]
/third_party/flutter/skia/src/core/
DSkModeColorFilter.cpp26 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { in SkModeColorFilter() argument
28 fMode = mode; in SkModeColorFilter()
31 bool SkModeColorFilter::onAsAColorMode(SkColor* color, SkBlendMode* mode) const { in onAsAColorMode()
35 if (mode) { in onAsAColorMode()
36 *mode = fMode; in onAsAColorMode()
60 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); in CreateProc() local
61 return SkColorFilters::Blend(color, mode); in CreateProc()
107 sk_sp<SkColorFilter> SkColorFilters::Blend(SkColor color, SkBlendMode mode) { in Blend() argument
108 if (!SkIsValidMode(mode)) { in Blend()
116 if (SkBlendMode::kClear == mode) { in Blend()
[all …]
DSkXfermode.cpp30 SkProcCoeffXfermode(SkBlendMode mode) : fMode(mode) {} in SkProcCoeffXfermode() argument
67 const char* SkBlendMode_Name(SkBlendMode mode) { in SkBlendMode_Name() argument
68 SkASSERT((unsigned) mode <= (unsigned)SkBlendMode::kLastMode); in SkBlendMode_Name()
76 return gModeStrings[(int)mode]; in SkBlendMode_Name()
80 sk_sp<SkXfermode> SkXfermode::Make(SkBlendMode mode) { in Make() argument
81 if ((unsigned)mode > (unsigned)SkBlendMode::kLastMode) { in Make()
88 if (SkBlendMode::kSrcOver == mode) { in Make()
97 once[(int)mode]([mode] { in Make()
98 if (auto xfermode = SkOpts::create_xfermode(mode)) { in Make()
99 cached[(int)mode] = xfermode; in Make()
[all …]
/third_party/skia/src/core/
DSkXfermode.cpp29 SkProcCoeffXfermode(SkBlendMode mode) : fMode(mode) {} in SkProcCoeffXfermode() argument
66 const char* SkBlendMode_Name(SkBlendMode mode) { in SkBlendMode_Name() argument
67 SkASSERT((unsigned) mode <= (unsigned)SkBlendMode::kLastMode); in SkBlendMode_Name()
75 return gModeStrings[(int)mode]; in SkBlendMode_Name()
79 sk_sp<SkXfermode> SkXfermode::Make(SkBlendMode mode) { in Make() argument
80 if ((unsigned)mode > (unsigned)SkBlendMode::kLastMode) { in Make()
87 if (SkBlendMode::kSrcOver == mode) { in Make()
96 once[(int)mode]([mode] { in Make()
97 if (auto xfermode = SkOpts::create_xfermode(mode)) { in Make()
98 cached[(int)mode] = xfermode; in Make()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_modes.c49 SDL_DisplayMode mode; in EnumModesCallback() local
51 mode.w = width; in EnumModesCallback()
52 mode.h = height; in EnumModesCallback()
53 mode.refresh_rate = 0; in EnumModesCallback()
54 mode.driverdata = NULL; in EnumModesCallback()
55 mode.format = SDL_PIXELFORMAT_UNKNOWN; in EnumModesCallback()
58 modedata->modelist[modedata->nummodes++] = mode; in EnumModesCallback()
93 …ckSetDisplayMode(_THIS, SDL_VideoDisplay * display, DFB_DisplayData * data, SDL_DisplayMode * mode) in CheckSetDisplayMode() argument
101 config.width = mode->w; in CheckSetDisplayMode()
102 config.height = mode->h; in CheckSetDisplayMode()
[all …]
/third_party/mesa3d/src/mesa/main/
Dpolygon.c55 cull_face(struct gl_context *ctx, GLenum mode, bool no_error) in cull_face() argument
57 if (ctx->Polygon.CullFaceMode == mode) in cull_face()
61 mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK) { in cull_face()
69 ctx->Polygon.CullFaceMode = mode; in cull_face()
72 ctx->Driver.CullFace(ctx, mode); in cull_face()
77 _mesa_CullFace_no_error(GLenum mode) in _mesa_CullFace_no_error() argument
80 cull_face(ctx, mode, true); in _mesa_CullFace_no_error()
85 _mesa_CullFace(GLenum mode) in _mesa_CullFace() argument
90 _mesa_debug(ctx, "glCullFace %s\n", _mesa_enum_to_string(mode)); in _mesa_CullFace()
92 cull_face(ctx, mode, false); in _mesa_CullFace()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmodes.c35 SDL_DisplayMode *mode; member
57 hsize = data->mode->w / data->mode_data->HorzDPI; in WIN_GetMonitorDPI()
58 vsize = data->mode->h / data->mode_data->VertDPI; in WIN_GetMonitorDPI()
60 data->mode_data->DiagDPI = SDL_ComputeDiagonalDPI( data->mode->w, in WIN_GetMonitorDPI()
61 data->mode->h, in WIN_GetMonitorDPI()
74 WIN_UpdateDisplayMode(_THIS, LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode) in WIN_UpdateDisplayMode() argument
77 SDL_DisplayModeData *data = (SDL_DisplayModeData *) mode->driverdata; in WIN_UpdateDisplayMode()
94 mode->w = logical_width; in WIN_UpdateDisplayMode()
95 mode->h = logical_height; in WIN_UpdateDisplayMode()
104 dpi_data.mode = mode; in WIN_UpdateDisplayMode()
[all …]
/third_party/libwebsockets/win32port/zlib/
Dgzlib.c74 if (state->mode == GZ_READ) { /* for reading ... */
87 local gzFile gz_open(path, fd, mode) in gz_open() argument
90 const char *mode;
103 state->mode = GZ_NONE;
106 while (*mode) {
107 if (*mode >= '0' && *mode <= '9')
108 state->level = *mode - '0';
110 switch (*mode) {
112 state->mode = GZ_READ;
116 state->mode = GZ_WRITE;
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgsttagsetter.c83 GstTagMergeMode mode; member
131 data->mode = GST_TAG_MERGE_KEEP; in gst_tag_setter_get_data()
176 GstTagMergeMode mode) in gst_tag_setter_merge_tags() argument
181 g_return_if_fail (GST_TAG_MODE_IS_VALID (mode)); in gst_tag_setter_merge_tags()
188 if (mode != GST_TAG_MERGE_KEEP_ALL) in gst_tag_setter_merge_tags()
191 gst_tag_list_insert (data->list, list, mode); in gst_tag_setter_merge_tags()
207 gst_tag_setter_add_tags (GstTagSetter * setter, GstTagMergeMode mode, in gst_tag_setter_add_tags() argument
213 g_return_if_fail (GST_TAG_MODE_IS_VALID (mode)); in gst_tag_setter_add_tags()
216 gst_tag_setter_add_tag_valist (setter, mode, tag, args); in gst_tag_setter_add_tags()
231 gst_tag_setter_add_tag_values (GstTagSetter * setter, GstTagMergeMode mode, in gst_tag_setter_add_tag_values() argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpbvpay.c109 rtpbvpay->mode = -1; in gst_rtp_bv_pay_init()
120 gint mode; in gst_rtp_bv_pay_sink_setcaps() local
133 if (!gst_structure_get_int (structure, "mode", &mode)) in gst_rtp_bv_pay_sink_setcaps()
136 if (mode != 16 && mode != 32) in gst_rtp_bv_pay_sink_setcaps()
139 if (mode == 16) { in gst_rtp_bv_pay_sink_setcaps()
151 mode, mode == 16 ? 10 : 20); in gst_rtp_bv_pay_sink_setcaps()
153 if (mode != rtpbvpay->mode && rtpbvpay->mode != -1) in gst_rtp_bv_pay_sink_setcaps()
156 rtpbvpay->mode = mode; in gst_rtp_bv_pay_sink_setcaps()
174 GST_ERROR_OBJECT (rtpbvpay, "mode must be 16 or 32, received %d", mode); in gst_rtp_bv_pay_sink_setcaps()
180 "Mode cannot change while streaming", rtpbvpay->mode, mode); in gst_rtp_bv_pay_sink_setcaps()
[all …]

12345678910>>...253