Lines Matching refs:valueCount
1065 C API: size_t* valueCount, int* value
1068 CEF_EXPORT void cef_function(size_t* valueCount, int* value)
1071 DCHECK(valueCount && (*valueCount == 0 || value));
1072 if (!valueCount || (*valueCount > 0 && !value))
1077 if (valueCount && *valueCount > 0 && value) {
1078 for (size_t i = 0; i < *valueCount; ++i)
1086 if (valueCount && value) {
1087 *valueCount = std::min(valueList.size(), *valueCount);
1088 if (*valueCount > 0) {
1089 for (size_t i = 0; i < *valueCount; ++i)
1101 size_t valueCount = std::max(GetFunctionCount(), valueSize);
1103 if (valueCount > 0) {
1104 valueList = new int[valueCount];
1107 memset(valueList, 0, sizeof(int)*valueCount);
1116 cef_function(&valueCount, valueList);
1120 if (valueCount > 0 && valueList) {
1121 for (size_t i = 0; i < valueCount; ++i)
1129 C API: size_t valueCount, int const* value
1132 CEF_EXPORT void cef_function(size_t valueCount, int const* value)
1135 DCHECK(valueCount == 0 || value);
1136 if (valueCount > 0 && !value)
1141 if (valueCount > 0) {
1142 for (size_t i = 0; i < valueCount; ++i)
1154 const size_t valueCount = value.size();
1156 if (valueCount > 0) {
1157 valueList = new int[valueCount];
1160 for (size_t i = 0; i < valueCount; ++i)
1166 cef_function(valueCount, valueList);
1175 C API: size_t* valueCount, int* value
1178 CEF_EXPORT void cef_function(size_t* valueCount, int* value)
1181 DCHECK(valueCount && (*valueCount == 0 || value));
1182 if (!valueCount || (*valueCount > 0 && !value))
1187 if (valueCount && *valueCount > 0 && value) {
1188 for (size_t i = 0; i < *valueCount; ++i)
1196 if (valueCount && value) {
1197 *valueCount = std::min(valueList.size(), *valueCount);
1198 if (*valueCount > 0) {
1199 for (size_t i = 0; i < *valueCount; ++i)
1211 size_t valueCount = std::max(GetFunctionCount(), valueSize);
1213 if (valueCount > 0) {
1214 valueList = new int[valueCount];
1217 memset(valueList, 0, sizeof(int)*valueCount);
1226 cef_function(&valueCount, valueList);
1230 if (valueCount > 0 && valueList) {
1231 for (size_t i = 0; i < valueCount; ++i)
1239 C API: size_t valueCount, int const* value
1242 CEF_EXPORT void cef_function(size_t valueCount, int const* value)
1245 DCHECK(valueCount == 0 || value);
1246 if (valueCount > 0 && !value)
1251 if (valueCount > 0) {
1252 for (size_t i = 0; i < valueCount; ++i)
1264 const size_t valueCount = value.size();
1266 if (valueCount > 0) {
1267 valueList = new int[valueCount];
1270 for (size_t i = 0; i < valueCount; ++i)
1276 cef_function(valueCount, valueList);
1286 C API: size_t* valueCount, cef_post_data_element_t** value
1289 CEF_EXPORT void cef_function(size_t* valueCount,
1293 DCHECK(valueCount && (*valueCount == 0 || value));
1294 if (!valueCount || (*valueCount > 0 && !value))
1299 if (valueCount && *valueCount > 0 && value) {
1300 for (size_t i = 0; i < *valueCount; ++i)
1308 if (valueCount && value) {
1309 *valueCount = std::min(valueList.size(), *valueCount);
1310 if (*valueCount > 0) {
1311 for (size_t i = 0; i < *valueCount; ++i)
1323 size_t valueCount = std::max(GetFunctionCount(), valueSize);
1325 if (valueCount > 0) {
1326 valueList = new cef_post_data_element_t*[valueCount];
1329 memset(valueList, 0, sizeof(cef_post_data_element_t*)*valueCount);
1338 cef_function(&valueCount, valueList);
1342 if (valueCount > 0 && valueList) {
1343 for (size_t i = 0; i < valueCount; ++i)
1352 C API: size_t valueCount, const cef_v8value_t** value
1355 CEF_EXPORT void cef_function(size_t valueCount,
1359 DCHECK(valueCount == 0 || value);
1360 if (valueCount > 0 && !value)
1365 if (valueCount > 0) {
1366 for (size_t i = 0; i < valueCount; ++i)
1378 const size_t valueCount = value.size();
1380 if (valueCount > 0) {
1381 valueList = new int[valueCount];
1384 for (size_t i = 0; i < valueCount; ++i)
1390 cef_function(valueCount, valueList);
1400 C API: size_t* valueCount, cef_post_data_element_t** value
1403 CEF_EXPORT void cef_function(size_t* valueCount,
1407 DCHECK(valueCount && (*valueCount == 0 || value));
1408 if (!valueCount || (*valueCount > 0 && !value))
1413 if (valueCount && *valueCount > 0 && value) {
1414 for (size_t i = 0; i < *valueCount; ++i)
1422 if (valueCount && value) {
1423 *valueCount = std::min(valueList.size(), *valueCount);
1424 if (*valueCount > 0) {
1425 for (size_t i = 0; i < *valueCount; ++i)
1437 size_t valueCount = std::max(GetFunctionCount(), valueSize);
1439 if (valueCount > 0) {
1440 valueList = new cef_post_data_element_t*[valueCount];
1443 memset(valueList, 0, sizeof(cef_post_data_element_t*)*valueCount);
1452 cef_function(&valueCount, valueList);
1456 if (valueCount > 0 && valueList) {
1457 for (size_t i = 0; i < valueCount; ++i)
1466 C API: size_t valueCount, const cef_v8value_t** value
1469 CEF_EXPORT void cef_function(size_t valueCount,
1473 DCHECK(valueCount == 0 || value);
1474 if (valueCount > 0 && !value)
1479 if (valueCount > 0) {
1480 for (size_t i = 0; i < valueCount; ++i)
1492 const size_t valueCount = value.size();
1494 if (valueCount > 0) {
1495 valueList = new int[valueCount];
1498 for (size_t i = 0; i < valueCount; ++i)
1504 cef_function(valueCount, valueList);