Lines Matching defs:ref
80 // Makes true if the string ref's content is empty.
85 // Returns true if the string ref's content is stored inline (rather than empty or indexed).
90 // Returns true if the string ref's content is stored as an index into the string table.
102 // Makes an empty string ref.
104 trace_string_ref_t ref = {
107 return ref;
110 // Makes an inline or empty string ref from a string with given size.
122 trace_string_ref_t ref = {
126 return ref;
129 // Makes an inline or empty string ref from a null-terminated string.
136 // Makes an indexed string ref.
142 trace_string_ref_t ref = {
145 return ref;
155 // Returns true if the thread ref's value is unknown.
162 // Returns true if the thread ref's content is stored as an index into the thread table.
168 // Returns true if the thread ref's value is stored inline (rather than unknown or indexed).
175 // Makes a thread ref representing an unknown thread.
176 // TODO(ZX-1030): Reserve thread ref index 0 for unknown threads,
177 // use thread ref index 255 for inline threads.
179 trace_thread_ref_t ref = {
183 return ref;
186 // Makes a thread ref with an inline value.
192 trace_thread_ref_t ref = {
196 return ref;
199 // Makes an indexed thread ref.
205 trace_thread_ref_t ref = {
209 return ref;