/third_party/musl/tools/api_cmp_tool/ |
H A D | compare.py | 29 parse.add_argument('-o', type=str, help='result file output path') 82 Get the result of execution according to command parameter 85 result = [] 88 result.append(res) 89 return result 290 result = {} 291 result['head_file_path'] = INPUT_HEAD_PATH 292 result['lib_file_path'] = INPUT_LIB_PATH 293 result['only_in_head_file'] = only_head_have 294 result['only_in_lib_fil [all...] |
/third_party/node/deps/npm/lib/commands/ |
H A D | profile.js | 221 const result = await otplease(this.npm, conf, c => npmProfile.set(newUser, c)) 224 this.npm.output(JSON.stringify({ [prop]: result[prop] }, null, 2)) 226 this.npm.output(prop + '\t' + result[prop]) 227 } else if (result[prop] != null) { 228 this.npm.output('Set', prop, 'to', result[prop]) 286 const result = await npmProfile.createToken( 290 if (!result.token) { 300 { token: result.token } 360 const result = await npmProfile.set({ tfa: [interactiveOTP] }, conf) 371 for (const tfaCode of result [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | ulocdata.cpp | 149 char16_t *result, int32_t resultLength, UErrorCode *status){ in ulocdata_getDelimiter() 196 u_strncpy(result,delimiter, resultLength); in ulocdata_getDelimiter() 239 int32_t result = ures_getInt(measurement, status); in ulocdata_getMeasurementSystem() local 241 system = static_cast<UMeasurementSystem>(result); in ulocdata_getMeasurementSystem() 286 char16_t *result, in ulocdata_getLocaleDisplayPattern() 332 u_strncpy(result, pattern, resultCapacity); in ulocdata_getLocaleDisplayPattern() 339 char16_t *result, in ulocdata_getLocaleSeparator() 397 u_strncpy(result, separator, len); in ulocdata_getLocaleSeparator() 398 result[len] = 0; in ulocdata_getLocaleSeparator() 403 u_strncpy(result, separato in ulocdata_getLocaleSeparator() 148 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, char16_t *result, int32_t resultLength, UErrorCode *status) ulocdata_getDelimiter() argument 285 ulocdata_getLocaleDisplayPattern(ULocaleData *uld, char16_t *result, int32_t resultCapacity, UErrorCode *status) ulocdata_getLocaleDisplayPattern() argument 338 ulocdata_getLocaleSeparator(ULocaleData *uld, char16_t *result, int32_t resultCapacity, UErrorCode *status) ulocdata_getLocaleSeparator() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | unum.h | 80 * UChar* result = NULL; 86 * result = NULL; 90 * result=(UChar*)malloc(sizeof(UChar) * resultlength); 91 * unum_format(nf, a[i], result, resultlength, &pos, &status); 93 * printf( " Example 2: %s\n", austrdup(result)); 94 * free(result); 483 * @param result A pointer to a buffer to receive the NULL-terminated formatted number. If 486 * doesn't fit into result then the error code is set to U_BUFFER_OVERFLOW_ERROR. 487 * @param resultLength The maximum size of result. 505 UChar* result, [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend_aos.c | 302 * @param mask optional mask to apply to the blending result 307 * @return the result of blending src and dst 330 LLVMValueRef result; in lp_build_blend_aos() local 364 result = lp_build_logicop(gallivm->builder, blend->logicop_func, in lp_build_blend_aos() 368 result = src; in lp_build_blend_aos() 371 result = src; in lp_build_blend_aos() 390 result = lp_build_blend(&bld.base, in lp_build_blend_aos() 416 result = lp_build_blend_swizzle(&bld, in lp_build_blend_aos() 417 result, in lp_build_blend_aos() 449 result in lp_build_blend_aos() [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | unum.h | 79 * UChar* result = NULL; 85 * result = NULL; 89 * result=(UChar*)malloc(sizeof(UChar) * resultlength); 90 * unum_format(nf, a[i], result, resultlength, &pos, &status); 92 * printf( " Example 2: %s\n", austrdup(result)); 93 * free(result); 302 * ROUND_UNNECESSARY reports an error if formatted result is not exact. 537 * @param result A pointer to a buffer to receive the NULL-terminated formatted number. If 540 * doesn't fit into result then the error code is set to U_BUFFER_OVERFLOW_ERROR. 541 * @param resultLength The maximum size of result [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | page-memory.cc | 158 auto result = set_.emplace(region->reserved_region().base(), region); in Add() local 159 USE(result); in Add() 160 DCHECK(result.second); in Add() 197 std::pair<NormalPageMemoryRegion*, Address> result = page_pool_.Take(bucket); in AllocateNormalPageMemory() local 198 if (!result.first) { in AllocateNormalPageMemory() 207 result = page_pool_.Take(bucket); in AllocateNormalPageMemory() 208 DCHECK(result.first); in AllocateNormalPageMemory() 210 result.first->Allocate(result.second); in AllocateNormalPageMemory() 211 return result in AllocateNormalPageMemory() [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | injected-script.h | 62 std::unique_ptr<protocol::Runtime::RemoteObject> result, 83 result, 100 std::unique_ptr<protocol::Runtime::RemoteObject>* result); 105 std::unique_ptr<protocol::Runtime::RemoteObject>* result); 109 std::unique_ptr<protocol::Runtime::RemoteObject>* result); 124 v8::Local<v8::Value>* result); 128 Maybe<protocol::Runtime::ExceptionDetails>* result); 132 Maybe<protocol::Runtime::ExceptionDetails>* result); 137 std::unique_ptr<protocol::Runtime::RemoteObject>* result, 140 void setLastEvaluationResult(v8::Local<v8::Value> result); [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_nir.h | 82 LLVMValueRef index, LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 89 LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 95 LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 109 LLVMValueRef *result); 115 LLVMValueRef index, LLVMValueRef offset, LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 126 LLVMValueRef *result); 139 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 149 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 177 LLVMValueRef result[NIR_MAX_VEC_COMPONENTS]); 194 LLVMValueRef result[NIR_MAX_VEC_COMPONENT [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiDescriptorPoolTests.cpp | 276 const VkResult result = vkd.allocateDescriptorSets(device, &descriptorSetAllocateInfo, &rawDescriptorSets[0]); in outOfPoolMemoryTest() local 278 if (result != VK_SUCCESS) in outOfPoolMemoryTest() 282 if (expectOutOfPoolMemoryError && result != VK_ERROR_OUT_OF_POOL_MEMORY) in outOfPoolMemoryTest() 283 return tcu::TestStatus::fail("Expected VK_ERROR_OUT_OF_POOL_MEMORY but got " + string(getResultName(result)) + " instead"); in outOfPoolMemoryTest() 336 VkResult result = vkd.allocateDescriptorSets(device, &descriptorSetAllocateInfo, &descriptorSet); in zeroPoolSizeCount() local 337 if (result != VK_SUCCESS) in zeroPoolSizeCount() 338 return tcu::TestStatus::fail("Expected vkAllocateDescriptorSets to return VK_SUCCESS but got " + string(getResultName(result)) + " instead"); in zeroPoolSizeCount() 341 result = vkd.freeDescriptorSets(device, *descriptorPool, 1, &descriptorSet); in zeroPoolSizeCount() 342 if (result != VK_SUCCESS) in zeroPoolSizeCount() 343 return tcu::TestStatus::fail("Expected vkFreeDescriptorSets to return VK_SUCCESS but got " + string(getResultName(result)) in zeroPoolSizeCount() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiDescriptorPoolTests.cpp | 276 const VkResult result = vkd.allocateDescriptorSets(device, &descriptorSetAllocateInfo, &rawDescriptorSets[0]); in outOfPoolMemoryTest() local 278 if (result != VK_SUCCESS) in outOfPoolMemoryTest() 282 if (expectOutOfPoolMemoryError && result != VK_ERROR_OUT_OF_POOL_MEMORY) in outOfPoolMemoryTest() 283 return tcu::TestStatus::fail("Expected VK_ERROR_OUT_OF_POOL_MEMORY but got " + string(getResultName(result)) + " instead"); in outOfPoolMemoryTest() 336 VkResult result = vkd.allocateDescriptorSets(device, &descriptorSetAllocateInfo, &descriptorSet); in zeroPoolSizeCount() local 337 if (result != VK_SUCCESS) in zeroPoolSizeCount() 338 return tcu::TestStatus::fail("Expected vkAllocateDescriptorSets to return VK_SUCCESS but got " + string(getResultName(result)) + " instead"); in zeroPoolSizeCount() 341 result = vkd.freeDescriptorSets(device, *descriptorPool, 1, &descriptorSet); in zeroPoolSizeCount() 342 if (result != VK_SUCCESS) in zeroPoolSizeCount() 343 return tcu::TestStatus::fail("Expected vkFreeDescriptorSets to return VK_SUCCESS but got " + string(getResultName(result)) in zeroPoolSizeCount() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderNonarrayInput.cpp | 181 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 384 unsigned char result[TEXTURE_WIDTH * TEXTURE_HEIGHT * 4 /*components */]; in iterate() local 395 /* Read back the result */ in iterate() 396 gl.readPixels(0 /* x */, 0 /* y */, TEXTURE_WIDTH, TEXTURE_HEIGHT, GL_RGBA, GL_UNSIGNED_BYTE, result); in iterate() 400 /* Verify the result data is correct */ in iterate() 403 if (result[n * 4 + 0] != 0 || result[n * 4 + 1] != 255 || result[n * 4 + 2] != 0 || in iterate() 404 result[n * 4 + 3] != 255) in iterate() 410 << "[" << result[ in iterate() [all...] |
/third_party/vk-gl-cts/execserver/ |
H A D | xsExecutionServer.cpp | 349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv); in receive() local 351 if (result == DE_SOCKETRESULT_SUCCESS) in receive() 357 else if (result == DE_SOCKETRESULT_CONNECTION_CLOSED) in receive() 362 else if (result == DE_SOCKETRESULT_WOULD_BLOCK) in receive() 364 else if (result == DE_SOCKETRESULT_CONNECTION_TERMINATED) in receive() 382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent); in send() local 384 if (result == DE_SOCKETRESULT_SUCCESS) in send() 390 else if (result == DE_SOCKETRESULT_CONNECTION_CLOSED) in send() 395 else if (result == DE_SOCKETRESULT_WOULD_BLOCK) in send() 397 else if (result in send() [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkMemory.cpp | 67 VkResult result = allocator->allocateBufferMemory(buffer, usage, propFlags, &memory); local 68 if (!gpu->checkVkResult(result)) { 204 VkResult result = allocator->allocateImageMemory(image, propFlags, &memory); local 205 if (!gpu->checkVkResult(result)) { 251 VkResult result = allocator->mapMemory(alloc.fBackendMemory, &mapPtr); local 252 if (!gpu->checkVkResult(result)) { 300 VkResult result = allocator->flushMemory(alloc.fBackendMemory, offset, size); local 301 gpu->checkVkResult(result); 315 VkResult result = allocator->invalidateMemory(alloc.fBackendMemory, offset, size); local 316 gpu->checkVkResult(result); [all...] |
/third_party/skia/src/core/ |
H A D | SkBitmapCache.cpp | 151 SkBitmap* result = (SkBitmap*)contextBitmap; in Finder() local 152 return rec->install(result); in Finder() 208 bool SkBitmapCache::Find(const SkBitmapCacheDesc& desc, SkBitmap* result) { in Find() argument 210 return SkResourceCache::Find(BitmapKey(desc), SkBitmapCache::Rec::Finder, result); in Find() 233 MipMapRec(const SkBitmapCacheDesc& desc, const SkMipmap* result) in MipMapRec() 235 , fMipMap(result) in MipMapRec() 274 const SkMipmap* result; in FindAndRef() local 276 if (!CHECK_LOCAL(localCache, find, Find, key, MipMapRec::Finder, &result)) { in FindAndRef() 277 result = nullptr; in FindAndRef() 279 return result; in FindAndRef() [all...] |
H A D | SkYUVAPixmaps.cpp | 132 bool result = fYUVAInfo == that.fYUVAInfo && in operator ==() local 135 SkASSERT(!result || fDataType == that.fDataType); in operator ==() 136 return result; in operator ==() 213 SkYUVAPixmaps result = Allocate(src.pixmapsInfo()); in MakeCopy() local 214 int n = result.numPlanes(); in MakeCopy() 219 const SkPixmap& d = result.plane(i); in MakeCopy() 227 return result; in MakeCopy() 292 auto result = fYUVAInfo.toYUVALocations(channelFlags); in toYUVALocations() local 294 SkASSERT(SkYUVAInfo::YUVALocation::AreValidLocations(result, &numPlanes)); in toYUVALocations() 296 return result; in toYUVALocations() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | ccp_test.cpp | 647 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 648 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1104 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 1105 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1158 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 1159 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1208 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 1209 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1297 ; On first evaluation, the result from FClamp will return 0.5. in TEST_F() 1299 ; that CCP is not keeping the first result in TEST_F() 1313 auto result = SinglePassRunAndMatch<CCPPass>(text, true); TEST_F() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | unum.h | 79 * UChar* result = NULL; 85 * result = NULL; 89 * result=(UChar*)malloc(sizeof(UChar) * resultlength); 90 * unum_format(nf, a[i], result, resultlength, &pos, &status); 92 * printf( " Example 2: %s\n", austrdup(result)); 93 * free(result); 302 * ROUND_UNNECESSARY reports an error if formatted result is not exact. 530 * @param result A pointer to a buffer to receive the NULL-terminated formatted number. If 533 * doesn't fit into result then the error code is set to U_BUFFER_OVERFLOW_ERROR. 534 * @param resultLength The maximum size of result [all...] |
/third_party/optimized-routines/string/aarch64/ |
H A D | strncmp-mte.S | 18 /* Parameters and result. */ 22 #define result x0 define 103 sub result, data1, data2, lsr #56 104 csel result, result, xzr, hi 126 the result directly. We can't just subtract the bytes as the 130 cset result, ne 131 cneg result, result, lo 152 sub result, data [all...] |
/third_party/protobuf/js/binary/ |
H A D | arith.js | 177 // 32-bit result, result bits 0-31, take all 32 bits 179 // 32-bit result, result bits 16-47, take bottom 16 as our top 16 181 // 32-bit result, result bits 16-47, take bottom 16 as our top 16 184 // 32-bit result, result bits 32-63, take all 32 bits 186 // 32-bit result, result bit [all...] |
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | FieldMaskUtilTest.java | 214 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion() 215 assertEquals("bar,foo", FieldMaskUtil.toString(result)); in testUnion() 223 FieldMask result = FieldMaskUtil.union(mask1, mask2, mask3, mask4); in testUnion_usingVarArgs() 224 assertEquals("bar,foo", FieldMaskUtil.toString(result)); in testUnion_usingVarArgs() 232 FieldMask result = FieldMaskUtil.subtract(mask1, mask2); in testSubstract() 233 assertEquals("foo", FieldMaskUtil.toString(result)); in testSubstract() 241 FieldMask result = FieldMaskUtil.subtract(mask1, mask2, mask3, mask4); in testSubstract_usingVarArgs() 242 assertEquals("bar", FieldMaskUtil.toString(result)); in testSubstract_usingVarArgs() 250 FieldMask result = FieldMaskUtil.intersection(mask1, mask2); in testIntersection() 251 assertEquals("bar.baz,bar.quz,foo.bar", FieldMaskUtil.toString(result)); in testIntersection() [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_replace_constant_with_uniform.cpp | 95 auto* result = in GetInsertBeforeInstruction() local 97 if (!result) { in GetInsertBeforeInstruction() 102 if (result->opcode() == spv::Op::OpPhi) { in GetInsertBeforeInstruction() 109 result->GetSingleWordInOperand( in GetInsertBeforeInstruction() 116 // can't store booleans (see the spec on OpTypeBool). Thus, |result| can't be in GetInsertBeforeInstruction() 118 assert(result->opcode() != spv::Op::OpBranchConditional && in GetInsertBeforeInstruction() 122 fuzzerutil::CanInsertOpcodeBeforeInstruction(spv::Op::OpLoad, result) && in GetInsertBeforeInstruction() 124 return result; in GetInsertBeforeInstruction() 134 "Fresh ids for access chain and load result cannot be the same."); in IsApplicable() 277 // usage refers instead to the result o in Apply() 294 protobufs::Transformation result; ToMessage() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
H A D | wpa_evp_key.c | 149 EVP_PKEY *result = EVP_PKEY_new();
in wrap_rsa() local 150 if (result != NULL && !EVP_PKEY_assign_RSA(result, rsa)) {
in wrap_rsa() 154 EVP_PKEY_free(result);
in wrap_rsa() 160 return result;
in wrap_rsa() 173 EVP_PKEY *result = EVP_PKEY_new();
in wrap_ec() local 174 if (result != NULL && !EVP_PKEY_assign_EC_KEY(result, public_ec)) {
in wrap_ec() 177 EVP_PKEY_free(result);
in wrap_ec() 184 return result;
in wrap_ec() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkRayTracingUtil.cpp | 54 VkResult result; member 330 VkAccelerationStructureGeometryDataKHR result; in makeVkAccelerationStructureGeometryDataKHR() local 332 deMemset(&result, 0, sizeof(result)); in makeVkAccelerationStructureGeometryDataKHR() 334 result.triangles = triangles; in makeVkAccelerationStructureGeometryDataKHR() 336 return result; in makeVkAccelerationStructureGeometryDataKHR() 341 VkAccelerationStructureGeometryDataKHR result; in makeVkAccelerationStructureGeometryDataKHR() local 343 deMemset(&result, 0, sizeof(result)); in makeVkAccelerationStructureGeometryDataKHR() 345 result in makeVkAccelerationStructureGeometryDataKHR() 352 VkAccelerationStructureGeometryDataKHR result; makeVkAccelerationStructureInstancesDataKHR() local 413 VkResult result = vk.deferredOperationJoinKHR(device, deferredOperation); finishDeferredOperation() local 634 deUint64 result = 0; getDeserializedSize() local 1318 VkResult result = vk.buildAccelerationStructuresKHR(device, deferredOperation, 1u, &accelerationStructureBuildGeometryInfoKHR, (const VkAccelerationStructureBuildRangeInfoKHR**)&accelerationStructureBuildRangeInfoKHRPtr); build() local 1366 VkResult result = vk.copyAccelerationStructureKHR(device, deferredOperation, ©AccelerationStructureInfo); copyFrom() local 1412 const VkResult result = vk.copyAccelerationStructureToMemoryKHR(device, deferredOperation, ©AccelerationStructureInfo); serialize() local 1450 const VkResult result = vk.copyMemoryToAccelerationStructureKHR(device, deferredOperation, ©AccelerationStructureInfo); deserialize() local [all...] |
/third_party/backends/backend/ |
H A D | mustek.c | 767 sense_handler (SANE_Int scsi_fd, SANE_Byte * result, void *arg) in sense_handler() argument 769 if (!result) in sense_handler() 776 result[0], scsi_fd); in sense_handler() 779 result[0], scsi_fd, *(SANE_Byte *) arg); in sense_handler() 780 switch (result[0]) in sense_handler() 786 if (result[1] & 0x80) in sense_handler() 794 if (result[2] & 0x02) in sense_handler() 802 if (result[1] & 0x10) in sense_handler() 811 result[0], scsi_fd); in sense_handler() 820 SANE_Byte result[INQ_LE in inquiry() local 906 SANE_Byte result[INQ_LEN]; attach() local 2117 SANE_Byte result[6]; get_calibration_size_pro() local 3040 SANE_Byte result[5]; line_distance() local 3220 SANE_Byte result[6]; get_image_status() local 3285 SANE_Byte result[48]; get_window() local [all...] |