OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:StringUtil
(Results
1 - 17
of
17
) sorted by null
/cts/suite/audio_quality/test/
StringUtilTest.cpp
18
#include <
StringUtil
.h>
27
ASSERT_TRUE(
StringUtil
::compare(str, "hello") == 0);
28
ASSERT_TRUE(
StringUtil
::compare(str, "hi") != 0);
34
android::String8 sub1 =
StringUtil
::substr(str, 0, 5);
35
ASSERT_TRUE(
StringUtil
::compare(sub1, "hello") == 0);
37
android::String8 sub2 =
StringUtil
::substr(str, 10, 5);
38
ASSERT_TRUE(
StringUtil
::compare(sub2, "e") == 0);
40
android::String8 sub3 =
StringUtil
::substr(str, 6, 5);
41
ASSERT_TRUE(
StringUtil
::compare(sub3, "there") == 0);
43
android::String8 sub4 =
StringUtil
::substr(str, 100, 5)
[
all
...]
TaskCaseTest.cpp
21
#include "
StringUtil
.h"
144
ASSERT_TRUE(
StringUtil
::compare(result1, "hello_1_2") == 0);
149
ASSERT_TRUE(
StringUtil
::compare(result2, "hello_1_2_3_there") == 0);
159
ASSERT_TRUE(
StringUtil
::compare(result4, "hello_there") == 0);
/cts/suite/audio_quality/lib/src/task/
TaskAsync.cpp
19
#include "
StringUtil
.h"
61
if (
StringUtil
::compare(name, "id") == 0) {
63
} else if (
StringUtil
::compare(name, "gain") == 0) {
69
} else if (
StringUtil
::compare(name, "sync") == 0) {
70
if (
StringUtil
::compare(value, "start") == 0) { // async
73
} else if (
StringUtil
::compare(name, "device") == 0) {
74
if (
StringUtil
::compare(value, "host") == 0) {
76
} else if (
StringUtil
::compare(value, "DUT") == 0) {
81
} else if (
StringUtil
::compare(name, "mode") == 0) {
82
if (
StringUtil
::compare(value, "voice") == 0)
[
all
...]
TaskSound.cpp
21
#include "
StringUtil
.h"
43
if (
StringUtil
::compare(name, "preload") == 0) {
44
if (
StringUtil
::compare(value, "1") == 0) {
64
UniquePtr<std::vector<android::String8> > tokens(
StringUtil
::split(type, ':'));
70
if (
StringUtil
::compare(tokens->at(0), "file") == 0) {
75
} else if (
StringUtil
::compare(tokens->at(0), "sin") == 0) {
85
} else if (
StringUtil
::compare(tokens->at(0), "random") == 0) {
TaskOutput.cpp
18
#include "
StringUtil
.h"
37
if (
StringUtil
::compare(name, "waitforcompletion") == 0) {
38
if (
StringUtil
::compare(value, "1") == 0) {
TaskProcess.cpp
22
#include "
StringUtil
.h"
150
if (
StringUtil
::compare(mName, BuiltinProcessing::BUINTIN_FN_TABLE[i].mName) == 0) {
248
UniquePtr<std::vector<android::String8> > paramTokens(
StringUtil
::split(paramStr, ','));
255
UniquePtr<std::vector<android::String8> > itemTokens(
StringUtil
::split(tokens[i], ':'));
265
if (
StringUtil
::compare(item[0], "id") == 0) {
269
} else if (
StringUtil
::compare(item[0], "val") == 0) {
273
} else if (isInput && (
StringUtil
::compare(item[0], "consti") == 0)) {
279
} else if (isInput && (
StringUtil
::compare(item[0], "constf") == 0)) {
296
if (
StringUtil
::compare(name, "method") == 0) {
297
UniquePtr<std::vector<android::String8> > tokenPtr(
StringUtil
::split(value, ':'))
[
all
...]
TaskSequential.cpp
19
#include "
StringUtil
.h"
123
if (
StringUtil
::compare(name, "repeat") == 0) {
131
} else if (
StringUtil
::compare(name, "index") == 0) {
TaskSave.cpp
26
#include "
StringUtil
.h"
54
UniquePtr<std::vector<android::String8> > list(
StringUtil
::split(fileValue, ','));
107
UniquePtr<std::vector<android::String8> > list(
StringUtil
::split(reportValue, ','));
TaskCase.cpp
27
#include "
StringUtil
.h"
256
translated.append(
StringUtil
::substr(orig, strStart, pmatch[1].rm_so - 1)); //-1 for $
258
indexName.append(
StringUtil
::substr(orig, matchStart, matchEnd - matchStart));
273
translated.append(
StringUtil
::substr(orig, matchEnd, orig.length() - matchEnd));
/cts/suite/audio_quality/lib/include/
StringUtil.h
27
class
StringUtil
{
/cts/suite/audio_quality/lib/src/
StringUtil.cpp
22
#include "
StringUtil
.h"
24
std::vector<android::String8>*
StringUtil
::split(const android::String8& str, char delimiter)
42
android::String8
StringUtil
::substr(const android::String8& str, size_t pos, size_t n)
57
int
StringUtil
::compare(const android::String8& str, const char* other)
62
bool
StringUtil
::endsWith(const android::String8& str, const char* other)
Adb.cpp
18
#include <
StringUtil
.h>
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
Coordinate.java
134
StringUtil
su = new
StringUtil
();
164
StringUtil
u = new
StringUtil
();
StringUtil.java
15
public class
StringUtil
{
/cts/suite/audio_quality/lib/src/audio/
AudioHardware.cpp
23
#include "
StringUtil
.h"
62
android::String8 product =
StringUtil
::substr(resultStr, pmatch[1].rm_so,
65
android::String8 cardNumber =
StringUtil
::substr(resultStr, pmatch[2].rm_so,
Buffer.cpp
21
#include "
StringUtil
.h"
83
if (
StringUtil
::endsWith(filename, EXTENSION_S16_STEREO)) {
85
} else if (
StringUtil
::endsWith(filename, EXTENSION_S16_MONO)) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.mortbay.jetty.util_6.1.23.v201004211559.jar
Completed in 289 milliseconds