Searched refs:substr (Results 1 - 25 of 41) sorted by relevance

12

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/funcs/
H A Dtst.substr.d.out4 if (substr("foobarbazbop", 3) ne "barbazbop") {
5 printf("perl => substr(\"foobarbazbop\", 3) = \"%s\"\n",
6 substr("foobarbazbop", 3));
7 printf(" D => substr(\"foobarbazbop\", 3) = \"%s\"\n",
12 if (substr("foobarbazbop", 300) ne "") {
13 printf("perl => substr(\"foobarbazbop\", 300) = \"%s\"\n",
14 substr("foobarbazbop", 300));
15 printf(" D => substr(\"foobarbazbop\", 300) = \"%s\"\n",
20 if (substr("foobarbazbop", -10) ne "obarbazbop") {
21 printf("perl => substr(\"foobarbazbo
[all...]
H A Dtst.index.d33 string substr;
43 command[i].substr = "barbaz";
47 command[i].substr = "foo";
51 command[i].substr = "foo";
55 command[i].substr = "barbazzy";
59 command[i].substr = "foobar";
63 command[i].substr = "foobarbaz";
67 command[i].substr = "foobar";
71 command[i].substr = "";
75 command[i].substr
[all...]
H A Dtst.substrminate.d34 * substr() subroutine.
45 @[substr((i & 1) ? "Bryan is smart" : "he's not a dummy", 0,
H A Dtst.substr.d185 this->result = substr(command[i].alt ?
189 printf("\tif (substr(\"%s%s\", %d) ne \"%s\") {\n",
192 printf("\t\tprintf(\"perl => substr(\\\"%s%s\\\", %d) = ",
194 printf("\\\"%%s\\\"\\n\",\n\t\t substr(\"%s%s\", %d));\n",
196 printf("\t\tprintf(\" D => substr(\\\"%s%s\\\", %d) = ",
208 this->result = substr(command[i].alt ?
212 printf("\tif (substr(\"%s%s\", %d, %d) ne \"%s\") {\n",
215 printf("\t\tprintf(\"perl => substr(\\\"%s%s\\\", %d, %d) = ",
217 printf("\\\"%%s\\\"\\n\",\n\t\t substr(\"%s%s\", %d, %d));\n",
219 printf("\t\tprintf(\" D => substr(\\\"
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/version/
H A Dtst.1.0.d40 int substr;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/safety/
H A Dtst.substr.d41 trace(substr((char *)rand(), rand() ^ vtimestamp));
47 trace(substr((char *)rand(), -rand() ^ vtimestamp));
H A Dtst.shortstr.d55 printf("%s\n", substr(this->str, 1, 40));
/vbox/src/VBox/Devices/PC/ipxe/contrib/rom-o-matic/
H A Dbuild.php110 if ( strtolower ( substr ( $pci_vendor_code, 0, 2 ) ) == "0x"
112 $pci_vendor_code = substr ( $pci_vendor_code, 2, 4 );
114 if ( strtolower ( substr ( $pci_device_code, 0, 2 ) ) == "0x"
116 $pci_device_code = substr ( $pci_device_code, 2, 4 );
169 if ( substr ( $embedded_script, 0, 5 ) != "#!ipxe" ) {
H A Dutils.php53 $s = substr ( $s, 0, 80 );
128 $first_eight_chars = substr ( $line, 0, 8 );
139 $nic = substr ( $nic, strrpos ( $nic, "/" ) + 1,
349 if ( strtolower ( substr ( $flags[$flag], 0, 2 ) ) != "0x" ) {
/vbox/src/VBox/Devices/Network/scripts/
H A DVBoxConvertNATStats.sh94 \$5 = substr(max,0, index(max, ",") -1)
95 \$6 = substr(min,0, index(min, ")") - 1)
/vbox/src/VBox/Runtime/testcase/
H A DtstIprtMiniString.cpp218 /* substr() and substrCP() functions */
220 CHECK_EQUAL(strTest.substr(0), "");
222 CHECK_EQUAL(strTest.substr(1), "");
229 CHECK_EQUAL(strTest.substr(0), strTest.c_str());
232 CHECK_EQUAL(strTest.substr(2), "cdefßäbcdef");
235 CHECK_EQUAL(strTest.substr(2, 2), "cd");
238 CHECK_EQUAL(strTest.substr(6), "ßäbcdef");
241 CHECK_EQUAL(strTest.substr(6, 2), "ß"); // UTF-8 "ß" consumes two bytes
244 CHECK_EQUAL(strTest.substr(8), "äbcdef"); // UTF-8 "ß" consumes two bytes
247 CHECK_EQUAL(strTest.substr(
[all...]
/vbox/src/VBox/Main/src-server/win/
H A DHostDnsServiceWin.cpp222 std::string substr; local
224 while (std::getline(stream, substr, sep))
226 if (substr.empty())
229 if (std::find(v.cbegin(), v.cend(), substr) != v.cend())
232 v.push_back(substr);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libdepfullyconnected.ksh81 push(@new, substr(\$_, \$pos+2, 4));
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/privs/
H A Dtst.unpriv_funcs.ksh56 BEGIN { printf("substr(\"substr\", 2, 2) = %s\n",
57 substr("substr", 2, 2)); }
H A Dtst.func_access.ksh58 BEGIN { trace(substr(`initname, 2, 3)); }
/vbox/src/VBox/Main/glue/
H A Dstring.cpp156 key = substr(start, kvSepPos - start);
157 value = substr(kvSepPos + 1, pos - kvSepPos - 1);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d89 STRFUNC(substr("The SystemTap, The.", 0))
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dstring.c274 static int __numOccurrences( const char *str, const char *substr )
278 while ((temp = crStrstr( temp, substr )) != NULL )
280 temp += crStrlen(substr);
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dpbuf.h179 u16_t pbuf_strstr(struct pbuf* p, const char* substr);
/vbox/src/VBox/Main/src-server/
H A DApplianceImpl.cpp1161 aBucket = aPath.substr(1, bpos - 1); /* The bucket without any slashes */
1162 aPath = aPath.substr(bpos); /* The rest of the file path */
1285 strUri = strUri.substr(sizeof("file://") - 1);
1290 strUri = strUri.substr(sizeof("SunCloud://") - 1);
1295 strUri = strUri.substr(sizeof("S3://") - 1);
1306 locInfo.strUsername = strUri.substr(0, uppos);
1307 strUri = strUri.substr(uppos + 1);
1311 locInfo.strPassword = locInfo.strUsername.substr(upos + 1);
1312 locInfo.strUsername = locInfo.strUsername.substr(0, upos);
1318 locInfo.strHostname = strUri.substr(
[all...]
H A DVFSExplorerImpl.cpp104 m->strBucket = aFilePath.substr(1, bpos - 1); /* The bucket without any slashes */
105 aFilePath = aFilePath.substr(bpos); /* The rest of the file path */
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManageNATNetwork.cpp405 address = it->substr(0, pos);
406 strOffset = it->substr(pos + 1);
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dpbuf.c1138 * @return 0xFFFF if substr was not found in p or the index where it was found
1158 /** Find occurrence of substr with length substr_len in pbuf p, start at offset
1165 * @param substr string to search for in p, maximum length is 0xFFFE
1166 * @return 0xFFFF if substr was not found in p or the index where it was found
1169 pbuf_strstr(struct pbuf* p, const char* substr) argument
1172 if ((substr == NULL) || (substr[0] == 0) || (p->tot_len == 0xFFFF)) {
1175 substr_len = strlen(substr);
1179 return pbuf_memfind(p, substr, (u16_t)substr_len, 0);
/vbox/src/VBox/Main/xml/
H A Dovfreader.cpp770 vd.strDiskId = i.strHostResource.substr(11);
772 vd.strDiskId = i.strHostResource.substr(10);
774 vd.strDiskId = i.strHostResource.substr(6);
/vbox/include/iprt/cpp/
H A Dministring.h735 RTCString substr(size_t pos = 0, size_t n = npos) const function in class:RTCString
741 * Returns a substring of "this" as a new Utf8Str. As opposed to substr(),

Completed in 1642 milliseconds

12