/external/chromium_org/third_party/icu/source/tools/toolutil/ |
pkg_icu.cpp | 78 char line[1024]; local 89 while(fgets(line, sizeof(line), file)) { 91 end=strchr(line, '#'); 96 end=strchr(line, 0); 97 while(line<end && (*(end-1)=='\r' || *(end-1)=='\n')) { 105 start=u_skipWhitespace(line); 110 // take whitespace-separated items from the line 112 // find whitespace after the item or the end of the line 115 // this item is the last one on the line [all...] |
/external/chromium_org/tools/protoc_wrapper/ |
protoc_wrapper.py | 31 for line in f: 32 header_contents.append(line) 33 if line == PROTOC_INCLUDE_POINT: 53 for line in src_file: 59 if 'LITE_RUNTIME' in line or 'retain_unknown_fields' in line: 61 dst_file.write(line)
|
/external/icu4c/layoutex/layout/ |
playout.h | 38 * The opaque type for a line in a paragraph layout. 45 * The opaque type for a visual run in a line. 209 * Reset line breaking to start from the beginning of the paragraph. 219 * Return a <code>pl_line</code> object which represents next line 220 * in the paragraph. The width of the line is specified each time so that it can 224 * @param width is the width of the line. If <code>width</code> is less than or equal 225 * to zero, a <code>ParagraphLayout::Line</code> object representing the 228 * @return a <code>ParagraphLayout::Line</code> object which represents the line. The caller 240 * Close the given line object. Line objects are create [all...] |
/external/icu4c/tools/toolutil/ |
pkg_icu.cpp | 80 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...] |
/packages/experimental/procstatlog/ |
procstatlog.c | 49 // /proc/binder/stats - per line: "/proc/binder/stats:BC_REPLY" 52 // /proc/stat - per line: "/proc/stat:intr" 53 // /proc/yaffs - per device/line: "/proc/yaffs:userdata:nBlockErasures" 55 // - per line: "/sys/.../time_in_state:245000" 96 // Read a name/value file and write data entries for each line. 99 // delimiter: used to split each line into name and value 101 // skip_words: skip this many words at the start of each line 126 char *line; local 127 for (line = strtok(buf, "\n"); 128 line != NULL && num < stats_count 175 char *line, *device = NULL; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
Text_Suite.py | 36 class line(aetools.ComponentItem): class in inherits:aetools.ComponentItem 37 """line - A line of text """ 44 lines = line 121 line._superclassnames = ['text'] 122 line._privpropdict = { 126 line._privelemdict = { 146 'line' : line, 196 'clin' : line, [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
language_switch_menu.cc | 53 for (int line = 0; line != kLanguageMainMenuSize; line++) { 54 menu_model_.AddItem(line, language_list_->GetLanguageNameAt(line)); 60 for (int line = kLanguageMainMenuSize; 61 line != language_list_->get_languages_count(); line++) { 63 line, language_list_->GetLanguageNameAt(line)); [all...] |
/external/chromium_org/third_party/mozilla/ |
NSURL+Utils.m | 128 // Scan each non-empty line in this section. We don't need to explicitly scan the newlines or 130 NSString *line; 132 while ([scanner scanUpToCharactersFromSet:newlines intoString:&line]) { 133 if ([line hasPrefix:@"URL="]) { 134 ret = [NSURL URLWithString:[line substringFromIndex:4]]; 137 else if ([line hasPrefix:@"["]) {
|
/external/chromium_org/tools/gn/ |
command_args.cc | 20 bool DoesLineBeginWithComment(const base::StringPiece& line) { 23 while (i < line.size() && IsAsciiWhitespace(line[i])) 26 return i < line.size() && line[i] == '#'; 29 // Returns the offset of the beginning of the line identified by |offset|. 31 // Degenerate case of an empty line. Below we'll try to return the 46 std::string StripCommentFromLine(const base::StringPiece& line) { 47 std::string ret = line.as_string(); 74 line_off -= 2; // Back up to end of previous line [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_diagnostics.py | 10 assert tu.diagnostics[0].location.line == 1 20 assert tu.diagnostics[0].location.line == 2 24 # assert tu.diagnostics[1].location.line == 1 32 assert tu.diagnostics[0].location.line == 1 36 assert tu.diagnostics[0].fixits[0].range.start.line == 1 38 assert tu.diagnostics[0].fixits[0].range.end.line == 1 46 assert tu.diagnostics[0].location.line == 1 51 assert tu.diagnostics[0].ranges[0].start.line == 1 53 assert tu.diagnostics[0].ranges[0].end.line == 1 56 tu.diagnostics[0].ranges[1].start.line [all...] |
/external/libvorbis/vq/ |
latticebuild.c | 30 command line: 64 char *line,*name; local 71 fprintf(stderr,"Need a lattice description file on the command line.\n"); 97 line=get_line(in); 98 if(sscanf(line,"%d %d %d %d",&quantvals,&dim,&addmul,&sequencep)!=4){ 99 if(sscanf(line,"%d %d %d",&quantvals,&dim,&addmul)!=3){ 100 fprintf(stderr,"Syntax error reading description file (line 1)\n"); 118 line=setup_line(in); 121 if(!line || sscanf(line,"%lf",quantlist+j)!=1) [all...] |
latticetune.c | 34 command line: 47 char *line,*name; local 51 fprintf(stderr,"Need a lattice codebook on the command line.\n"); 55 fprintf(stderr,"Need a codeword data file on the command line.\n"); 96 line=setup_line(in); 97 while(line){ 102 if(sscanf(line,"%ld",&code)==1) 105 line=setup_line(in); 112 line=setup_line(in); 113 while(line){ [all...] |
/external/marisa-trie/tools/ |
marisa-build.cc | 42 std::string line; local 43 while (std::getline(*input, line)) { 44 const std::string::size_type delim_pos = line.find_last_of('\t'); 45 if (delim_pos != line.npos) { 47 key.second = std::strtod(&line[delim_pos + 1], &end_of_value); 49 line.resize(delim_pos); 56 key.first = line; 82 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what() 96 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what() 105 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what( [all...] |
/external/marisa-trie/v0_1_5/tools/ |
marisa_alpha-build.cc | 42 std::string line; local 43 while (std::getline(*input, line)) { 44 const std::string::size_type delim_pos = line.find_last_of('\t'); 45 if (delim_pos != line.npos) { 47 key.second = std::strtod(&line[delim_pos + 1], &end_of_value); 49 line.resize(delim_pos); 56 key.first = line; 82 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what() 96 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what() 105 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what( [all...] |
/external/mockito/src/org/mockito/internal/configuration/ |
ClassPathLoader.java | 49 * <code>mockito-extensions</code>, the content of this file need to have <strong>one</strong> line with 156 for (String line : readerToLines(new InputStreamReader(in, "UTF-8"))) { 157 String name = stripCommentAndWhitespace(line); 175 String line; local 176 while ((line = lineReader.readLine()) != null) { 177 result.add(line); 182 static String stripCommentAndWhitespace(String line) { 183 int hash = line.indexOf('#'); 185 line = line.substring(0, hash) [all...] |
/external/webrtc/src/system_wrappers/source/ |
cpu_linux.cc | 119 char line[100]; local 120 if (fgets(line, 100, fp) == NULL) { 125 if (sscanf(line, "%s ", firstWord) != 1) { 137 if (sscanf(line, "%s %s %s %s %s ", 151 if (fgets(line, 100, fp) == NULL) { 155 if (sscanf(line, "%s %s %s %s %s ", firstWord, sUser, sNice, sSystem, 178 // Skip first line 179 char line[100]; local 180 if (!fgets(line, 100, fp)) 190 if (fgets(line, 100, fp) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
grp_data.c | 51 Word32 line; local 65 for (line=(sfbOffset[sfb + 1] - 1); line>=sfbOffset[sfb]; line--) { 67 if (mdctSpectrum[wnd*FRAME_LEN_SHORT+line] != 0) break; 70 if (line >= sfbOffset[sfb]) break; 172 for (line = lineOffset + sfbOffset[sfb]; line < lineOffset + sfbOffset[sfb+1]; line++) { 173 tmpSpectrum[i] = mdctSpectrum[line]; [all...] |
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureTest.java | 28 * Basic tests that verify expected values when a simple line gesture stroke is added. 50 GestureStroke line = mLineHelper.createLineGesture(); local 51 mGesture.addStroke(line); 53 assertEquals(line, mGesture.getStrokes().get(0)); 62 GestureStroke line = mLineHelper.createLineGesture(); local 63 mGesture.addStroke(line);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ClassicToken.cs | 47 int line; field in class:Antlr.Runtime.ClassicToken 61 line = oldToken.Line; 96 public int Line { 98 return line; 101 line = value; 171 return "[@" + TokenIndex + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ClassicToken.cs | 49 int line; field in class:Antlr.Runtime.ClassicToken 65 line = oldToken.Line; 108 public int Line 112 return line; 116 line = value; 209 return "[@" + TokenIndex + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
/external/chromium_org/base/ |
sys_info_linux.cc | 89 std::string line; local 90 while (std::getline(iss, line)) { 91 if (line.compare(0, strlen(kCpuModelPrefix), kCpuModelPrefix) == 0) { 92 size_t pos = line.find(": "); 93 return line.substr(pos + 2);
|
/external/chromium_org/chrome_frame/ |
combine_libs.py | 40 for line in output: 41 line = line.rstrip() 42 if remove_re.search(line): 43 removals.append(line)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
print-stale-test-expectations-entries | 65 for line in expectations: 66 comment_index = line.find("#") 68 comment_index = len(line) 70 remaining_string = re.sub(r"\s+", " ", line[:comment_index].strip()) 75 parts = line.split(' ') 93 print line.strip()
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
fake_downloader.cc | 49 std::string line; local 51 std::getline(file, line); 52 std::string::size_type divider = line.find('='); 55 GetLookupKeyUtil().GetUrlForKey(line.substr(0, divider)), 56 line.substr(divider + 1)));
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
MarketIO.h | 21 inline bool GetMarketLine (std::stringstream& line, int& M, int& N, int& i, int& j, Scalar& value) 23 line >> i >> j >> value; 34 inline bool GetMarketLine (std::stringstream& line, int& M, int& N, int& i, int& j, std::complex<Scalar>& value) 37 line >> i >> j >> valR >> valI; 50 inline void GetVectorElt (const std::string& line, RealScalar& val) 52 std::istringstream newline(line); 57 inline void GetVectorElt (const std::string& line, std::complex<RealScalar>& val) 60 std::istringstream newline(line); 117 std::string line; 118 // The matrix header is always the first line in the file [all...] |