/external/qemu/android/ |
D | boot-properties.c | 42 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 …]
|
D | boot-properties.h | 40 const char* value, int valuelen );
|
/external/opencore/pvmi/pvmf/src/ |
D | pvmi_kvp_util.cpp | 355 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/ |
D | imp3ff.cpp | 908 …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/ |
D | pvmf_omx_audiodec_node.cpp | 2607 uint32 valuelen = 0; in DoGetNodeMetadataValue() local 2610 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_LATM)) + 1; // Value string plus one for NULL termin… in DoGetNodeMetadataValue() 2614 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_MPEG4_AUDIO)) + 1; // Value string plus one for NULL… in DoGetNodeMetadataValue() 2618 …valuelen = 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/ |
D | pvmf_omx_videodec_node.cpp | 2146 uint32 valuelen = 0; in DoGetNodeMetadataValue() local 2150 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO)) + 1; // Value string plus one for NULL … in DoGetNodeMetadataValue() 2154 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_MP4)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue() 2158 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_RAW)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue() 2162 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_M4V)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue() 2166 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H2631998)) + 1; // Value string plus one for NULL te… in DoGetNodeMetadataValue() 2170 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H2632000)) + 1; // Value string plus one for NULL te… in DoGetNodeMetadataValue() 2174 …valuelen = 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/ |
D | pvmf_wavffparser_node.cpp | 2817 uint32 valuelen = 0; in DoGetNodeMetadataValue() local 2821 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_PCM)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue() 2825 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_ALAW)) + 1; // Value string plus one for NULL termin… in DoGetNodeMetadataValue() 2829 …valuelen = 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/ |
D | pvmf_omx_enc_node.cpp | 7487 uint32 valuelen = 0; in DoGetNodeMetadataValue() local 7490 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO)) + 1; // Value string plus one for NULL … in DoGetNodeMetadataValue() 7494 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_MP4)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue() 7498 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_H264_VIDEO_RAW)) + 1; // Value string plus one for N… in DoGetNodeMetadataValue() 7502 …valuelen = oscl_strlen(_STRLIT_CHAR(PVMF_MIME_M4V)) + 1; // Value string plus one for NULL termina… in DoGetNodeMetadataValue() 7506 …valuelen = 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() 7514 …valuelen = 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/ |
D | sdp_lib.h | 156 int sdp_get_string_attr(const sdp_record_t *rec, uint16_t attr, char *value, int valuelen);
|
/external/opencore/nodes/pvmp3ffparsernode/src/ |
D | pvmf_mp3ffparser_node.cpp | 4349 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/ |
D | SRecTest.c | 2363 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/ |
D | sdp.c | 2120 int valuelen) in sdp_get_string_attr() argument 2128 if ((int) strlen(sdpdata->val.str) < valuelen) { in sdp_get_string_attr()
|