Searched defs:line (Results 351 - 375 of 1454) sorted by path

<<11121314151617181920>>

/external/chromium_org/third_party/icu/source/tools/gendict/
H A Dgendict.cpp107 // prints out the standard usage method describing command line arguments,
183 exit(U_ILLEGAL_ARGUMENT_ERROR); // TODO: should return and print the line number
203 // should be populated from a command line argument
255 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); local
256 if(line == NULL || errorCode.isFailure()) { return FALSE; }
258 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#'
260 lineLength = (int32_t)(comment - line);
262 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; }
264 while(lineLength > 0 && u_isspace(line[lineLengt
[all...]
/external/chromium_org/third_party/icu/source/tools/gennorm2/
H A Dgennorm2.cpp81 /* preset then read command line options */
88 "error in command line argument \"%s\"\n",
190 char line[300]; local
192 while(NULL!=fgets(line, (int)sizeof(line), f)) {
193 char *comment=(char *)strchr(line, '#');
197 u_rtrim(line);
198 if(line[0]==0) {
201 if(line[0]=='*') {
202 const char *s=u_skipWhitespace(line
[all...]
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dparse.cpp59 uint32_t line; member in struct:Lookahead
72 "<end of line>"
128 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
165 *linenumber = state->lookahead[state->lookaheadPosition].line;
177 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
207 *linenumber = state->lookahead[i].line;
220 uint32_t line; local
222 enum ETokenType token = getToken(state, tokenValue, comment, &line, status);
226 *linenumber = line;
237 error(line, "expectin
245 getInvariantString(ParseState* state, uint32_t *line, struct UString *comment, UErrorCode *status) argument
285 uint32_t line; local
429 uint32_t line; local
505 uint32_t line; local
836 uint32_t line; local
1038 uint32_t line; local
1160 uint32_t line; local
1453 uint32_t line; local
1584 uint32_t line; local
1698 uint32_t line; local
1875 uint32_t line=0; local
1920 uint32_t line; local
2047 uint32_t line; local
[all...]
H A Dread.c359 /* parse multi-line comment and store it in token*/
398 uint32_t line; local
404 line = lineCount;
429 error(line, "unterminated comment detected");
H A Dreslist.h173 int line; /* used internally to report duplicate keys in tables */ member in struct:SResource
/external/chromium_org/third_party/icu/source/tools/makeconv/
H A Dmakeconv.c214 /* preset then read command line options */
221 "error in command line argument \"%s\"\n",
436 char line[1024]; local
449 while(T_FileStream_readLine(convFile, line, sizeof(line))) {
451 if(ucm_parseHeaderLine(data->ucm, line, &key, &value)) {
456 if(uprv_strcmp(line, "CHARMAP")==0) {
471 length=ucm_parseBytes(bytes, line, (const char **)&s);
484 if(1==ucm_parseBytes(bytes, line, (const char **)&s) && *s==0) {
563 char line[102 local
[all...]
/external/chromium_org/third_party/icu/source/tools/pkgdata/
H A Dpkgdata.cpp259 /* read command line options */
272 "%s: error in command line argument \"%s\"\n",
1127 /* Remove new line character. */
1144 fprintf(stderr, "Failed to read line from file: %s\n", fileListName);
1863 char line[16384]; local
1869 int32_t ln=0; /* line number */
1884 while(T_FileStream_readLine(in, line, sizeof(line))!=NULL) { /* for each line */
1886 if(uprv_strlen(line)>lineMa
[all...]
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dpkg_gencmn.c119 char *line; local
126 line = (char *)uprv_malloc(sizeof(char) * LINE_BUFFER_SIZE);
127 if (line == NULL) {
128 fprintf(stderr, "gencmn: unable to allocate memory for line buffer of size %d\n", LINE_BUFFER_SIZE);
132 linePtr = line;
168 while((s != NULL && *s != 0) || (s=T_FileStream_readLine(in, (line=linePtr),
172 line=s;
174 s=line;
190 if (*line == '#') {
198 while((t = uprv_strchr(line,U_FILE_ALT_SEP_CHA
[all...]
H A Dpkg_icu.cpp80 char line[1024]; local
91 while(fgets(line, sizeof(line), file)) {
93 end=strchr(line, '#');
98 end=strchr(line, 0);
99 while(line<end && (*(end-1)=='\r' || *(end-1)=='\n')) {
107 start=u_skipWhitespace(line);
112 // take whitespace-separated items from the line
114 // find whitespace after the item or the end of the line
117 // this item is the last one on the line
[all...]
H A Dppucd.cpp107 // Select the next available line buffer.
114 char *line=lines[lineIndex]; local
115 *line=0;
116 lineLimit=fieldLimit=line;
118 char *result=fgets(line, sizeof(lines[0]), file);
122 fprintf(stderr, "error reading preparsed UCD before line %ld\n", (long)lineNumber);
128 if(*line=='#') {
129 fieldLimit=strchr(line, 0);
134 char *limit=strchr(line, 0);
135 while(line<limi
[all...]
H A Ducm.c743 ucm_parseBytes(uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line, const char **ps) { argument
762 fprintf(stderr, "ucm error: byte must be formatted as \\xXX (2 hex digits) - \"%s\"\n", line);
767 fprintf(stderr, "ucm error: too many bytes on \"%s\"\n", line);
778 /* parse a mapping line; must not be empty */
783 const char *line) {
790 s=line;
807 fprintf(stderr, "ucm error: Unicode code point must be formatted as <UXXXX> (1..6 hex digits) - \"%s\"\n", line);
811 fprintf(stderr, "ucm error: Unicode code point must be 0..d7ff or e000..10ffff - \"%s\"\n", line);
816 fprintf(stderr, "ucm error: too many code points on \"%s\"\n", line);
824 fprintf(stderr, "ucm error: no Unicode code points on \"%s\"\n", line);
780 ucm_parseMappingLine(UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line) argument
1126 ucm_addMappingFromLine(UCMFile *ucm, const char *line, UBool forBase, UCMStates *baseStates) argument
1147 char line[500]; local
[all...]
H A Ducmstate.c206 char *line, char **pKey, char **pValue) {
214 for(end=line; (c=*end)!=0; ++end) {
219 while(end>line && (*(end-1)==' ' || *(end-1)=='\t')) {
225 s=(char *)u_skipWhitespace(line);
237 fprintf(stderr, "ucm error: no header field <key> in line \"%s\"\n", line);
243 fprintf(stderr, "ucm error: incomplete header field <key> in line \"%s\"\n", line);
307 fprintf(stderr, "ucm error: <icu:state> entry for non-MBCS table or before the <uconv_class> line\n");
312 fprintf(stderr, "ucm error: <icu:state> before the <mb_cur_max> line\
205 ucm_parseHeaderLine(UCMFile *ucm, char *line, char **pKey, char **pValue) argument
[all...]
H A Duparse.c78 char line[300]; local
102 while(T_FileStream_readLine(file, line, sizeof(line))!=NULL) {
104 length=(int32_t)(u_rtrim(line)-line);
107 * detect a line with # @missing:
108 * start parsing after that, or else from the beginning of the line
111 start=(char *)getMissingLimit(line);
112 if(start==line) {
118 /* skip this line i
[all...]
H A Dxmlparser.cpp134 // Match any of the new-line sequences in content.
147 fOneLF((UChar)0x0a) // Plain new-line string, used in new line normalization.
637 int line = 0; local
641 line++;
643 fprintf(stderr, "Error: %s at line %d\n", message, line);
/external/chromium_org/third_party/icu/source/tools/tzcode/
H A Dtz2icu.cpp708 * Read and discard the current line.
957 // rule US DOWGEQ 3 1 0 7200 0 0 3600 # 52: US, file data/northamerica, line 119, mode DOWGEQ, April, dom 1, Sunday, time 7200, isstd 0, isgmt 0, offset 3600
958 // rule US DOWLEQ 9 31 0 7200 0 0 0 # 53: US, file data/northamerica, line 114, mode DOWLEQ, October, dom 31, Sunday, time 7200, isstd 0, isgmt 0, offset 0
1593 string line; local
1594 while (getline(f, line)) {
1595 string::size_type lb = line.find('#');
1597 line.resize(lb); // trim comments
1600 istringstream is(line);
1604 cerr << "Error: Can't parse " << line << " in " << zonetab << endl;
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
H A Djson_reader.cpp839 int &line,
844 line = 0;
853 ++line;
858 ++line;
861 // column & line start at 1
863 ++line;
870 int line, column; local
871 getLocationLineAndColumn( location, line, column );
873 sprintf( buffer, "Line %d, Column %d", line, column );
838 getLocationLineAndColumn( Location location, int &line, int &column ) const argument
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddb_bench.cc363 char line[1000]; local
367 while (fgets(line, sizeof(line), cpuinfo) != NULL) {
368 const char* sep = strchr(line, ':');
372 Slice key = TrimSpace(Slice(line, sep - 1 - line));
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
H A Daddress_formatter.cc113 std::string* line) {
114 line->clear();
120 line->append(separator);
122 line->append(*it);
152 // or end of a line are separators, and therefore only relevant if the
179 std::string line; local
185 if (!line.empty()) {
186 lines->push_back(line);
187 line.clear();
195 line
111 CombineLinesForLanguage(const std::vector<std::string>& lines, const std::string& language_tag, std::string* line) argument
216 GetFormattedNationalAddressLine( const AddressData& address_data, std::string* line) argument
223 GetStreetAddressLinesAsSingleLine( const AddressData& address_data, std::string* line) argument
[all...]
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/
H A Dcommons-logging-1.1.1.jar ... printWriter String traceString java.util.StringTokenizer tokenizer String line int start int end String temp int lastPeriod Exception ex ...
H A Dhttpclient-4.1.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/impl/ ...
/external/chromium_org/third_party/libevent/
H A Dbuffer.c206 * Reads a line terminated by either '\r\n', '\n\r' or '\r' or '\n'.
215 char *line; local
226 if ((line = malloc(i + 1)) == NULL) {
231 memcpy(line, data, i);
232 line[i] = '\0';
235 * Some protocols terminate a line with '\r\n', so check for
248 return (line);
H A Dhttp.c385 /* Generate request line */
797 /* the last chunk is on a new line? */
1209 /* Parses the status line of a web server */
1212 evhttp_parse_response_line(struct evhttp_request *req, char *line) argument
1218 protocol = strsep(&line, " ");
1219 if (line == NULL)
1221 number = strsep(&line, " ");
1222 if (line == NULL)
1224 readable = line;
1251 /* Parse the first line o
1254 evhttp_parse_request_line(struct evhttp_request *req, char *line) argument
1437 char *line; local
1462 evhttp_append_to_last_header(struct evkeyvalq *headers, const char *line) argument
1487 char *line; local
2117 char *line; local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Djsep.h48 // The sdp line that causes the error.
49 std::string line; member in struct:webrtc::SdpParseError
61 // identification" as defined in [RFC 3388] for m-line this candidate is
64 // This indeicates the index (starting at zero) of m-line in the SDP this
85 // This class represents a collection of candidates for a specific m-line.
87 // candidates for a certain m-line.
111 // RFC 4566 for the SDP o= line.
122 // Returns a collection of all candidates that belong to a certain m-line
H A Dpeerconnectionendtoend_unittest.cc66 // Add |newlines| to the |message| after |line|.
67 void InjectAfter(const std::string& line, argument
70 const std::string tmp = line + newlines;
71 rtc::replace_substrs(line.c_str(), line.length(),
75 void Replace(const std::string& line, argument
78 rtc::replace_substrs(line.c_str(), line.length(),

Completed in 630 milliseconds

<<11121314151617181920>>