Searched refs:str (Results 1 - 25 of 413) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp256 char str[16]; local
257 sprintf(str, "%d", value);
258 set(key, str);
263 char str[16]; // 14 should be enough. We overestimate to be safe. local
264 snprintf(str, sizeof(str), "%g", value);
265 set(key, str);
297 static int parse_pair(const char *str, int *first, int *second, char delim, argument
302 int w = (int)strtol(str, &end, 10);
305 ALOGE("Cannot find delimeter (%c) in str
349 char str[32]; local
379 char str[32]; local
428 char str[32]; local
[all...]
H A DCameraParameters2.cpp112 char str[16];
113 sprintf(str, "%d", value);
114 set(key, str);
119 char str[16]; // 14 should be enough. We overestimate to be safe.
120 snprintf(str, sizeof(str), "%g", value);
121 set(key, str);
185 static int parse_pair(const char *str, int *first, int *second, char delim,
190 int w = (int)strtol(str, &end, 10);
193 ALOGE("Cannot find delimeter (%c) in str
[all...]
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp383 String8 str(String8::format("%s: [%s]", kPropertyNames[i], valueBuf));
384 ypos = textRenderer.drawWrappedString(texProgram, xpos, ypos, str);
H A DTextRenderer.cpp156 const char* str = str8.string(); local
157 return computeScaledStringWidth(str, strlen(str));
169 float TextRenderer::computeScaledStringWidth(const char* str,
173 size_t chi = glyphIndex(str[i]);
189 const char* str = str8.string();
190 size_t len = strlen(str); // again, unsure about String8 handling
200 size_t chi = glyphIndex(str[i]);
254 float xpos, float ypos, const String8& str) {
255 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str
[all...]
H A DTextRenderer.h72 float x, float y, const String8& str) const;
79 const String8& str);
96 char* breakString(const char* str, float maxWidth) const;
102 float computeScaledStringWidth(const char* str, size_t len) const;
H A Dscreenrecord.cpp826 static status_t parseValueWithUnit(const char* str, uint32_t* pValue) { argument
830 value = strtol(str, &endptr, 10);
839 fprintf(stderr, "Unrecognized value: %s\n", str);
/frameworks/av/include/media/
H A DAudioEffect.h396 static status_t stringToGuid(const char *str, effect_uuid_t *guid);
400 static status_t guidToString(const effect_uuid_t *guid, char *str, size_t maxLen);
H A DAudioTimestamp.h147 return ss.str();
H A DStringArray.h39 bool push_back(const char* str);
73 void setEntry(int idx, const char* str);
/frameworks/av/include/media/stagefright/foundation/
H A DAStringUtils.h28 // matches a string (str) to a glob pattern that supports:
31 const char *glob, size_t globLen, const char *str, size_t strLen, bool ignoreCase);
/frameworks/av/include/soundtrigger/
H A DSoundTrigger.h64 static status_t stringToGuid(const char *str, sound_trigger_uuid_t *guid);
66 char *str, size_t maxLen);
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c71 static void dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent);
72 static int stringToUuid(const char *str, effect_uuid_t *uuid);
73 static int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen);
242 char str[512]; local
243 dumpEffectDescriptor(pDescriptor, str, sizeof(str), 0 /* indent */);
244 ALOGV("EffectQueryEffect() desc:%s", str);
516 char *str; local
526 str = strstr(path, "/lib/");
527 if (str
917 dumpEffectDescriptor(effect_descriptor_t *desc, char *str, size_t len, int indent) argument
943 stringToUuid(const char *str, effect_uuid_t *uuid) argument
965 uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp446 status_t AudioEffect::stringToGuid(const char *str, effect_uuid_t *guid) argument
448 if (str == NULL || guid == NULL) {
454 if (sscanf(str, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
472 status_t AudioEffect::guidToString(const effect_uuid_t *guid, char *str, size_t maxLen) argument
474 if (guid == NULL || str == NULL) {
478 snprintf(str, maxLen, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
H A DAudioParameter.cpp38 char *str = new char[keyValuePairs.length()+1]; local
42 strcpy(str, keyValuePairs.string());
43 char *pair = strtok_r(str, ";", &last);
65 delete[] str;
75 String8 str = String8(""); local
79 str += mParameters.keyAt(i);
80 str += "=";
81 str += mParameters.valueAt(i);
82 if (i < (size - 1)) str += ";";
84 return str;
100 char str[12]; local
111 char str[23]; local
[all...]
H A DIMediaExtractor.cpp195 String8 str = name; local
196 str.append(" for mime ");
197 str.append(mime);
198 str.append(", source ");
199 str.append(sourceDescription);
200 str.append(String8::format(", pid %d: ", owner));
202 str.append("deleted\n");
204 str.append("active\n");
208 str.appendFormat(" track {%s} ", desc.string());
211 str
[all...]
H A DIMediaMetadataRetriever.cpp185 const char* str = reply.readCString(); local
186 if (str != NULL) {
187 String8 value(str);
H A DMediaResource.cpp52 String8 str; local
53 str.appendFormat("%s/%s:%llu", asString(mType), asString(mSubType), (unsigned long long)mValue);
54 return str;
H A DMediaResourcePolicy.cpp44 String8 str; local
45 str.appendFormat("%s:%s", mType.string(), mValue.string());
46 return str;
H A DMemoryLeakTrackUtil.cpp94 return oss.str();
H A DStringArray.cpp45 bool StringArray::push_back(const char* str) { argument
63 int len = strlen(str);
65 memcpy(mArray[mCurrent], str, len+1);
103 void StringArray::setEntry(int idx, const char* str) { argument
107 int len = strlen(str);
109 memcpy(mArray[idx], str, len+1);
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp1308 char str[9]; local
1311 snprintf(str, 5, "%c%.2d.", sign, wholePart);
1313 snprintf(str, 5, "%+.2d.", wholePart);
1321 snprintf(&str[4], 5, "%.4d", fractionalPart);
1324 write(str, 1, 8);
1333 char str[10]; local
1336 snprintf(str, 6, "%c%.3d.", sign, wholePart);
1338 snprintf(str, 6, "%+.3d.", wholePart);
1346 snprintf(&str[5], 5, "%.4d", fractionalPart);
1349 write(str,
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
H A DAutoCorrelation_v5.s89 str r0, [r7, #0]
112 str r8, [r13, #8]
113 str r7, [r13, #4]
156 str r14, [r7, +r8, lsl #2]
H A DCalcWindowEnergy_v5.s50 str r8, [r13, #4]
51 str r0, [r13, #8]
52 str r3, [r13, #12]
92 str r6, [r4, #72]
94 str r7, [r4, #136]
100 str r10, [r0, #168]
101 str r11, [r0, #172]
H A DR4R8First_v5.s131 str r6, [sp]
132 str r7, [sp, #4]
134 str r8, [sp, #8]
135 str r9, [sp, #12]
137 str r2, [sp, #16]
138 str r3, [sp, #20]
140 str r0, [sp, #24]
141 str r1, [sp, #28]
H A DRadix4FFT_v5.s39 str r0, [sp]
40 str r1, [sp, #4]
41 str r2, [sp, #8]
42 str r3, [sp, #12]
49 str r10, [sp, #16]
53 str r11, [sp, #20]
79 str r2, [sp, #24]
80 str r3, [sp, #28]

Completed in 421 milliseconds

1234567891011>>