Home
last modified time | relevance | path

Searched refs:Atom (Results 1 - 25 of 90) sorted by relevance

1234

/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Datom.rs6 pub enum Atom { enum
25 impl Atom { impls
31 use self::Atom::*; in from_str()
54 impl Display for Atom {
60 impl AsRef<str> for Atom {
62 use self::Atom::*; in as_ref()
84 impl PartialEq<Atom> for Type {
85 fn eq(&self, atom: &Atom) -> bool { in eq()
93 impl PartialEq<Atom> for &Ident {
94 fn eq(&self, atom: &Atom)
[all...]
H A Ddiscriminant.rs1 use crate::syntax::Atom::{self, *};
12 repr: Option<Atom>,
30 pub fn new(repr: Option<Atom>) -> Self { in new()
89 pub fn inferred_repr(&self) -> Result<Atom> { in inferred_repr()
108 fn expr_to_discriminant(expr: &Expr) -> Result<(Discriminant, Option<Atom>)> { in expr_to_discriminant()
263 fn parse_int_suffix(suffix: &str) -> Result<Option<Atom>> { in parse_int_suffix()
267 if let Some(atom) = Atom::from_str(suffix) { in parse_int_suffix()
279 repr: Atom,
285 fn of(repr: Atom) -> Option<Limits> { in of()
H A Dcheck.rs1 use crate::syntax::atom::Atom::{self, *};
84 if Atom::from(ident).is_none() in check_type_ident()
105 if Atom::from(&ident.rust).is_none() { in check_type_box()
125 match Atom::from(&ident.rust) { in check_type_rust_vec()
146 match Atom::from(&ident.rust) { in check_type_unique_ptr()
164 match Atom::from(&ident.rust) { in check_type_shared_ptr()
185 match Atom::from(&ident.rust) { in check_type_weak_ptr()
209 match Atom::from(&ident.rust) { in check_type_cxx_vector()
524 if Atom::from(&inner.rust).is_none() { in check_api_impl()
570 Type::Ident(ident) if Atom in visit_type()
[all...]
H A Dpod.rs1 use crate::syntax::atom::Atom::{self, *};
9 if let Some(atom) = Atom::from(ident) { in is_guaranteed_pod()
/third_party/rust/crates/cxx/syntax/
H A Datom.rs6 pub enum Atom { enum
25 impl Atom { impls
31 use self::Atom::*; in from_str()
54 impl Display for Atom {
60 impl AsRef<str> for Atom {
62 use self::Atom::*; in as_ref()
84 impl PartialEq<Atom> for Type {
85 fn eq(&self, atom: &Atom) -> bool { in eq()
93 impl PartialEq<Atom> for &Ident {
94 fn eq(&self, atom: &Atom)
[all...]
H A Ddiscriminant.rs1 use crate::syntax::Atom::{self, *};
12 repr: Option<Atom>,
30 pub fn new(repr: Option<Atom>) -> Self { in new()
89 pub fn inferred_repr(&self) -> Result<Atom> { in inferred_repr()
108 fn expr_to_discriminant(expr: &Expr) -> Result<(Discriminant, Option<Atom>)> { in expr_to_discriminant()
263 fn parse_int_suffix(suffix: &str) -> Result<Option<Atom>> { in parse_int_suffix()
267 if let Some(atom) = Atom::from_str(suffix) { in parse_int_suffix()
279 repr: Atom,
285 fn of(repr: Atom) -> Option<Limits> { in of()
H A Dcheck.rs1 use crate::syntax::atom::Atom::{self, *};
84 if Atom::from(ident).is_none() in check_type_ident()
105 if Atom::from(&ident.rust).is_none() { in check_type_box()
125 match Atom::from(&ident.rust) { in check_type_rust_vec()
146 match Atom::from(&ident.rust) { in check_type_unique_ptr()
164 match Atom::from(&ident.rust) { in check_type_shared_ptr()
185 match Atom::from(&ident.rust) { in check_type_weak_ptr()
209 match Atom::from(&ident.rust) { in check_type_cxx_vector()
524 if Atom::from(&inner.rust).is_none() { in check_api_impl()
570 Type::Ident(ident) if Atom in visit_type()
[all...]
/third_party/rust/crates/cxx/macro/src/syntax/
H A Datom.rs6 pub enum Atom { enum
25 impl Atom { impls
31 use self::Atom::*; in from_str()
54 impl Display for Atom {
60 impl AsRef<str> for Atom {
62 use self::Atom::*; in as_ref()
84 impl PartialEq<Atom> for Type {
85 fn eq(&self, atom: &Atom) -> bool { in eq()
93 impl PartialEq<Atom> for &Ident {
94 fn eq(&self, atom: &Atom)
[all...]
H A Ddiscriminant.rs1 use crate::syntax::Atom::{self, *};
12 repr: Option<Atom>,
30 pub fn new(repr: Option<Atom>) -> Self { in new()
89 pub fn inferred_repr(&self) -> Result<Atom> { in inferred_repr()
108 fn expr_to_discriminant(expr: &Expr) -> Result<(Discriminant, Option<Atom>)> { in expr_to_discriminant()
263 fn parse_int_suffix(suffix: &str) -> Result<Option<Atom>> { in parse_int_suffix()
267 if let Some(atom) = Atom::from_str(suffix) { in parse_int_suffix()
279 repr: Atom,
285 fn of(repr: Atom) -> Option<Limits> { in of()
H A Dcheck.rs1 use crate::syntax::atom::Atom::{self, *};
84 if Atom::from(ident).is_none() in check_type_ident()
105 if Atom::from(&ident.rust).is_none() { in check_type_box()
125 match Atom::from(&ident.rust) { in check_type_rust_vec()
146 match Atom::from(&ident.rust) { in check_type_unique_ptr()
164 match Atom::from(&ident.rust) { in check_type_shared_ptr()
185 match Atom::from(&ident.rust) { in check_type_weak_ptr()
209 match Atom::from(&ident.rust) { in check_type_cxx_vector()
524 if Atom::from(&inner.rust).is_none() { in check_api_impl()
570 Type::Ident(ident) if Atom in visit_type()
[all...]
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Datom.rs6 pub enum Atom { enum
25 impl Atom { impls
31 use self::Atom::*; in from_str()
54 impl Display for Atom {
60 impl AsRef<str> for Atom {
62 use self::Atom::*; in as_ref()
84 impl PartialEq<Atom> for Type {
85 fn eq(&self, atom: &Atom) -> bool { in eq()
93 impl PartialEq<Atom> for &Ident {
94 fn eq(&self, atom: &Atom)
[all...]
H A Ddiscriminant.rs1 use crate::syntax::Atom::{self, *};
12 repr: Option<Atom>,
30 pub fn new(repr: Option<Atom>) -> Self { in new()
89 pub fn inferred_repr(&self) -> Result<Atom> { in inferred_repr()
108 fn expr_to_discriminant(expr: &Expr) -> Result<(Discriminant, Option<Atom>)> { in expr_to_discriminant()
263 fn parse_int_suffix(suffix: &str) -> Result<Option<Atom>> { in parse_int_suffix()
267 if let Some(atom) = Atom::from_str(suffix) { in parse_int_suffix()
279 repr: Atom,
285 fn of(repr: Atom) -> Option<Limits> { in of()
H A Dcheck.rs1 use crate::syntax::atom::Atom::{self, *};
84 if Atom::from(ident).is_none() in check_type_ident()
105 if Atom::from(&ident.rust).is_none() { in check_type_box()
125 match Atom::from(&ident.rust) { in check_type_rust_vec()
146 match Atom::from(&ident.rust) { in check_type_unique_ptr()
164 match Atom::from(&ident.rust) { in check_type_shared_ptr()
185 match Atom::from(&ident.rust) { in check_type_weak_ptr()
209 match Atom::from(&ident.rust) { in check_type_cxx_vector()
524 if Atom::from(&inner.rust).is_none() { in check_api_impl()
570 Type::Ident(ident) if Atom in visit_type()
[all...]
H A Dpod.rs1 use crate::syntax::atom::Atom::{self, *};
9 if let Some(atom) = Atom::from(ident) { in is_guaranteed_pod()
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Datom.rs6 pub enum Atom { enum
25 impl Atom { impls
31 use self::Atom::*; in from_str()
54 impl Display for Atom {
60 impl AsRef<str> for Atom {
62 use self::Atom::*; in as_ref()
84 impl PartialEq<Atom> for Type {
85 fn eq(&self, atom: &Atom) -> bool { in eq()
93 impl PartialEq<Atom> for &Ident {
94 fn eq(&self, atom: &Atom)
[all...]
H A Ddiscriminant.rs1 use crate::syntax::Atom::{self, *};
12 repr: Option<Atom>,
30 pub fn new(repr: Option<Atom>) -> Self { in new()
89 pub fn inferred_repr(&self) -> Result<Atom> { in inferred_repr()
108 fn expr_to_discriminant(expr: &Expr) -> Result<(Discriminant, Option<Atom>)> { in expr_to_discriminant()
263 fn parse_int_suffix(suffix: &str) -> Result<Option<Atom>> { in parse_int_suffix()
267 if let Some(atom) = Atom::from_str(suffix) { in parse_int_suffix()
279 repr: Atom,
285 fn of(repr: Atom) -> Option<Limits> { in of()
H A Dcheck.rs1 use crate::syntax::atom::Atom::{self, *};
84 if Atom::from(ident).is_none() in check_type_ident()
105 if Atom::from(&ident.rust).is_none() { in check_type_box()
125 match Atom::from(&ident.rust) { in check_type_rust_vec()
146 match Atom::from(&ident.rust) { in check_type_unique_ptr()
164 match Atom::from(&ident.rust) { in check_type_shared_ptr()
185 match Atom::from(&ident.rust) { in check_type_weak_ptr()
209 match Atom::from(&ident.rust) { in check_type_cxx_vector()
524 if Atom::from(&inner.rust).is_none() { in check_api_impl()
570 Type::Ident(ident) if Atom in visit_type()
[all...]
H A Dpod.rs1 use crate::syntax::atom::Atom::{self, *};
9 if let Some(atom) = Atom::from(ident) { in is_guaranteed_pod()
/third_party/glfw/src/
H A Dx11_platform.h103 typedef int (* PFN_XChangeProperty)(Display*,Window,Atom,Atom,int,int,const unsigned char*,int);
109 typedef int (* PFN_XConvertSelection)(Display*,Atom,Atom,Atom,Window,Time);
117 typedef int (* PFN_XDeleteProperty)(Display*,Window,Atom);
137 typedef Window (* PFN_XGetSelectionOwner)(Display*,Atom);
141 typedef int (* PFN_XGetWindowProperty)(Display*,Window,Atom,long,long,Bool,Atom,Atom*,in
[all...]
/third_party/rust/crates/nom/examples/
H A Ds_expression.rs32 /// We now wrap this type and a few other primitives into our Atom type.
36 pub enum Atom { enum
46 /// Expr::Quote(vec![Expr::Constant(Atom::Num(1)),
47 /// Expr::Constant(Atom::Num(2)),
48 /// Expr::Constant(Atom::Num(3))])
55 Constant(Atom),
99 fn parse_bool<'a>(i: &'a str) -> IResult<&'a str, Atom, VerboseError<&'a str>> { in parse_bool()
101 map(tag("#t"), |_| Atom::Boolean(true)), in parse_bool()
102 map(tag("#f"), |_| Atom::Boolean(false)), in parse_bool()
112 fn parse_keyword<'a>(i: &'a str) -> IResult<&'a str, Atom, VerboseErro
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DAccelTable.h222 /// An Atom defines the form of the data in an Apple accelerator table.
225 struct Atom { struct in llvm::AppleAccelTableData
226 /// Atom Type.
231 constexpr Atom(uint16_t Type, uint16_t Form) : Type(Type), Form(Form) {} in Atom() function
239 // static constexpr Atom Atoms[];
296 ArrayRef<AppleAccelTableData::Atom> Atoms);
327 static constexpr Atom Atoms[] = {
328 Atom(dwarf::DW_ATOM_die_offset, dwarf::DW_FORM_data4)};
346 static constexpr Atom Atoms[] = {
347 Atom(dwar
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp28 struct Atom { struct
32 static raw_ostream &operator<<(raw_ostream &OS, const Atom &A) { in operator <<()
40 static Atom formatAtom(unsigned Atom) { return {Atom}; } in formatAtom() argument
96 for (auto Atom : getAtomsDesc()) { in validateForms()
97 DWARFFormValue FormValue(Atom.second); in validateForms()
98 switch (Atom.first) { in validateForms()
120 for (auto Atom : getAtomsDesc()) { in readAtoms()
121 DWARFFormValue FormValue(Atom in readAtoms()
[all...]
/third_party/skia/third_party/externals/angle2/util/x11/
H A DX11Window.h48 Atom WM_DELETE_WINDOW;
49 Atom WM_PROTOCOLS;
50 Atom TEST_EVENT;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DAccelTable.cpp116 using Atom = AppleAccelTableData::Atom;
148 const SmallVector<Atom, 4> Atoms;
150 HeaderData(ArrayRef<Atom> AtomList, uint32_t Offset = 0) in HeaderData()
169 ArrayRef<Atom> Atoms, const MCSymbol *SecBegin) in AppleAccelTableWriter()
297 Asm->OutStreamer->AddComment("HeaderData Atom Count"); in emit()
300 for (const Atom &A : Atoms) { in emit()
546 ArrayRef<AppleAccelTableData::Atom> Atoms) { in emitAppleAccelTableImpl()
617 constexpr AppleAccelTableData::Atom AppleAccelTableTypeData::Atoms[];
618 constexpr AppleAccelTableData::Atom AppleAccelTableOffsetDat
[all...]
/third_party/ffmpeg/libavformat/
H A Dr3d.c35 typedef struct Atom { struct
39 } Atom; typedef
41 static int read_atom(AVFormatContext *s, Atom *atom) in read_atom()
116 static int r3d_read_rdvo(AVFormatContext *s, Atom *atom) in r3d_read_rdvo()
165 Atom atom; in r3d_read_header()
218 static int r3d_read_redv(AVFormatContext *s, AVPacket *pkt, Atom *atom) in r3d_read_redv()
273 static int r3d_read_reda(AVFormatContext *s, AVPacket *pkt, Atom *atom) in r3d_read_reda()
341 Atom atom; in r3d_read_packet()

Completed in 14 milliseconds

1234