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

Side by Side Diff: third_party/wds/gen/headerscanner.cpp

Issue 1919083003: Update WDS library to version 1.1.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/wds/gen/headerscanner.h ('k') | third_party/wds/gen/messagescanner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #line 10 "headerlexer.l" 1 #line 10 "headerlexer.l"
2 /* 2 /*
3 * This file is part of Wireless Display Software for Linux OS 3 * This file is part of Wireless Display Software for Linux OS
4 * 4 *
5 * Copyright (C) 2015 Intel Corporation. 5 * Copyright (C) 2015 Intel Corporation.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA 20 * 02110-1301 USA
21 */ 21 */
22 22
23 #include <stdint.h>
24
25 #define YY_NO_UNISTD_H 1
23 26
24 27
25 #line 26 "gen/headerscanner.cpp" 28
29 #line 30 "gen/headerscanner.cpp"
26 30
27 #define YY_INT_ALIGNED short int 31 #define YY_INT_ALIGNED short int
28 32
29 /* A lexical scanner generated by flex */ 33 /* A lexical scanner generated by flex */
30 34
31 #define FLEX_SCANNER 35 #define FLEX_SCANNER
32 #define YY_FLEX_MAJOR_VERSION 2 36 #define YY_FLEX_MAJOR_VERSION 2
33 #define YY_FLEX_MINOR_VERSION 5 37 #define YY_FLEX_MINOR_VERSION 5
34 #define YY_FLEX_SUBMINOR_VERSION 35 38 #define YY_FLEX_SUBMINOR_VERSION 35
35 #if YY_FLEX_SUBMINOR_VERSION > 0 39 #if YY_FLEX_SUBMINOR_VERSION > 0
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1265 1269
1266 /* The intent behind this definition is that it'll catch 1270 /* The intent behind this definition is that it'll catch
1267 * any uses of REJECT which flex missed. 1271 * any uses of REJECT which flex missed.
1268 */ 1272 */
1269 #define REJECT reject_used_but_not_detected 1273 #define REJECT reject_used_but_not_detected
1270 #define yymore() yymore_used_but_not_detected 1274 #define yymore() yymore_used_but_not_detected
1271 #define YY_MORE_ADJ 0 1275 #define YY_MORE_ADJ 0
1272 #define YY_RESTORE_YY_MORE_OFFSET 1276 #define YY_RESTORE_YY_MORE_OFFSET
1273 1277
1274 #include <string> 1278 #include <string>
1279
1275 #include "parser.h" 1280 #include "parser.h"
1276 #define yyterminate() return(END) 1281 #define yyterminate() return(END)
1277 1282
1278 #define INITIAL 0 1283 #define INITIAL 0
1279 #define MATCH_STRING_STATE 1 1284 #define MATCH_STRING_STATE 1
1280 #define MATCH_RESPONSE_CODE_STATE 2 1285 #define MATCH_RESPONSE_CODE_STATE 2
1281 #define SUPPORTED_METHODS_STATE 3 1286 #define SUPPORTED_METHODS_STATE 3
1282 #define CONTENT_TYPE_STATE 4 1287 #define CONTENT_TYPE_STATE 4
1283 #define SESSION_STATE 5 1288 #define SESSION_STATE 5
1284 1289
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
3009 return (void *) realloc( (char *) ptr, size ); 3014 return (void *) realloc( (char *) ptr, size );
3010 } 3015 }
3011 3016
3012 void header_free (void * ptr , yyscan_t yyscanner) 3017 void header_free (void * ptr , yyscan_t yyscanner)
3013 { 3018 {
3014 free( (char *) ptr ); /* see header_realloc() for (char *) cast */ 3019 free( (char *) ptr ); /* see header_realloc() for (char *) cast */
3015 } 3020 }
3016 3021
3017 #define YYTABLES_NAME "yytables" 3022 #define YYTABLES_NAME "yytables"
3018 3023
OLDNEW
« no previous file with comments | « third_party/wds/gen/headerscanner.h ('k') | third_party/wds/gen/messagescanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698