Home
last modified time | relevance | path

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

12345678910>>...258

/external/libopus/celt/dump_modes/
Ddump_modes.c60 CELTMode *mode = modes[i]; in dump_modes() local
61 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes()
75 CELTMode *mode = modes[i]; in dump_modes() local
79 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; in dump_modes()
80 standard = (mode->Fs == 400*(opus_int32)mode->shortMdctSize); in dump_modes()
81 framerate = mode->Fs/mode->shortMdctSize; in dump_modes()
85 fprintf(file, "#ifndef DEF_EBANDS%d_%d\n", mode->Fs, mdctSize); in dump_modes()
86 fprintf(file, "#define DEF_EBANDS%d_%d\n", mode->Fs, mdctSize); in dump_modes()
87 …fprintf (file, "static const opus_int16 eBands%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->nbEBands… in dump_modes()
88 for (j=0;j<mode->nbEBands+2;j++) in dump_modes()
[all …]
Ddump_modes_arm_ne10.c59 CELTMode *mode = modes[i]; in dump_modes_arch_init() local
60 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes_arch_init()
71 void dump_mode_arch(CELTMode *mode) in dump_mode_arch() argument
76 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; in dump_mode_arch()
78 fprintf(file, "#ifndef NE10_FFT_PARAMS%d_%d\n", mode->Fs, mdctSize); in dump_mode_arch()
79 fprintf(file, "#define NE10_FFT_PARAMS%d_%d\n", mode->Fs, mdctSize); in dump_mode_arch()
81 for(k=0;k<=mode->mdct.maxshift;k++) { in dump_mode_arch()
83 cfg = (NE10_FFT_CFG_TYPE_T)mode->mdct.kfft[k]->arch_fft->priv; in dump_mode_arch()
87 mode->mdct.kfft[k]->nfft, (NE10_MAXFACTORS * 2)); in dump_mode_arch()
95 for(k=0;k<=mode->mdct.maxshift;k++) { in dump_mode_arch()
[all …]
/external/libopus/celt/
Dmodes.c167 static void compute_allocation_table(CELTMode *mode) in compute_allocation_table() argument
173 mode->nbAllocVectors = BITALLOC_SIZE; in compute_allocation_table()
174 allocVectors = opus_alloc(sizeof(unsigned char)*(BITALLOC_SIZE*mode->nbEBands)); in compute_allocation_table()
179 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize) in compute_allocation_table()
181 for (i=0;i<BITALLOC_SIZE*mode->nbEBands;i++) in compute_allocation_table()
183 mode->allocVectors = allocVectors; in compute_allocation_table()
190 for (j=0;j<mode->nbEBands;j++) in compute_allocation_table()
195 … if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize) in compute_allocation_table()
199 allocVectors[i*mode->nbEBands+j] = band_allocation[i*maxBands + maxBands-1]; in compute_allocation_table()
202 … a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1]; in compute_allocation_table()
[all …]
/external/u-boot/drivers/video/
Dati_radeon_fb.c198 static void radeon_write_pll_regs(struct radeonfb_info *rinfo, struct radeon_regs *mode) in radeon_write_pll_regs() argument
214 if ((mode->ppll_ref_div == (INPLL(PPLL_REF_DIV) & PPLL_REF_DIV_MASK)) && in radeon_write_pll_regs()
215 (mode->ppll_div_3 == (INPLL(PPLL_DIV_3) & in radeon_write_pll_regs()
221 mode->clk_cntl_index & PPLL_DIV_SEL_MASK, in radeon_write_pll_regs()
241 mode->clk_cntl_index & PPLL_DIV_SEL_MASK, in radeon_write_pll_regs()
249 if (mode->ppll_ref_div & R300_PPLL_REF_DIV_ACC_MASK) { in radeon_write_pll_regs()
253 OUTPLLP(PPLL_REF_DIV, mode->ppll_ref_div, 0); in radeon_write_pll_regs()
257 (mode->ppll_ref_div << R300_PPLL_REF_DIV_ACC_SHIFT), in radeon_write_pll_regs()
261 OUTPLLP(PPLL_REF_DIV, mode->ppll_ref_div, ~PPLL_REF_DIV_MASK); in radeon_write_pll_regs()
264 OUTPLLP(PPLL_DIV_3, mode->ppll_div_3, ~PPLL_FB3_DIV_MASK); in radeon_write_pll_regs()
[all …]
Dmxsfb.c50 struct ctfb_res_modes *mode, int bpp) in mxs_lcd_init() argument
57 mxs_set_lcdclk(MXS_LCDIF_BASE, PS2KHZ(mode->pixclock)); in mxs_lcd_init()
94 writel((mode->yres << LCDIF_TRANSFER_COUNT_V_COUNT_OFFSET) | mode->xres, in mxs_lcd_init()
100 mode->vsync_len, &regs->hw_lcdif_vdctrl0); in mxs_lcd_init()
101 writel(mode->upper_margin + mode->lower_margin + in mxs_lcd_init()
102 mode->vsync_len + mode->yres, in mxs_lcd_init()
104 writel((mode->hsync_len << LCDIF_VDCTRL2_HSYNC_PULSE_WIDTH_OFFSET) | in mxs_lcd_init()
105 (mode->left_margin + mode->right_margin + in mxs_lcd_init()
106 mode->hsync_len + mode->xres), in mxs_lcd_init()
108 writel(((mode->left_margin + mode->hsync_len) << in mxs_lcd_init()
[all …]
/external/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->rgbMode; 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 …]
/external/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 …]
/external/v8/src/
Dreloc-info.h113 static constexpr bool IsRealRelocMode(Mode mode) { in IsRealRelocMode() argument
114 return mode >= FIRST_REAL_RELOC_MODE && mode <= LAST_REAL_RELOC_MODE; in IsRealRelocMode()
117 static constexpr bool IsGCRelocMode(Mode mode) { in IsGCRelocMode() argument
118 return mode <= LAST_GCED_ENUM; in IsGCRelocMode()
120 static constexpr bool IsShareableRelocMode(Mode mode) { in IsShareableRelocMode() argument
124 return mode >= RelocInfo::FIRST_SHAREABLE_RELOC_MODE; in IsShareableRelocMode()
126 static constexpr bool IsCodeTarget(Mode mode) { return mode == CODE_TARGET; } in IsCodeTarget() argument
127 static constexpr bool IsCodeTargetMode(Mode mode) { in IsCodeTargetMode() argument
128 return mode <= LAST_CODE_TARGET_MODE; in IsCodeTargetMode()
130 static constexpr bool IsRelativeCodeTarget(Mode mode) { in IsRelativeCodeTarget() argument
[all …]
/external/clang/test/SemaCXX/
Dattr-mode-tmpl.cpp10 typedef T __attribute__((mode(QI))) T1; in CheckEnumerations()
11 typedef T T2 __attribute__((mode(HI))); in CheckEnumerations()
12 …typedef T __attribute__((mode(V8SI))) T3; // expected-error{{mode 'V8SI' is not supported for enum… in CheckEnumerations()
15 typedef enum __attribute__((mode(HI))) { A4, B4 } T4; in CheckEnumerations()
16 typedef enum { A5, B5 } __attribute__((mode(SI))) T5; in CheckEnumerations()
17 …typedef enum __attribute__((mode(V2SI))) { A6, B6 } T6; // expected-error{{mode 'V2SI' is not supp… in CheckEnumerations()
19 …typedef enum { A7, B7 } __attribute__((mode(V2QI))) T7; // expected-error{{mode 'V2QI' is not supp… in CheckEnumerations()
27 …typedef T __attribute__((mode(QI))) T1; // expected-error{{mode attribute only supported for in… in CheckPrimitiveTypes()
28 …typedef T __attribute__((mode(V2SI))) VT1; // expected-error{{mode attribute only supported for in… in CheckPrimitiveTypes()
36 …typedef T __attribute__((mode(QI))) T1; // expected-error{{type of machine mode does not match typ… in CheckMachineMode()
[all …]
/external/python/cpython3/Modules/
D_stat.c88 # define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) argument
92 # define S_ISFIFO(mode) (((mode) & S_IFMT) == S_IFIFO) argument
96 # define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) argument
100 # define S_ISSOCK(mode) (((mode) & S_IFMT) == S_IFSOCK) argument
104 # define S_ISDOOR(mode) 0 argument
108 # define S_ISPORT(mode) 0 argument
112 # define S_ISWHT(mode) 0 argument
251 mode_t mode; in _PyLong_AsMode_t() local
257 mode = (mode_t)value; in _PyLong_AsMode_t()
258 if ((unsigned long)mode != value) { in _PyLong_AsMode_t()
[all …]
/external/python/cpython2/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
22 return mode & 07777
24 def S_IFMT(mode): argument
25 return mode & 0170000
40 def S_ISDIR(mode): argument
41 return S_IFMT(mode) == S_IFDIR
43 def S_ISCHR(mode): argument
44 return S_IFMT(mode) == S_IFCHR
46 def S_ISBLK(mode): argument
47 return S_IFMT(mode) == S_IFBLK
[all …]
/external/python/cpython3/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 …]
/external/wpa_supplicant_8/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 …]
/external/u-boot/drivers/video/sunxi/
Dlcdc.c16 static int lcdc_get_clk_delay(const struct display_timing *mode, int tcon) in lcdc_get_clk_delay() argument
20 delay = mode->vfront_porch.typ + mode->vsync_len.typ + in lcdc_get_clk_delay()
21 mode->vback_porch.typ; in lcdc_get_clk_delay()
22 if (mode->flags & DISPLAY_FLAGS_INTERLACED) in lcdc_get_clk_delay()
71 const struct display_timing *mode, in lcdc_tcon0_mode_set() argument
83 clk_delay = lcdc_get_clk_delay(mode, 0); in lcdc_tcon0_mode_set()
90 writel(SUNXI_LCDC_X(mode->hactive.typ) | in lcdc_tcon0_mode_set()
91 SUNXI_LCDC_Y(mode->vactive.typ), &lcdc->tcon0_timing_active); in lcdc_tcon0_mode_set()
93 bp = mode->hsync_len.typ + mode->hback_porch.typ; in lcdc_tcon0_mode_set()
94 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon0_mode_set()
[all …]
/external/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 …]
/external/eigen/bench/btl/data/
Dgo_mean10 mode=large
12 mode=$2
34 source mk_mean_script.sh axpy $1 11 2500 100000 250000 $mode $prefix
35 source mk_mean_script.sh axpby $1 11 2500 100000 250000 $mode $prefix
36 source mk_mean_script.sh matrix_vector $1 11 50 300 1000 $mode $prefix
37 source mk_mean_script.sh atv $1 11 50 300 1000 $mode $prefix
38 source mk_mean_script.sh matrix_matrix $1 11 100 300 1000 $mode $prefix
39 source mk_mean_script.sh aat $1 11 100 300 1000 $mode $prefix
41 source mk_mean_script.sh trmm $1 11 100 300 1000 $mode $prefix
42 source mk_mean_script.sh trisolve_vector $1 11 100 300 1000 $mode $prefix
[all …]
/external/deqp/framework/common/
DtcuTexVerifierUtil.hpp59 inline bool isNearestMipmapFilter (const Sampler::FilterMode mode) in isNearestMipmapFilter() argument
61 return mode == Sampler::NEAREST_MIPMAP_NEAREST || mode == Sampler::LINEAR_MIPMAP_NEAREST; in isNearestMipmapFilter()
64 inline bool isLinearMipmapFilter (const Sampler::FilterMode mode) in isLinearMipmapFilter() argument
66 return mode == Sampler::NEAREST_MIPMAP_LINEAR || mode == Sampler::LINEAR_MIPMAP_LINEAR; in isLinearMipmapFilter()
69 inline bool isMipmapFilter (const Sampler::FilterMode mode) in isMipmapFilter() argument
71 return isNearestMipmapFilter(mode) || isLinearMipmapFilter(mode); in isMipmapFilter()
74 inline bool isLinearFilter (const Sampler::FilterMode mode) in isLinearFilter() argument
76 …return mode == Sampler::LINEAR || mode == Sampler::LINEAR_MIPMAP_NEAREST || mode == Sampler::LINEA… in isLinearFilter()
79 inline bool isNearestFilter (const Sampler::FilterMode mode) in isNearestFilter() argument
81 return !isLinearFilter(mode); in isNearestFilter()
[all …]
/external/mesa3d/src/mesa/main/
Dpolygon.c54 cull_face(struct gl_context *ctx, GLenum mode, bool no_error) in cull_face() argument
56 if (ctx->Polygon.CullFaceMode == mode) in cull_face()
60 mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK) { in cull_face()
67 ctx->Polygon.CullFaceMode = mode; in cull_face()
70 ctx->Driver.CullFace(ctx, mode); in cull_face()
75 _mesa_CullFace_no_error(GLenum mode) in _mesa_CullFace_no_error() argument
78 cull_face(ctx, mode, true); in _mesa_CullFace_no_error()
83 _mesa_CullFace(GLenum mode) in _mesa_CullFace() argument
88 _mesa_debug(ctx, "glCullFace %s\n", _mesa_enum_to_string(mode)); in _mesa_CullFace()
90 cull_face(ctx, mode, false); in _mesa_CullFace()
[all …]
/external/skia/src/core/
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 …]
DSkModeColorFilter.cpp27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { in SkModeColorFilter() argument
29 fMode = mode; in SkModeColorFilter()
32 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const { in asColorMode()
36 if (mode) { in asColorMode()
37 *mode = fMode; in asColorMode()
61 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); in CreateProc() local
62 return SkColorFilter::MakeModeFilter(color, mode); in CreateProc()
118 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) { in MakeModeFilter() argument
119 if (!SkIsValidMode(mode)) { in MakeModeFilter()
127 if (SkBlendMode::kClear == mode) { in MakeModeFilter()
[all …]
/external/skqp/src/core/
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 …]
/external/python/cpython2/Modules/zlib/
Dgzlib.c79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode) in gz_open() argument
94 const char *mode;
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
129 state->mode = GZ_READ;
133 state->mode = GZ_WRITE;
[all …]
/external/zlib/src/
Dgzlib.c79 if (state->mode == GZ_READ) { /* for reading ... */
91 local gzFile gz_open(path, fd, mode) in gz_open() argument
94 const char *mode;
119 state->mode = GZ_NONE;
123 while (*mode) {
124 if (*mode >= '0' && *mode <= '9')
125 state->level = *mode - '0';
127 switch (*mode) {
129 state->mode = GZ_READ;
133 state->mode = GZ_WRITE;
[all …]
/external/v8/src/heap/
Dmarking.h39 template <AccessMode mode = AccessMode::NON_ATOMIC>
42 template <AccessMode mode = AccessMode::NON_ATOMIC>
47 template <AccessMode mode = AccessMode::NON_ATOMIC>
149 template <AccessMode mode = AccessMode::NON_ATOMIC>
154 template <AccessMode mode = AccessMode::NON_ATOMIC>
210 template <AccessMode mode = AccessMode::NON_ATOMIC>
212 if (mode == AccessMode::NON_ATOMIC) { in IsImpossible()
213 return !mark_bit.Get<mode>() && mark_bit.Next().Get<mode>(); in IsImpossible()
219 bool is_impossible = !mark_bit.Get<mode>() && mark_bit.Next().Get<mode>(); in IsImpossible()
221 return !mark_bit.Get<mode>(); in IsImpossible()
[all …]

12345678910>>...258