Lines Matching refs:name
80 const char *name = f->getEntryNameAt(i, &t); in AMediaFormat_toString() local
81 ret.append(name); in AMediaFormat_toString()
87 f->findInt32(name, &val); in AMediaFormat_toString()
94 f->findInt64(name, &val); in AMediaFormat_toString()
101 f->findSize(name, &val); in AMediaFormat_toString()
108 f->findFloat(name, &val); in AMediaFormat_toString()
115 f->findDouble(name, &val); in AMediaFormat_toString()
122 f->findRect(name, &left, &top, &right, &bottom); in AMediaFormat_toString()
130 f->findString(name, &val); in AMediaFormat_toString()
152 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() argument
153 return format->mFormat->findInt32(name, out); in AMediaFormat_getInt32()
157 bool AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) { in AMediaFormat_getInt64() argument
158 return format->mFormat->findInt64(name, out); in AMediaFormat_getInt64()
162 bool AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) { in AMediaFormat_getFloat() argument
163 return format->mFormat->findFloat(name, out); in AMediaFormat_getFloat()
167 bool AMediaFormat_getDouble(AMediaFormat* format, const char *name, double *out) { in AMediaFormat_getDouble() argument
168 return format->mFormat->findDouble(name, out); in AMediaFormat_getDouble()
172 bool AMediaFormat_getSize(AMediaFormat* format, const char *name, size_t *out) { in AMediaFormat_getSize() argument
173 return format->mFormat->findSize(name, out); in AMediaFormat_getSize()
177 bool AMediaFormat_getRect(AMediaFormat* format, const char *name, in AMediaFormat_getRect() argument
179 return format->mFormat->findRect(name, left, top, right, bottom); in AMediaFormat_getRect()
183 bool AMediaFormat_getBuffer(AMediaFormat* format, const char *name, void** data, size_t *outsize) { in AMediaFormat_getBuffer() argument
185 if (format->mFormat->findBuffer(name, &buf)) { in AMediaFormat_getBuffer()
194 bool AMediaFormat_getString(AMediaFormat* mData, const char *name, const char **out) { in AMediaFormat_getString() argument
197 if (strcmp(mData->mStringCache.keyAt(i).string(), name) == 0) { in AMediaFormat_getString()
204 if (mData->mFormat->findString(name, &tmp)) { in AMediaFormat_getString()
206 mData->mStringCache.add(String8(name), ret); in AMediaFormat_getString()
214 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { in AMediaFormat_setInt32() argument
215 format->mFormat->setInt32(name, value); in AMediaFormat_setInt32()
219 void AMediaFormat_setInt64(AMediaFormat* format, const char *name, int64_t value) { in AMediaFormat_setInt64() argument
220 format->mFormat->setInt64(name, value); in AMediaFormat_setInt64()
224 void AMediaFormat_setFloat(AMediaFormat* format, const char* name, float value) { in AMediaFormat_setFloat() argument
225 format->mFormat->setFloat(name, value); in AMediaFormat_setFloat()
229 void AMediaFormat_setDouble(AMediaFormat* format, const char* name, double value) { in AMediaFormat_setDouble() argument
230 format->mFormat->setDouble(name, value); in AMediaFormat_setDouble()
234 void AMediaFormat_setSize(AMediaFormat* format, const char* name, size_t value) { in AMediaFormat_setSize() argument
235 format->mFormat->setSize(name, value); in AMediaFormat_setSize()
239 void AMediaFormat_setRect(AMediaFormat* format, const char *name, in AMediaFormat_setRect() argument
241 format->mFormat->setRect(name, left, top, right, bottom); in AMediaFormat_setRect()
245 void AMediaFormat_setString(AMediaFormat* format, const char* name, const char* value) { in AMediaFormat_setString() argument
247 format->mFormat->setString(name, value, strlen(value)); in AMediaFormat_setString()
251 void AMediaFormat_setBuffer(AMediaFormat* format, const char* name, const void* data, size_t size) { in AMediaFormat_setBuffer() argument
258 format->mFormat->setBuffer(name, buf); in AMediaFormat_setBuffer()