Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: src/trusted/validator_ragel/test_dfa.h

Issue 9348082: Move unreviewed files to unreviewed subdirectory (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 /* Common definitions for the generator of all instructions and the definitions
8 * of the DFA generated by the parse_dfa.py. */
9
10 #ifndef _TEST_DFA_H
11 #define _TEST_DFA_H
12
13 #include <stdbool.h>
14 #include <stdint.h>
15
16 struct state {
17 uint16_t transitions[256];
18 bool is_final;
19 bool anyfield_begin;
20 bool anyfield_end;
21 };
22
23 extern struct state states[];
24
25 uint16_t NumStates();
26
27 void AddRange(int state_idx,
28 uint8_t byte_begin,
29 uint8_t byte_end,
30 uint16_t target);
31
32 void InitTransitions();
33
34 extern uint16_t start_state;
35
36 #endif /* _TEST_DFA_H */
OLDNEW
« no previous file with comments | « src/trusted/validator_ragel/system-instructions.def ('k') | src/trusted/validator_ragel/test_dfa.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698