Home
last modified time | relevance | path

Searched refs:term (Results 1 - 25 of 144) sorted by relevance

123456

/third_party/rust/crates/rustix/examples/
H A Dstdio.rs59 let term = tcgetattr(fd)?; in show()
61 if let Some(speed) = speed_value(cfgetispeed(&term)) { in show()
64 if let Some(speed) = speed_value(cfgetospeed(&term)) { in show()
70 if (term.c_iflag & IGNBRK) != 0 { in show()
74 if (term.c_iflag & BRKINT) != 0 { in show()
78 if (term.c_iflag & IGNPAR) != 0 { in show()
82 if (term.c_iflag & PARMRK) != 0 { in show()
86 if (term.c_iflag & INPCK) != 0 { in show()
90 if (term.c_iflag & ISTRIP) != 0 { in show()
94 if (term in show()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_blend.c203 double *term) in compute_blend_ref_term()
209 term[0] = factor[0]; /* R */ in compute_blend_ref_term()
210 term[1] = factor[1]; /* G */ in compute_blend_ref_term()
211 term[2] = factor[2]; /* B */ in compute_blend_ref_term()
214 term[0] = factor[0] * src[0]; /* R */ in compute_blend_ref_term()
215 term[1] = factor[1] * src[1]; /* G */ in compute_blend_ref_term()
216 term[2] = factor[2] * src[2]; /* B */ in compute_blend_ref_term()
219 term[0] = factor[0] * src[3]; /* R */ in compute_blend_ref_term()
220 term[1] = factor[1] * src[3]; /* G */ in compute_blend_ref_term()
221 term[ in compute_blend_ref_term()
196 compute_blend_ref_term(unsigned rgb_factor, unsigned alpha_factor, const double *factor, const double *src, const double *src1, const double *dst, const double *con, double *term) compute_blend_ref_term() argument
[all...]
/third_party/skia/third_party/externals/tint/src/diagnostic/
H A Dprinter_linux.cc35 std::string term = getenv("TERM"); in supports_colors() local
36 if (term != "cygwin" && term != "linux" && term != "rxvt-unicode-256color" && in supports_colors()
37 term != "rxvt-unicode" && term != "screen-256color" && term != "screen" && in supports_colors()
38 term != "tmux-256color" && term != "tmux" && term ! in supports_colors()
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/config/chunkindex/
H A Dlunr.js316 * @param {object} posting - The posting for a given term
323 if (fieldName == '_index') continue // Ignore the term index, its not a field
1410 * @param {string} clause.term - The query clause term.
1411 * @param {number} [clause.editDistance] - The optional edit distance for the term.
1416 return lunr.TokenSet.fromFuzzyString(clause.term, clause.editDistance)
1418 return lunr.TokenSet.fromString(clause.term)
1843 * @param {Object} attrs.invertedIndex - An index of term/field to document reference.
1862 * @property {lunr.MatchData} matchData - Contains metadata about this match including which term(s) caused the match.
1872 * At its simplest queries can just be a single term,
[all...]
/third_party/nghttp2/
H A Dmkhufftbl.py277 def __init__(self, term = None):
278 self.term = term
298 node.term = sym
315 if node.term is not None:
334 if node.term is not None:
338 if node.term is not None:
340 nsym = node.term
363 if node.term is not None:
/third_party/rust/crates/nom/tests/
H A Darithmetic.rs35 fn term(i: &str) -> IResult<&str, i64> { in term() functions
52 let (i, init) = term(i)?; in expr()
55 pair(alt((char('+'), char('-'))), term), in expr()
77 assert_eq!(term(" 12 *2 / 3"), Ok(("", 8))); in term_test()
78 assert_eq!(term(" 2* 3 *2 *2 / 3"), Ok(("", 8))); in term_test()
79 assert_eq!(term(" 48 / 3/2"), Ok(("", 8))); in term_test()
H A Darithmetic_ast.rs91 fn term(i: &str) -> IResult<&str, Expr> { in term() functions
108 let (i, initial) = term(i)?; in expr()
111 let (i, add) = preceded(tag("+"), term)(i)?; in expr()
115 let (i, sub) = preceded(tag("-"), term)(i)?; in expr()
134 term(" 3 * 5 ").map(|(i, x)| (i, format!("{:?}", x))), in term_test()
/third_party/python/Lib/
H A Dasynchat.py102 def set_terminator(self, term):
107 if isinstance(term, str) and self.use_encoding:
108 term = bytes(term, self.encoding)
109 elif isinstance(term, int) and term < 0:
111 self.terminator = term
/third_party/ninja/src/
H A Dline_printer.cc36 const char* term = getenv("TERM"); in LinePrinter() local
38 smart_terminal_ = isatty(1) && term && string(term) != "dumb"; in LinePrinter()
40 if (term && string(term) == "dumb") { in LinePrinter()
/third_party/node/deps/npm/node_modules/color-support/
H A Dindex.js73 var term = options.term || env.TERM || ''
80 if (!options.ignoreDumb && term === 'dumb' && !env.COLORTERM) {
100 // TODO: add more term programs
121 if (/^xterm-256/.test(term)) {
125 if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(term)) {
/third_party/mesa3d/src/mesa/main/
H A Dtexenv.c171 /** Set an RGB or A combiner source term */
177 GLuint term; in set_combiner_source() local
181 * Translate pname to (term, alpha). in set_combiner_source()
190 term = pname - GL_SOURCE0_RGB; in set_combiner_source()
197 term = pname - GL_SOURCE0_ALPHA; in set_combiner_source()
205 if ((term == 3) && (ctx->API != API_OPENGL_COMPAT in set_combiner_source()
211 assert(term < MAX_COMBINER_TERMS); in set_combiner_source()
214 * Error-check param (the source term) in set_combiner_source()
254 texUnit->Combine.SourceA[term] = param; in set_combiner_source()
256 texUnit->Combine.SourceRGB[term] in set_combiner_source()
268 GLuint term; set_combiner_operand() local
[all...]
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dpeg_calculator.rs12 use codespan_reporting::term;
13 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream};
41 let config = codespan_reporting::term::Config::default(); in main()
64 term::emit(&mut writer.lock(), &config, &file, &diagnostic)?; in main()
H A Dreusable_diagnostic.rs3 use codespan_reporting::term::termcolor::StandardStream;
4 use codespan_reporting::term::{self, ColorArg};
43 let config = codespan_reporting::term::Config::default(); in main()
45 term::emit(&mut writer.lock(), &config, &file, &diagnostic)?; in main()
H A Dterm.rs5 //! cargo run --example term
10 use codespan_reporting::term::termcolor::StandardStream;
11 use codespan_reporting::term::{self, ColorArg};
169 let config = codespan_reporting::term::Config::default(); in main()
171 term::emit(&mut writer.lock(), &config, &files, &diagnostic)?; in main()
H A Dreadme_preview.rs12 use codespan_reporting::term::termcolor::{Color, ColorSpec, StandardStream, WriteColor};
13 use codespan_reporting::term::{self, ColorArg};
84 let config = codespan_reporting::term::Config { in main()
85 styles: codespan_reporting::term::Styles::with_blue(Color::Blue), in main()
86 ..codespan_reporting::term::Config::default() in main()
90 term::emit(&mut writer, &config, &file, &diagnostic)?; in main()
179 let config = codespan_reporting::term::Config::default(); in main()
181 term::emit(&mut writer.lock(), &config, &file, &diagnostic)?; in main()
H A Dcustom_files.rs13 use codespan_reporting::term;
14 use codespan_reporting::term::termcolor::{ColorChoice, StandardStream};
33 let config = term::Config::default(); in main()
36 term::emit(writer, &config, &files, &message.to_diagnostic())?; in main()
/third_party/ffmpeg/libavutil/
H A Davutil.h318 * @param term list terminator (usually 0 or -1)
323 const void *list, uint64_t term) av_pure;
328 * @param term list terminator (usually 0 or -1)
332 #define av_int_list_length(list, term) \
333 av_int_list_length_for_size(sizeof(*(list)), list, term)
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_loop_unroll.c78 get_first_blocks_in_terminator(nir_loop_terminator *term, in get_first_blocks_in_terminator() argument
82 if (term->continue_from_then) { in get_first_blocks_in_terminator()
83 *first_continue_block = nir_if_first_then_block(term->nif); in get_first_blocks_in_terminator()
84 *first_break_block = nir_if_first_else_block(term->nif); in get_first_blocks_in_terminator()
86 *first_continue_block = nir_if_first_else_block(term->nif); in get_first_blocks_in_terminator()
87 *first_break_block = nir_if_first_then_block(term->nif); in get_first_blocks_in_terminator()
213 move_cf_list_into_loop_term(nir_cf_list *lst, nir_loop_terminator *term) in move_cf_list_into_loop_term() argument
216 nir_cf_reinsert(lst, nir_after_block(term->continue_from_block)); in move_cf_list_into_loop_term()
219 nir_instr_remove(nir_block_last_instr(term->break_block)); in move_cf_list_into_loop_term()
616 is_access_out_of_bounds(nir_loop_terminator *term, nir_deref_inst argument
652 remove_out_of_bounds_induction_use(nir_shader *shader, nir_loop *loop, nir_loop_terminator *term, nir_cf_list *lp_header, nir_cf_list *lp_body, unsigned trip_count) remove_out_of_bounds_induction_use() argument
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
H A DRBSearchPanel.java91 private void performSearch(String term, Bundle bundle, boolean case_sensitive) { in performSearch() argument
98 if (keysCheck.isSelected() && key.indexOf(term) >= 0) { in performSearch()
102 if (transCheck.isSelected() && item.getTranslation().indexOf(term) >= 0) { in performSearch()
107 if (item.getComment().indexOf(term) >= 0) { in performSearch()
116 if (lookup_value.indexOf(term) >= 0) { in performSearch()
124 if (keysCheck.isSelected() && key.toUpperCase().indexOf(term.toUpperCase()) >= 0) { in performSearch()
128 if (transCheck.isSelected() && item.getTranslation().toUpperCase().indexOf(term.toUpperCase()) >= 0) { in performSearch()
133 if (item.getComment().toUpperCase().indexOf(term.toUpperCase()) >= 0) { in performSearch()
142 if (lookup_value.toUpperCase().indexOf(term.toUpperCase()) >= 0) { in performSearch()
/third_party/rust/crates/quote/src/
H A Dext.rs52 fn append_terminated<I, U>(&mut self, iter: I, term: U) in append_terminated()
91 fn append_terminated<I, U>(&mut self, iter: I, term: U) in append_terminated()
99 term.to_tokens(self); in append_terminated()
/third_party/rust/crates/nom/benchmarks/benches/
H A Darithmetic.rs38 fn term(input: &[u8]) -> IResult<&[u8], i64> { in term() functions
54 let (input, init) = term(input)?; in expr()
56 pair(one_of("+-"), term), in expr()
/third_party/python/Modules/clinic/
H A Dtermios.c.h56 termios_tcsetattr_impl(PyObject *module, int fd, int when, PyObject *term);
64 PyObject *term; in termios_tcsetattr() local
76 term = args[2]; in termios_tcsetattr()
77 return_value = termios_tcsetattr_impl(module, fd, when, term); in termios_tcsetattr()
/third_party/python/Modules/
H A Dtermios.c151 attributes as term: object
165 termios_tcsetattr_impl(PyObject *module, int fd, int when, PyObject *term) in termios_tcsetattr_impl() argument
168 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr_impl()
186 mode.c_iflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 0)); in termios_tcsetattr_impl()
187 mode.c_oflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 1)); in termios_tcsetattr_impl()
188 mode.c_cflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr_impl()
189 mode.c_lflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 3)); in termios_tcsetattr_impl()
190 speed_t ispeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 4)); in termios_tcsetattr_impl()
191 speed_t ospeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, in termios_tcsetattr_impl()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dscalar_analysis_simplification.cpp71 // add node with each term as a child. For instance a large graph built from, X
98 // Given a |multiply| node add to the accumulators for the term type within
109 // loop iterations as a term in the expression, then the whole expression
120 // single expression then we can fold those terms into a single new term.
261 // If we've encountered this term before add to the accumulator for it. in GatherAccumulatorsFromChildNodes()
327 SENode* term = pair.first; in SimplifyPolynomial() local
330 // We can eliminate the term completely. in SimplifyPolynomial()
334 new_add->AddChild(term); in SimplifyPolynomial()
335 } else if (count == -1 && term->GetType() != SENode::RecurrentAddExpr) { in SimplifyPolynomial()
340 new_add->AddChild(analysis_.CreateNegation(term)); in SimplifyPolynomial()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dscalar_analysis_simplification.cpp71 // add node with each term as a child. For instance a large graph built from, X
98 // Given a |multiply| node add to the accumulators for the term type within
109 // loop iterations as a term in the expression, then the whole expression
120 // single expression then we can fold those terms into a single new term.
261 // If we've encountered this term before add to the accumulator for it. in GatherAccumulatorsFromChildNodes()
327 SENode* term = pair.first; in SimplifyPolynomial() local
330 // We can eliminate the term completely. in SimplifyPolynomial()
334 new_add->AddChild(term); in SimplifyPolynomial()
335 } else if (count == -1 && term->GetType() != SENode::RecurrentAddExpr) { in SimplifyPolynomial()
340 new_add->AddChild(analysis_.CreateNegation(term)); in SimplifyPolynomial()
[all...]

Completed in 12 milliseconds

123456