/external/webkit/WebKitTools/Scripts/ |
execAppWithEnv | 37 eval substr($unsplitEnvVar, 1, -1);
|
/ndk/build/awk/ |
extract-debuggable.awk | 58 $0 = substr($0, _xml_p) # remove anything before '<' 66 if (substr($0, 1, 2) == "</") { # is it a closing tag ? 68 $0 = substr($0, 3); 71 $0 = substr($0, 2); 95 if (substr($0,1,2) == "=\"") { # value is ="something" 96 _xml_value = substr($0,3); 99 } else if (substr($0,1,2) == "='") { # value is ='something' 100 _xml_value = substr($0,3); 132 _xml_expected = substr(XML_RPATH, 1, _xml_p-1); 135 XML_RPATH = substr(XML_RPATH, _xml_p+1) [all...] |
extract-package-name.awk | 59 $0 = substr($0, _xml_p) # remove anything before '<' 67 if (substr($0, 1, 2) == "</") { # is it a closing tag ? 69 $0 = substr($0, 3); 72 $0 = substr($0, 2); 96 if (substr($0,1,2) == "=\"") { # value is ="something" 97 _xml_value = substr($0,3); 100 } else if (substr($0,1,2) == "='") { # value is ='something' 101 _xml_value = substr($0,3); 133 _xml_expected = substr(XML_RPATH, 1, _xml_p-1); 136 XML_RPATH = substr(XML_RPATH, _xml_p+1) [all...] |
xml.awk | 43 $0 = substr($0, _xml_p) # remove anything before '<' 51 if (substr($0, 1, 2) == "</") { # is it a closing tag ? 53 $0 = substr($0, 3); 56 $0 = substr($0, 2); 80 if (substr($0,1,2) == "=\"") { # value is ="something" 81 _xml_value = substr($0,3); 84 } else if (substr($0,1,2) == "='") { # value is ='something' 85 _xml_value = substr($0,3); 117 _xml_expected = substr(XML_RPATH, 1, _xml_p-1); 120 XML_RPATH = substr(XML_RPATH, _xml_p+1) [all...] |
convert-deps-to-cygwin.awk | 45 LINE = LINE SEP CYGDRIVE_PREFIX tolower(substr($nn,1,1)) "/" substr($nn,4) 54 MARGIN=substr($0,RSTART,RLENGTH)
|
extract-platform.awk | 34 API=substr($0,RSTART,RLENGTH) 37 API="android-" substr($0,RSTART+1,RLENGTH)
|
extract-launchable.awk | 113 $0 = substr($0, _xml_p) # remove anything before '<' 121 if (substr($0, 1, 2) == "</") { # is it a closing tag ? 123 $0 = substr($0, 3); 126 $0 = substr($0, 2); 150 if (substr($0,1,2) == "=\"") { # value is ="something" 151 _xml_value = substr($0,3); 154 } else if (substr($0,1,2) == "='") { # value is ='something' 155 _xml_value = substr($0,3); 187 _xml_expected = substr(XML_RPATH, 1, _xml_p-1); 190 XML_RPATH = substr(XML_RPATH, _xml_p+1) [all...] |
check-awk.awk | 17 # implements the match() and substr() functions appropriately. 33 s2=substr(s1,RSTART,RLENGTH) 35 print "Fail substr="s2
|
/external/gtest/include/gtest/ |
gtest-spi.h | 101 const char* substr); 117 // statement will cause exactly one fatal Google Test failure with 'substr' 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 146 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 163 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 174 // statement will cause exactly one non-fatal Google Test failure with 'substr' 195 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ 199 >est_failures, ::testing::TPRT_NONFATAL_FAILURE, (substr));\ 208 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ [all...] |
/external/tcpdump/ |
stime.awk | 18 printf "%7.2f\t%g\n", tim-tzero, substr($6,1,i-1)/1024
|
/external/v8/test/mjsunit/ |
substr.js | 29 assertEquals(s, s.substr()); 30 assertEquals(s, s.substr(0)); 31 assertEquals(s, s.substr('0')); 32 assertEquals(s, s.substr(void 0)); 33 assertEquals(s, s.substr(null)); 34 assertEquals(s, s.substr(false)); 35 assertEquals(s, s.substr(0.9)); 36 assertEquals(s, s.substr({ valueOf: function() { return 0; } })); 37 assertEquals(s, s.substr({ toString: function() { return '0'; } })); 40 assertEquals(s1, s.substr(1)) [all...] |
/external/e2fsprogs/lib/ss/ |
ct_c.awk | 17 subr = substr($0, 6, length($0)-5) 21 help = substr($0, 6, length($0)-5) 25 cmd = substr($0, 6, length($0)-5) 31 opt = substr($0, 6, length($0)-5) 56 error = substr($0, 8, length($0)-7)
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_mlsd.cc | 28 if (!StringToInt(text.substr(0, 4), &time_exploded.year)) 30 if (!StringToInt(text.substr(4, 2), &time_exploded.month)) 32 if (!StringToInt(text.substr(6, 2), &time_exploded.day_of_month)) 34 if (!StringToInt(text.substr(8, 2), &time_exploded.hour)) 36 if (!StringToInt(text.substr(10, 2), &time_exploded.minute)) 57 string16 facts_string = line.substr(0, first_space_pos - 1); 58 string16 filename = line.substr(first_space_pos + 1); 74 string16 key = i->substr(0, equal_sign_pos); 75 string16 value = i->substr(equal_sign_pos + 1);
|
ftp_directory_listing_parser_ls.cc | 39 return (LooksLikeUnixPermission(text.substr(1, 3)) && 40 LooksLikeUnixPermission(text.substr(4, 3)) && 41 LooksLikeUnixPermission(text.substr(7, 3)) && 42 (text.substr(10).empty() || text.substr(10) == ASCIIToUTF16("+"))); 156 entry.name = entry.name.substr(0, pos);
|
ftp_util.cc | 38 return unix_path.substr(1); // Drop the leading slash. 77 return path.substr(0, path.length() - 1); 103 result = result.substr(0, result.length() - 1); 163 if (!StringToInt(rest.substr(0, 2), &time_exploded.hour)) 166 if (!StringToInt(rest.substr(3, 2), &time_exploded.minute)) 194 string16 result(text.substr(pos));
|
ftp_ctrl_response_buffer.cc | 72 if (StringToInt(line.substr(0, 3), &result.status_code)) 84 result.status_text = line.substr(4); 98 lines_.push(ParseLine(buffer_.substr(cut_pos, i - cut_pos - 1)));
|
/external/protobuf/gtest/include/gtest/ |
gtest-spi.h | 101 const char* substr); 117 // statement will cause exactly one fatal Google Test failure with 'substr' 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 174 // statement will cause exactly one non-fatal Google Test failure with 'substr' 204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ 209 (substr));\ 218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ [all...] |
/external/libvpx/examples/includes/geshi/contrib/ |
cssgen2.php | 38 if ($pos > 0 && substr($file, $pos) == '.php') { 39 $languages[] = substr($file, 0, $pos);
|
/libcore/luni/src/main/java/org/apache/xpath/functions/ |
FuncSubstring.java | 52 XMLString substr; local 88 substr = s1.substring(startIndex, end); 94 substr = s1.substring(startIndex); 98 return (XString)substr; // cast semi-safe
|
/external/chromium/third_party/icu/source/test/intltest/ |
fldset.h | 100 * @param substr the string in question (value side) 104 virtual int32_t handleParseName(const FieldsSet* inheritFrom, const UnicodeString& name, const UnicodeString& substr, UErrorCode& status); 111 * @param substr the string in question (value side) 115 virtual void handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 123 void parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 132 void parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 232 void handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 256 void handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 257 int32_t handleParseName(const FieldsSet* inheritFrom, const UnicodeString& name, const UnicodeString& substr, UErrorCode& status);
|
fldset.cpp | 190 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) { 203 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 205 if(substr.length()==0) { // inherit requested 215 value = udbg_stoi(substr); 220 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 221 int32_t value = udbg_enumByString(type, substr); 226 parseValueDefault(inheritFrom,field,substr,status); 230 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 231 parseValueDefault(inheritFrom, field, substr, status); 245 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) [all...] |
/external/icu4c/test/intltest/ |
fldset.h | 100 * @param substr the string in question (value side) 104 virtual int32_t handleParseName(const FieldsSet* inheritFrom, const UnicodeString& name, const UnicodeString& substr, UErrorCode& status); 111 * @param substr the string in question (value side) 115 virtual void handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 123 void parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 132 void parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 232 void handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 256 void handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status); 257 int32_t handleParseName(const FieldsSet* inheritFrom, const UnicodeString& name, const UnicodeString& substr, UErrorCode& status);
|
fldset.cpp | 190 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) { 203 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 205 if(substr.length()==0) { // inherit requested 215 value = udbg_stoi(substr); 220 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 221 int32_t value = udbg_enumByString(type, substr); 226 parseValueDefault(inheritFrom,field,substr,status); 230 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 231 parseValueDefault(inheritFrom, field, substr, status); 245 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-spi.h | 179 const char* substr); 195 // statement will cause exactly one fatal Google Test failure with 'substr' 207 #define EXPECT_FATAL_FAILURE(statement, substr) do {\ 214 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 225 // 'substr' being part of the failure message. 236 #define EXPECT_NONFATAL_FAILURE(statement, substr) do {\ 239 >est_failures, ::testing::TPRT_NONFATAL_FAILURE, (substr));\
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
PERF.awk | 73 if (substr(who, 0, 3) == "VP_" || 74 substr(who, 0, 3) == "VD_" || 75 substr(who, 0, 3) == "VE_" || 76 substr(who, 0, 3) == "CAM") { 77 boundary = substr(who, 0, 3) "T";
|