Searched refs:newVec (Results 1 – 2 of 2) sorted by relevance
107 std::vector<bool> newVec(num); in APersistableBundle_putBooleanVector() local109 newVec[i] = vec[i]; in APersistableBundle_putBooleanVector()111 pBundle->mPBundle.putBooleanVector(android::String16(key), newVec); in APersistableBundle_putBooleanVector()116 std::vector<int32_t> newVec(num); in APersistableBundle_putIntVector() local118 newVec[i] = vec[i]; in APersistableBundle_putIntVector()120 pBundle->mPBundle.putIntVector(android::String16(key), newVec); in APersistableBundle_putIntVector()125 std::vector<int64_t> newVec(num); in APersistableBundle_putLongVector() local127 newVec[i] = vec[i]; in APersistableBundle_putLongVector()129 pBundle->mPBundle.putLongVector(android::String16(key), newVec); in APersistableBundle_putLongVector()134 std::vector<double> newVec(num); in APersistableBundle_putDoubleVector() local[all …]
213 bool* newVec = (bool*)malloc(num * sizeof(bool)); in putBooleanVector() local214 if (newVec) { in putBooleanVector()216 newVec[i] = vec[i]; in putBooleanVector()218 APersistableBundle_putBooleanVector(mPBundle, key.c_str(), newVec, num); in putBooleanVector()219 free(newVec); in putBooleanVector()330 T* newVec = (T*)malloc(bytes); in getVecInternal() local331 if (newVec) { in getVecInternal()332 bytes = getVec(pBundle, key, newVec, bytes); in getVecInternal()336 vec->push_back(newVec[i]); in getVecInternal()338 free(newVec); in getVecInternal()