Home
last modified time | relevance | path

Searched refs:valuelen (Results 1 – 12 of 12) sorted by relevance

/external/qemu/android/
Dboot-properties.c42 const char* value, int valuelen ) in boot_property_alloc() argument
44 int length = namelen + 1 + valuelen; in boot_property_alloc()
55 memcpy( p, value, valuelen ); in boot_property_alloc()
56 p += valuelen; in boot_property_alloc()
68 const char* value, int valuelen ) in boot_property_add2() argument
77 if (valuelen > PROPERTY_MAX_VALUE) in boot_property_add2()
98 namelen, name, valuelen, value); in boot_property_add2()
101 prop = boot_property_alloc(name, namelen, value, valuelen); in boot_property_add2()
114 int valuelen = strlen(value); in boot_property_add() local
116 return boot_property_add2(name, namelen, value, valuelen); in boot_property_add()
[all …]
Dboot-properties.h40 const char* value, int valuelen );
/external/opencore/pvmi/pvmf/src/
Dpvmi_kvp_util.cpp355 uint32 valuelen = aValString.get_size() + 1; in CreateKVPForWStringValue() local
367 if (aMaxSize < valuelen) in CreateKVPForWStringValue()
369 valuelen = aMaxSize + 1; in CreateKVPForWStringValue()
372 if (aMaxSize >= valuelen) in CreateKVPForWStringValue()
374 aKeyVal.value.pWChar_value = OSCL_ARRAY_NEW(oscl_wchar, valuelen); in CreateKVPForWStringValue()
391 oscl_strncpy(aKeyVal.value.pWChar_value, aValString.get_cstr(), valuelen); in CreateKVPForWStringValue()
392 aKeyVal.value.pWChar_value[valuelen-1] = '\0'; in CreateKVPForWStringValue()
395 aKeyVal.length = valuelen; in CreateKVPForWStringValue()
396 aKeyVal.capacity = valuelen; in CreateKVPForWStringValue()
427 uint32 valuelen = oscl_strlen(aValString) + 1; in CreateKVPForCharStringValue() local
[all …]
/external/opencore/fileformats/mp3/parser/src/
Dimp3ff.cpp908 …uint32 valuelen = oscl_strlen(_STRLIT_CHAR(PVMP3METADATA_UNKNOWN)) + 1; // Add value string plus o… in GetMetadataValues() local
910 …yVal.value.pChar_value = (char*) AllocateKVPKeyArray(leavecode, PVMI_KVPVALTYPE_CHARPTR, valuelen); in GetMetadataValues()
915 … oscl_strncpy(KeyVal.value.pChar_value, _STRLIT_CHAR(PVMP3METADATA_UNKNOWN), valuelen); in GetMetadataValues()
916 KeyVal.value.pChar_value[valuelen-1] = NULL_TERM_CHAR; in GetMetadataValues()
918 KeyVal.length = valuelen; in GetMetadataValues()
919 KeyVal.capacity = valuelen; in GetMetadataValues()
1050 …uint32 valuelen = oscl_strlen(_STRLIT_CHAR(PVMP3METADATA_UNKNOWN)) + 1; // Add value string plus o… in GetMetadataValues() local
1052 …yVal.value.pChar_value = (char*) AllocateKVPKeyArray(leavecode, PVMI_KVPVALTYPE_CHARPTR, valuelen); in GetMetadataValues()
1057 … oscl_strncpy(KeyVal.value.pChar_value, _STRLIT_CHAR(PVMP3METADATA_UNKNOWN), valuelen); in GetMetadataValues()
1058 KeyVal.value.pChar_value[valuelen-1] = NULL_TERM_CHAR; in GetMetadataValues()
[all …]
/external/opencore/nodes/pvomxaudiodecnode/src/
Dpvmf_omx_audiodec_node.cpp2607 uint32 valuelen = 0; in DoGetNodeMetadataValue() local
2610valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_LATM)) + 1; // Value string plus one for NULL termin… in DoGetNodeMetadataValue()
2614valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_MPEG4_AUDIO)) + 1; // Value string plus one for NULL… in DoGetNodeMetadataValue()
2618valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_3640)) + 1; // Value string plus one for NULL termin… in DoGetNodeMetadataValue()
2622 valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_ADIF)) + 1; in DoGetNodeMetadataValue()
2626 valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_AMR_IF2)) + 1; in DoGetNodeMetadataValue()
2630 valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_AMR_IETF)) + 1; in DoGetNodeMetadataValue()
2634 valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_AMR)) + 1; in DoGetNodeMetadataValue()
2638 valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_AMRWB_IETF)) + 1; in DoGetNodeMetadataValue()
2642 valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_AMRWB)) + 1; in DoGetNodeMetadataValue()
[all …]
/external/opencore/nodes/pvomxvideodecnode/src/
Dpvmf_omx_videodec_node.cpp2146 uint32 valuelen = 0; in DoGetNodeMetadataValue() local
2150valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO)) + 1; // Value string plus one for NULL … in DoGetNodeMetadataValue()
2154valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_MP4)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue()
2158valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_RAW)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue()
2162valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_M4V)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue()
2166valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H2631998)) + 1; // Value string plus one for NULL te… in DoGetNodeMetadataValue()
2170valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H2632000)) + 1; // Value string plus one for NULL te… in DoGetNodeMetadataValue()
2174valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_WMV)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue()
2180 valuelen = 1; in DoGetNodeMetadataValue()
2188 …Val.value.pChar_value = (char*) AllocateKVPKeyArray(leavecode1, PVMI_KVPVALTYPE_CHARPTR, valuelen); in DoGetNodeMetadataValue()
[all …]
/external/opencore/nodes/pvwavffparsernode/src/
Dpvmf_wavffparser_node.cpp2817 uint32 valuelen = 0; in DoGetNodeMetadataValue() local
2821valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_PCM)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue()
2825valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_ALAW)) + 1; // Value string plus one for NULL termin… in DoGetNodeMetadataValue()
2829valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_ULAW)) + 1; // Value string plus one for NULL termin… in DoGetNodeMetadataValue()
2835 valuelen = 1; in DoGetNodeMetadataValue()
2843 leavecode = CreateNewArray(KeyVal.value.pChar_value, valuelen); in DoGetNodeMetadataValue()
2860 … oscl_strncpy(KeyVal.value.pChar_value, _STRLIT_CHAR(PVMF_MIME_PCM), valuelen); in DoGetNodeMetadataValue()
2864 … oscl_strncpy(KeyVal.value.pChar_value, _STRLIT_CHAR(PVMF_MIME_ALAW), valuelen); in DoGetNodeMetadataValue()
2868 … oscl_strncpy(KeyVal.value.pChar_value, _STRLIT_CHAR(PVMF_MIME_ULAW), valuelen); in DoGetNodeMetadataValue()
2876 KeyVal.value.pChar_value[valuelen-1] = 0; in DoGetNodeMetadataValue()
[all …]
/external/opencore/nodes/pvomxencnode/src/
Dpvmf_omx_enc_node.cpp7487 uint32 valuelen = 0; in DoGetNodeMetadataValue() local
7490valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO)) + 1; // Value string plus one for NULL … in DoGetNodeMetadataValue()
7494valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_MP4)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue()
7498valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_RAW)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue()
7502valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_M4V)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue()
7506valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H2631998)) + 1; // Value string plus one for NULL te… in DoGetNodeMetadataValue()
7510 … oscl_strncpy(KeyVal.value.pChar_value, _STRLIT_CHAR(PVMF_MIME_H2632000), valuelen); in DoGetNodeMetadataValue()
7514valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_WMV)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue()
7520 valuelen = 1; in DoGetNodeMetadataValue()
7528 leavecode = CreateNewArray(KeyVal.value.pChar_value , valuelen); in DoGetNodeMetadataValue()
[all …]
/external/bluetooth/bluez/include/bluetooth/
Dsdp_lib.h156 int sdp_get_string_attr(const sdp_record_t *rec, uint16_t attr, char *value, int valuelen);
/external/opencore/nodes/pvmp3ffparsernode/src/
Dpvmf_mp3ffparser_node.cpp4349 int32 valuelen = oscl_strlen(valueStr); in ParseShoutcastMetadata() local
4352 kvp.value.pChar_value = OSCL_ARRAY_NEW(char, (valuelen + 1)); in ParseShoutcastMetadata()
4355 oscl_strncpy(kvp.value.pChar_value, valueStr, valuelen + 1); in ParseShoutcastMetadata()
/external/srec/srec/test/SRecTest/src/
DSRecTest.c2363 size_t valuelen = sizeof(value)/sizeof(value[0]); in srec_test_process_nbest_list() local
2364 … esr_status = SR_RecognizerResultGetValue( data->result, nbest_num, keys[k], value, &valuelen); in srec_test_process_nbest_list()
/external/bluetooth/bluez/lib/
Dsdp.c2120 int valuelen) in sdp_get_string_attr() argument
2128 if ((int) strlen(sdpdata->val.str) < valuelen) { in sdp_get_string_attr()