Home
last modified time | relevance | path

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

12345678910>>...210

/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/valgrind/none/tests/s390x/
Drounding-5.c26 set_rounding_mode(unsigned mode) in set_rounding_mode() argument
28 printf("setting FPC rounding mode to %s\n", rtext(mode)); in set_rounding_mode()
29 register unsigned r asm("1") = mode; in set_rounding_mode()
33 void cefbr(unsigned mode) in cefbr() argument
35 set_rounding_mode(mode); in cefbr()
43 void cegbr(unsigned mode) in cegbr() argument
45 set_rounding_mode(mode); in cegbr()
53 void cdgbr(unsigned mode) in cdgbr() argument
55 set_rounding_mode(mode); in cdgbr()
66 int mode; in main() local
[all …]
Drounding-5.stdout.exp1 setting FPC rounding mode to [-> near]
3 setting FPC rounding mode to [-> zero]
5 setting FPC rounding mode to [-> +inf]
7 setting FPC rounding mode to [-> -inf]
10 setting FPC rounding mode to [-> near]
12 setting FPC rounding mode to [-> zero]
14 setting FPC rounding mode to [-> +inf]
16 setting FPC rounding mode to [-> -inf]
19 setting FPC rounding mode to [-> near]
21 setting FPC rounding mode to [-> zero]
[all …]
/external/mesa3d/src/glx/
Dglxconfig.c53 glx_config_get(struct glx_config * mode, int attribute, int *value_return) in glx_config_get() argument
60 *value_return = mode->rgbBits; in glx_config_get()
63 *value_return = mode->rgbMode; in glx_config_get()
66 *value_return = mode->redBits; in glx_config_get()
69 *value_return = mode->greenBits; in glx_config_get()
72 *value_return = mode->blueBits; in glx_config_get()
75 *value_return = mode->alphaBits; in glx_config_get()
78 *value_return = mode->doubleBufferMode; in glx_config_get()
81 *value_return = mode->stereoMode; in glx_config_get()
84 *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/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/syslinux/gpxe/src/drivers/net/ath5k/
Dath5k_eeprom.c73 unsigned int mode) in ath5k_eeprom_bin2freq() argument
80 if (mode == AR5K_EEPROM_MODE_11A) { in ath5k_eeprom_bin2freq()
168 unsigned int mode) in ath5k_eeprom_read_ants() argument
176 ee->ee_switch_settling[mode] = (val >> 8) & 0x7f; in ath5k_eeprom_read_ants()
177 ee->ee_atn_tx_rx[mode] = (val >> 2) & 0x3f; in ath5k_eeprom_read_ants()
178 ee->ee_ant_control[mode][i] = (val << 4) & 0x3f; in ath5k_eeprom_read_ants()
181 ee->ee_ant_control[mode][i++] |= (val >> 12) & 0xf; in ath5k_eeprom_read_ants()
182 ee->ee_ant_control[mode][i++] = (val >> 6) & 0x3f; in ath5k_eeprom_read_ants()
183 ee->ee_ant_control[mode][i++] = val & 0x3f; in ath5k_eeprom_read_ants()
186 ee->ee_ant_control[mode][i++] = (val >> 10) & 0x3f; in ath5k_eeprom_read_ants()
[all …]
/external/valgrind/solaris/
Dvalgrind.p5m10 dir path=usr/bin owner=root group=bin mode=0755
11 file path=usr/bin/callgrind_annotate owner=root group=bin mode=0755
12 file path=usr/bin/callgrind_control owner=root group=bin mode=0755
13 file path=usr/bin/cg_annotate owner=root group=bin mode=0755
14 file path=usr/bin/cg_diff owner=root group=bin mode=0755
15 file path=usr/bin/cg_merge owner=root group=bin mode=0755
16 file path=usr/bin/ms_print owner=root group=bin mode=0755
17 file path=usr/bin/valgrind owner=root group=bin mode=0755
18 file path=usr/bin/valgrind-di-server owner=root group=bin mode=0755
19 file path=usr/bin/valgrind-listener owner=root group=bin mode=0755
[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/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 …]
Dstat.py21 def S_IMODE(mode): argument
25 return mode & 0o7777
27 def S_IFMT(mode): argument
31 return mode & 0o170000
46 def S_ISDIR(mode): argument
48 return S_IFMT(mode) == S_IFDIR
50 def S_ISCHR(mode): argument
52 return S_IFMT(mode) == S_IFCHR
54 def S_ISBLK(mode): argument
56 return S_IFMT(mode) == S_IFBLK
[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/ltp/testcases/kernel/syscalls/open/
Dopen11.c100 mode_t mode; member
111 .mode = 0644,
118 .mode = 0644,
125 .mode = 0644,
132 .mode = 0644,
139 .mode = 0644,
149 .mode = 0755,
156 .mode = 0755,
163 .mode = 0644,
173 .mode = 0644,
[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/python/cpython3/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/skqp/src/core/
DSkModeColorFilter.cpp27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { in SkModeColorFilter() argument
29 fMode = mode; in SkModeColorFilter()
43 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const { in asColorMode()
47 if (mode) { in asColorMode()
48 *mode = fMode; in asColorMode()
72 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); in CreateProc() local
73 return SkColorFilter::MakeModeFilter(color, mode); in CreateProc()
126 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) { in MakeModeFilter() argument
127 if (!SkIsValidMode(mode)) { in MakeModeFilter()
135 if (SkBlendMode::kClear == mode) { in MakeModeFilter()
[all …]
/external/skia/src/core/
DSkModeColorFilter.cpp27 SkModeColorFilter::SkModeColorFilter(SkColor color, SkBlendMode mode) { in SkModeColorFilter() argument
29 fMode = mode; in SkModeColorFilter()
43 bool SkModeColorFilter::asColorMode(SkColor* color, SkBlendMode* mode) const { in asColorMode()
47 if (mode) { in asColorMode()
48 *mode = fMode; in asColorMode()
72 SkBlendMode mode = (SkBlendMode)buffer.readUInt(); in CreateProc() local
73 return SkColorFilter::MakeModeFilter(color, mode); in CreateProc()
126 sk_sp<SkColorFilter> SkColorFilter::MakeModeFilter(SkColor color, SkBlendMode mode) { in MakeModeFilter() argument
127 if (!SkIsValidMode(mode)) { in MakeModeFilter()
135 if (SkBlendMode::kClear == mode) { in MakeModeFilter()
[all …]
DSkXfermode.cpp32 SkProcCoeffXfermode(SkBlendMode mode) : fMode(mode) {} in SkProcCoeffXfermode() argument
78 const char* SkBlendMode_Name(SkBlendMode mode) { in SkBlendMode_Name() argument
79 SkASSERT((unsigned) mode <= (unsigned)SkBlendMode::kLastMode); in SkBlendMode_Name()
87 return gModeStrings[(int)mode]; in SkBlendMode_Name()
91 sk_sp<SkXfermode> SkXfermode::Make(SkBlendMode mode) { in Make() argument
92 if ((unsigned)mode > (unsigned)SkBlendMode::kLastMode) { in Make()
99 if (SkBlendMode::kSrcOver == mode) { in Make()
108 once[(int)mode]([mode] { in Make()
109 if (auto xfermode = SkOpts::create_xfermode(mode)) { in Make()
110 cached[(int)mode] = xfermode; in Make()
[all …]

12345678910>>...210