/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
H A D | OptTable.cpp | 179 /// \returns Matched size. 0 means no match. 185 StringRef Rest = Str.substr(Prefix.size()); in matchOption() 190 return Prefix.size() + StringRef(I->Name).size(); in matchOption() 211 for (size_t I = FirstSearchableIndex, E = OptionInfos.size(); I < E; I++) { in suggestValueCompletions() 231 for (size_t I = FirstSearchableIndex, E = OptionInfos.size(); I < E; I++) { in findByPrefix() 264 if (CandidateName.empty() || CandidateName.size() < MinimumLength) in findNearest() 290 if (Option.find(Last) == LHS.size()) in findNearest() 323 for (size_t I = FirstSearchableIndex, E = OptionInfos.size(); I < E; I++) { in addValues() 345 const Info *End = OptionInfos.data() + OptionInfos.size(); in ParseOneArg() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | R600MachineScheduler.cpp | 75 (AluInstCount + AvailablesAluCount() + Pending[IDAlu].size()) / in pickNode() 76 (FetchInstCount + Available[IDFetch].size()); in pickNode() 86 // Available[IDFetch].size() * 2 : GPRs required in the Fetch clause in pickNode() 92 unsigned NearRegisterRequirement = 2 * Available[IDFetch].size(); in pickNode() 132 for (unsigned i = 0; i < DAG->SUnits.size(); i++) { in pickNode() 338 for (unsigned i = 0, e = QSrc.size(); i < e; ++i) { in LoadAlu() 399 return AvailableAlus[AluAny].size() + AvailableAlus[AluT_XYZW].size() + in AvailablesAluCount() 400 AvailableAlus[AluT_X].size() + AvailableAlus[AluT_Y].size() in AvailablesAluCount() [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | FloatArrayListTest.java | 78 assertEquals(4, list.size()); in testModificationWithIteration() 205 assertEquals(0, FloatArrayList.emptyList().size()); in testSize() 206 assertEquals(1, UNARY_LIST.size()); in testSize() 207 assertEquals(3, TERTIARY_LIST.size()); in testSize() 213 assertEquals(4, list.size()); in testSize() 216 assertEquals(3, list.size()); in testSize() 219 assertEquals(4, list.size()); in testSize() 273 assertEquals(0, list.size()); in testAdd() 304 assertEquals(0, list.size()); in testAddFloat() 314 assertEquals(0, list.size()); in testAddAll() [all...] |
H A D | DoubleArrayListTest.java | 78 assertEquals(4, list.size()); in testModificationWithIteration() 205 assertEquals(0, DoubleArrayList.emptyList().size()); in testSize() 206 assertEquals(1, UNARY_LIST.size()); in testSize() 207 assertEquals(3, TERTIARY_LIST.size()); in testSize() 213 assertEquals(4, list.size()); in testSize() 216 assertEquals(3, list.size()); in testSize() 219 assertEquals(4, list.size()); in testSize() 273 assertEquals(0, list.size()); in testAdd() 304 assertEquals(0, list.size()); in testAddDouble() 314 assertEquals(0, list.size()); in testAddAll() [all...] |
H A D | LongArrayListTest.java | 78 assertEquals(4, list.size()); in testModificationWithIteration() 205 assertEquals(0, LongArrayList.emptyList().size()); in testSize() 206 assertEquals(1, UNARY_LIST.size()); in testSize() 207 assertEquals(3, TERTIARY_LIST.size()); in testSize() 213 assertEquals(4, list.size()); in testSize() 216 assertEquals(3, list.size()); in testSize() 219 assertEquals(4, list.size()); in testSize() 273 assertEquals(0, list.size()); in testAdd() 304 assertEquals(0, list.size()); in testAddLong() 314 assertEquals(0, list.size()); in testAddAll() [all...] |
/third_party/spirv-tools/test/ |
H A D | cpp_interface_test.cpp | 49 EXPECT_TRUE(binary.size() > 5u); in TEST() 76 EXPECT_EQ(5u, binary.size()); in TEST() 87 EXPECT_TRUE(binary.size() > 5u); in TEST() 93 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size(), &binary)); in TEST() 94 EXPECT_TRUE(binary.size() > 5u); in TEST() 100 EXPECT_TRUE(t.Assemble(input_text.data(), input_text.size() - 1, &binary)); in TEST() 101 EXPECT_TRUE(binary.size() > 5u); in TEST() 141 EXPECT_TRUE(t.Disassemble(binary.data(), binary.size(), &output_text)); in TEST() 166 { EXPECT_TRUE(t.Validate(binary.data(), binary.size())); } in TEST() 204 EXPECT_TRUE(t.Validate(binary.data(), binary.size(), opt in TEST() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | mbo.c | 101 static void wpas_mbo_non_pref_chan_attr_hdr(struct wpabuf *mbo, size_t size) in wpas_mbo_non_pref_chan_attr_hdr() argument 104 wpabuf_put_u8(mbo, size); /* Length */ in wpas_mbo_non_pref_chan_attr_hdr() 111 size_t size = end - start + 3; in wpas_mbo_non_pref_chan_attr() local 113 if (size + 2 > wpabuf_tailroom(mbo)) in wpas_mbo_non_pref_chan_attr() 116 wpas_mbo_non_pref_chan_attr_hdr(mbo, size); in wpas_mbo_non_pref_chan_attr() 134 size_t size = end - start + 7; in wpas_mbo_non_pref_chan_subelement() local 136 if (size + 2 > wpabuf_tailroom(mbo)) in wpas_mbo_non_pref_chan_subelement() 139 wpas_mbo_non_pref_chan_subelem_hdr(mbo, size); in wpas_mbo_non_pref_chan_subelement() 316 size_t num = 0, size = 0; in wpas_mbo_update_non_pref_chan() local 341 if (num == size) { in wpas_mbo_update_non_pref_chan() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | mbo.c | 131 static void wpas_mbo_non_pref_chan_attr_hdr(struct wpabuf *mbo, size_t size) in wpas_mbo_non_pref_chan_attr_hdr() argument 134 wpabuf_put_u8(mbo, size); /* Length */ in wpas_mbo_non_pref_chan_attr_hdr() 141 size_t size = end - start + 3; in wpas_mbo_non_pref_chan_attr() local 143 if (size + 2 > wpabuf_tailroom(mbo)) in wpas_mbo_non_pref_chan_attr() 146 wpas_mbo_non_pref_chan_attr_hdr(mbo, size); in wpas_mbo_non_pref_chan_attr() 164 size_t size = end - start + 7; in wpas_mbo_non_pref_chan_subelement() local 166 if (size + 2 > wpabuf_tailroom(mbo)) in wpas_mbo_non_pref_chan_subelement() 169 wpas_mbo_non_pref_chan_subelem_hdr(mbo, size); in wpas_mbo_non_pref_chan_subelement() 346 size_t num = 0, size = 0; in wpas_mbo_update_non_pref_chan() local 371 if (num == size) { in wpas_mbo_update_non_pref_chan() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | trace_fixture.cpp | 52 long size = ftell(fp); in LoadBinaryData() local 61 std::vector<uint8_t> compressedData(size); in LoadBinaryData() 62 (void)fread(compressedData.data(), 1, size, fp); in LoadBinaryData() 72 gBinaryData = new uint8_t[size]; in LoadBinaryData() 73 (void)fread(gBinaryData, 1, size, fp); in LoadBinaryData() 104 if (static_cast<GLint>(programLocations.size()) < location + count) in UpdateUniformLocation2() 263 void UpdateClientArrayPointer(int arrayIndex, const void *data, uint64_t size) in UpdateClientArrayPointer() argument 265 memcpy(gClientArrays[arrayIndex], data, static_cast<size_t>(size)); in UpdateClientArrayPointer() 269 void UpdateClientBufferData(GLuint bufferID, const void *source, GLsizei size) in UpdateClientBufferData() argument 271 memcpy(gMappedBufferData[gBufferMap[bufferID]], source, size); in UpdateClientBufferData() 274 UpdateClientBufferData2(GLuint bufferID, const void *source, GLsizei size) UpdateClientBufferData2() argument 279 UpdateClientBufferData2WithOffset(GLuint bufferID, const void *source, GLsizei size, GLsizei offset) UpdateClientBufferData2WithOffset() argument 285 memcpy(reinterpret_cast<void *>(dest), source, size); UpdateClientBufferData2WithOffset() local [all...] |
/drivers/hdf_core/framework/test/fuzztest/ioservice_fuzzer/ioservicegrouplisten_fuzzer/ |
H A D | ioservicegrouplisten_fuzzer.cpp | 49 bool IoserviceGroupListenFuzzTest(const uint8_t *data, size_t size) in IoserviceGroupListenFuzzTest() argument 58 parcel.WriteBuffer(data, size); in IoserviceGroupListenFuzzTest() 92 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 94 if (size < OHOS::THRESHOLD) { in LLVMFuzzerTestOneInput() 98 OHOS::IoserviceGroupListenFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/hdf_core/framework/test/fuzztest/ioservice_fuzzer/ioservicelisten_fuzzer/ |
H A D | ioservicelisten_fuzzer.cpp | 51 bool IoserviceListenFuzzTest(const uint8_t *data, size_t size) in IoserviceListenFuzzTest() argument 60 parcel.WriteBuffer(data, size); in IoserviceListenFuzzTest() 80 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 82 if (size < OHOS::THRESHOLD) { in LLVMFuzzerTestOneInput() 86 OHOS::IoserviceListenFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameracreatestreams_fuzzer/ |
H A D | dcameracreatestreams_fuzzer.cpp | 38 void DcameraCreateStreamsFuzzTest(const uint8_t* data, size_t size) in DcameraCreateStreamsFuzzTest() argument 40 if ((data == nullptr) || (size < sizeof(int32_t))) { in DcameraCreateStreamsFuzzTest() 57 std::string sinkAbilityInfo(reinterpret_cast<const char*>(data), size); in DcameraCreateStreamsFuzzTest() local 68 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 71 OHOS::DistributedHardware::DcameraCreateStreamsFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraenabledcameradevice_fuzzer/ |
H A D | dcameraenabledcameradevice_fuzzer.cpp | 72 void DcameraEnableDCameraDeviceFuzzTest(const uint8_t* data, size_t size) in DcameraEnableDCameraDeviceFuzzTest() argument 74 if ((data == nullptr) || (size == 0)) { in DcameraEnableDCameraDeviceFuzzTest() 79 std::string abilityInfo(reinterpret_cast<const char*>(data), size); in DcameraEnableDCameraDeviceFuzzTest() local 92 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 95 OHOS::DistributedHardware::DcameraEnableDCameraDeviceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraisstreamssupported_fuzzer/ |
H A D | dcameraisstreamssupported_fuzzer.cpp | 43 void DcameraIsStreamsSupportedFuzzTest(const uint8_t* data, size_t size) in DcameraIsStreamsSupportedFuzzTest() argument 45 if ((data == nullptr) || (size < sizeof(int32_t))) { in DcameraIsStreamsSupportedFuzzTest() 66 std::string sinkAbilityInfo(reinterpret_cast<const char*>(data), size); in DcameraIsStreamsSupportedFuzzTest() local 77 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 80 OHOS::DistributedHardware::DcameraIsStreamsSupportedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthallinoneexecutorstub_fuzzer/ |
H A D | all_in_one_executor_stub_fuzzer.cpp | 38 bool FaceAuthHdiStubFuzzTest(const uint8_t *rawData, size_t size) in FaceAuthHdiStubFuzzTest() argument 69 data.WriteBuffer(rawData, size); in FaceAuthHdiStubFuzzTest() 74 data.WriteBuffer(rawData, size); in FaceAuthHdiStubFuzzTest() 86 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 88 OHOS::HDI::FaceAuth::FaceAuthHdiStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthinterfacestub_fuzzer/ |
H A D | face_auth_interface_stub_fuzzer.cpp | 37 bool FaceAuthInterfaceStubFuzzTest(const uint8_t *rawData, size_t size) in FaceAuthInterfaceStubFuzzTest() argument 68 data.WriteBuffer(rawData, size); in FaceAuthInterfaceStubFuzzTest() 73 data.WriteBuffer(rawData, size); in FaceAuthInterfaceStubFuzzTest() 85 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 87 OHOS::HDI::FaceAuth::FaceAuthInterfaceStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthallinoneexecutorstub_fuzzer/ |
H A D | all_in_one_executor_stub_fuzzer.cpp | 38 bool FingerprintAuthHdiStubFuzzTest(const uint8_t *rawData, size_t size) in FingerprintAuthHdiStubFuzzTest() argument 69 data.WriteBuffer(rawData, size); in FingerprintAuthHdiStubFuzzTest() 74 data.WriteBuffer(rawData, size); in FingerprintAuthHdiStubFuzzTest() 86 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 88 OHOS::HDI::FingerprintAuth::FingerprintAuthHdiStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthinterfacestub_fuzzer/ |
H A D | fingerprint_auth_interface_stub_fuzzer.cpp | 39 bool FingerprintAuthInterfaceStubFuzzTest(const uint8_t *rawData, size_t size) in FingerprintAuthInterfaceStubFuzzTest() argument 71 data.WriteBuffer(rawData, size); in FingerprintAuthInterfaceStubFuzzTest() 76 data.WriteBuffer(rawData, size); in FingerprintAuthInterfaceStubFuzzTest() 88 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 90 OHOS::HDI::FingerprintAuth::FingerprintAuthInterfaceStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthexecutorstub_fuzzer/ |
H A D | pin_auth_executor_stub_fuzzer.cpp | 39 bool PinAuthExecutorStubFuzzTest(const uint8_t *rawData, size_t size) in PinAuthExecutorStubFuzzTest() argument 65 data.WriteBuffer(rawData, size); in PinAuthExecutorStubFuzzTest() 70 data.WriteBuffer(rawData, size); in PinAuthExecutorStubFuzzTest() 82 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 84 OHOS::HDI::PinAuth::PinAuthExecutorStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdistub_fuzzer/ |
H A D | user_auth_hdi_stub_fuzzer.cpp | 41 bool UserAuthHdiStubFuzzTest(const uint8_t *rawData, size_t size) in UserAuthHdiStubFuzzTest() argument 68 data.WriteBuffer(rawData, size); in UserAuthHdiStubFuzzTest() 73 data.WriteBuffer(rawData, size); in UserAuthHdiStubFuzzTest() 85 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 88 OHOS::UserIam::UserAuth::UserAuthHdiStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/test/ostest/wukong/report/src/ |
H A D | format_csv.cpp | 39 for (uint32_t col = 0; col < header.size(); col++) { in FormatDetail() 41 if (col == (header.size() - 1)) { in FormatDetail() 48 for (uint32_t row = 0; row < record.size(); row++) { in FormatDetail() 49 for (uint32_t col = 0; col < header.size(); col++) { in FormatDetail() 52 if (col == (header.size() - 1)) { in FormatDetail()
|
/third_party/elfutils/libasm/ |
H A D | asm_newabssym.c | 55 asm_newabssym (AsmCtx_t *ctx, const char *name, GElf_Xword size, in asm_newabssym() argument 79 result->size = size; in asm_newabssym() 108 if (size != 0) in asm_newabssym() 109 fprintf (ctx->out.file, "\t.size %s, %llu\n", in asm_newabssym() 110 name, (unsigned long long int) size); in asm_newabssym()
|
/third_party/ffmpeg/doc/examples/ |
H A D | avio_reading.c | 39 size_t size; ///< size left in the buffer member 45 buf_size = FFMIN(buf_size, bd->size); in read_packet() 49 printf("ptr:%p size:%zu\n", bd->ptr, bd->size); in read_packet() 54 bd->size -= buf_size; in read_packet() 84 bd.size = buffer_size; in main()
|
/third_party/ffmpeg/libavdevice/ |
H A D | oss_enc.c | 60 int size= pkt->size; in audio_write_packet() local 62 while (size > 0) { in audio_write_packet() 63 len = FFMIN(OSS_AUDIO_BLOCK_SIZE - s->buffer_ptr, size); in audio_write_packet() 77 size -= len; in audio_write_packet()
|
/third_party/ffmpeg/libavcodec/ |
H A D | wrapped_avframe.c | 48 int size = sizeof(*wrapped) + AV_INPUT_BUFFER_PADDING_SIZE; in wrapped_avframe_encode() local 53 data = av_mallocz(size); in wrapped_avframe_encode() 59 pkt->buf = av_buffer_create(data, size, in wrapped_avframe_encode() 72 pkt->size = sizeof(*wrapped); in wrapped_avframe_encode() 90 if (pkt->size < sizeof(AVFrame)) in wrapped_avframe_decode()
|