Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 1539) sorted by relevance

12345678910>>...62

/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool_main.cpp50 if (i_mfgCleanConfirmFlag->empty()) in doMfgClean()
65 return l_vpdToolObj.cleanSystemVpd(!i_syncBiosAttributesFlag->empty()); in doMfgClean()
87 if (!i_hardwareFlag->empty() && !std::filesystem::exists(i_vpdPath, l_ec)) in writeKeyword()
98 if (!i_keywordValueOption->empty() && i_keywordValue.empty()) in writeKeyword()
107 if (i_keywordValueOption->empty()) in writeKeyword()
118 i_keywordValue, !i_hardwareFlag->empty()); in writeKeyword()
138 if (!i_hardwareFlag->empty() && !std::filesystem::exists(i_vpdPath, l_ec)) in readKeyword()
153 bool l_isHardwareOperation = (!i_hardwareFlag->empty() ? true : false); in readKeyword()
183 if (!i_objectOption->empty() && i_vpdPath.empty()) in checkOptionValuePair()
189 if (!i_recordOption->empty() && in checkOptionValuePair()
[all …]
H A Dvpd_tool.cpp41 l_value && !l_value->empty()) in readKeyword()
47 if (i_fileToSave.empty()) in readKeyword()
101 if (!l_fruJson.empty()) in dumpObject()
142 if (!l_interfaceJsonObj.empty()) in populateInterfaceJson()
273 if (!l_typePropertyJson.empty()) in getFruProperties()
403 if (i_vpdPath.empty() || i_recordName.empty() || in writeKeyword()
404 i_keywordName.empty() || i_keywordValue.empty()) in writeKeyword()
519 if (!l_srcRecordName.empty() && !l_srcKeywordName.empty() && in cleanSystemVpd()
536 if (l_keywordValueToUpdate.empty()) in cleanSystemVpd()
601 if (io_parsedJsonObj.empty() || !io_parsedJsonObj.contains("source") || in fetchKeywordInfo()
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dbackup_restore.cpp27 if (m_backupAndRestoreCfgJsonObj.empty()) in BackupAndRestore()
49 if (m_backupAndRestoreCfgJsonObj.empty() || in backupAndRestore()
64 !l_srcVpdPath.empty() && std::filesystem::exists(l_srcVpdPath)) in backupAndRestore()
72 l_srcVpdPath.empty()) in backupAndRestore()
83 !l_dstVpdPath.empty() && std::filesystem::exists(l_dstVpdPath)) in backupAndRestore()
91 l_dstVpdPath.empty()) in backupAndRestore()
158 if (l_srcFruPath.empty() || l_dstFruPath.empty()) in backupAndRestoreIpzVpd()
169 if (l_srcInvPath.empty() || l_dstInvPath.empty()) in backupAndRestoreIpzVpd()
180 if (l_srcServiceName.empty() || l_dstServiceName.empty()) in backupAndRestoreIpzVpd()
199 if (l_srcRecordName.empty() || l_dstRecordName.empty() || in backupAndRestoreIpzVpd()
[all …]
H A Dworker.cpp32 if (!m_configJsonPath.empty()) in Worker()
66 if (m_parsedJson.empty()) in enableMuxChips()
68 // config JSON should not be empty at this point of execution. in enableMuxChips()
69 throw std::runtime_error("Config JSON is empty. Can't enable muxes"); in enableMuxChips()
101 if (m_parsedJson.empty()) in primeSystemBlueprint()
200 if (mboardPath.empty()) in isSystemVPDOnDBus()
212 if (objectMap.empty()) in isSystemVPDOnDBus()
221 if (parsedVpd.empty()) in getIMValue()
254 if (parsedVpd.empty()) in getHWVersion()
295 if (vpdFilePath.empty()) in fillVPDMap()
[all...]
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Djson_utility.hpp58 if (i_vpdFilePath.empty() || (i_sysCfgJsonObj.empty()) || in getVPDOffset()
92 * @return on success parsed JSON. On failure empty JSON object.
94 * Note: Caller has to handle it in case an empty JSON object is received.
100 if (pathToJson.empty()) in getParsedJson()
108 throw std::runtime_error("Incorrect file Path or empty file"); in getParsedJson()
138 * @return On success a valid path is returned, on failure an empty string is
141 * Note: Caller has to handle it in case an empty string is received.
149 if (i_vpdPath.empty()) in getInventoryObjPathFromJson()
151 throw std::runtime_error("Path parameter is empty in getInventoryObjPathFromJson()
[all...]
H A Ddbus_utility.hpp39 if (objectPath.empty()) in getObjectMap()
87 if (i_service.empty() || i_objectPath.empty() || i_interface.empty()) in getPropertyMap()
137 if (i_objectPath.empty()) in getObjectSubTree()
185 if (serviceName.empty() || objectPath.empty() || interface.empty() || in readDbusProperty()
186 property.empty()) in readDbusProperty()
233 if (serviceName.empty() || objectPath.empty() || interface.empty() || in writeDbusProperty()
234 property.empty()) in writeDbusProperty()
632 if (!l_listOfFunctionalPath || (*l_listOfFunctionalPath).empty()) in getImagePrefix()
669 if ((*l_imageExtendedVersion).empty() || in getImagePrefix()
697 if (i_invObjPath.empty()) in isInventoryPresent()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/musl/musl-nscd/
H A D0001-nsswitch.y-Replace-empty-bison-extension.patch4 Subject: [PATCH] nsswitch.y: Replace %empty bison extension
6 POSIX compliant yacc do not understand %empty therefore replace it with
7 /* empty */
25 - %empty {
26 + /* empty */ {
34 - %empty {
35 + /* empty */ {
43 - %empty {
44 + /* empty */ {
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/vsftpd/files/
H A Dchange-secure_chroot_dir.patch26 -2b) vsftpd needs the (empty) directory /usr/share/empty in the default
27 +2b) vsftpd needs the (empty) directory /var/run/vsftpd/empty in the default
30 -[root@localhost root]# mkdir /usr/share/empty/
31 -mkdir: cannot create directory `/usr/share/empty': File exists
32 +[root@localhost root]# mkdir /var/run/vsftpd/empty/
33 +mkdir: cannot create directory `/var/run/vsftpd/empty': File exists
45 - install_str_setting("/usr/share/empty", &tunable_secure_chroot_dir);
46 + install_str_setting("/var/run/vsftpd/empty", &tunable_secure_chroot_dir);
54 @@ -969,7 +969,7 @@ This option should be the name of a directory which is empty. Also, the
58 -Default: /usr/share/empty
[all …]
/openbmc/phosphor-power/test/
H A Dtemporary_subdirectory_tests.cpp33 EXPECT_FALSE(path.empty()); in TEST()
48 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST()
58 EXPECT_TRUE(subdirectory1.getPath().empty()); in TEST()
71 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST()
79 EXPECT_FALSE(subdirectory2.getPath().empty()); in TEST()
92 EXPECT_TRUE(subdirectory1.getPath().empty()); in TEST()
107 EXPECT_FALSE(subdirectory.getPath().empty()); in TEST()
125 EXPECT_FALSE(subdirectory1.getPath().empty()); in TEST()
133 EXPECT_FALSE(subdirectory2.getPath().empty()); in TEST()
229 EXPECT_FALSE(subdirectory.getPath().empty()); in TEST()
[all …]
H A Dtemporary_file_tests.cpp72 EXPECT_FALSE(path.empty()); in TEST()
88 EXPECT_FALSE(file1.getPath().empty()); in TEST()
98 EXPECT_TRUE(file1.getPath().empty()); in TEST()
111 EXPECT_FALSE(file1.getPath().empty()); in TEST()
119 EXPECT_FALSE(file2.getPath().empty()); in TEST()
132 EXPECT_TRUE(file1.getPath().empty()); in TEST()
146 EXPECT_FALSE(file.getPath().empty()); in TEST()
164 EXPECT_FALSE(file1.getPath().empty()); in TEST()
172 EXPECT_FALSE(file2.getPath().empty()); in TEST()
264 EXPECT_FALSE(file.getPath().empty()); in TEST()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp101 EXPECT_FALSE(path.empty()); in TEST_F()
116 EXPECT_FALSE(path.empty()); in TEST_F()
131 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
141 EXPECT_TRUE(tmpFile->getPath().empty()); in TEST_F()
155 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
162 EXPECT_FALSE(tmpFileNoData->getPath().empty()); in TEST_F()
175 EXPECT_TRUE(tmpFile->getPath().empty()); in TEST_F()
189 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
207 EXPECT_FALSE(tmpFile->getPath().empty()); in TEST_F()
214 EXPECT_FALSE(tmpFileNoData->getPath().empty()); in TEST_F()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D07850 _use_sample_img empty.bochs.bz2
55 _use_sample_img empty.bochs.bz2
61 _use_sample_img empty.bochs.bz2
67 _use_sample_img empty.bochs.bz2
71 _use_sample_img empty.bochs.bz2
77 _use_sample_img empty.bochs.bz2
83 _use_sample_img empty.bochs.bz2
H A D078.out8 qemu-io: can't open device TEST_DIR/empty.bochs: Catalog size is too large
11 qemu-io: can't open device TEST_DIR/empty.bochs: Catalog size is too large
14 qemu-io: can't open device TEST_DIR/empty.bochs: Catalog size is too small for this disk size
15 qemu-io: can't open device TEST_DIR/empty.bochs: Catalog size is too small for this disk size
18 qemu-io: can't open device TEST_DIR/empty.bochs: Extent size 2147483648 is too large
21 qemu-io: can't open device TEST_DIR/empty.bochs: Extent size must be at least 512
/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp177 if (!entityInterface.empty()) in parseThresholds()
225 static const Json empty{}; in initVirtualSensor() local
228 auto threshold = sensorConfig.value("Threshold", empty); in initVirtualSensor()
233 auto confDesc = sensorConfig.value("Desc", empty); in initVirtualSensor()
246 auto assocJson = sensorConfig.value("Associations", empty); in initVirtualSensor()
247 if (!assocJson.empty()) in initVirtualSensor()
250 if (!assocs.empty()) in initVirtualSensor()
278 auto params = sensorConfig.value("Params", empty); in initVirtualSensor()
281 const auto& consParams = params.value("ConstParam", empty); in initVirtualSensor()
282 if (!consParams.empty()) in initVirtualSensor()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/
H A D.yamllint17 min-spaces-inside-empty: 0
18 max-spaces-inside-empty: 0
22 min-spaces-inside-empty: 0
23 max-spaces-inside-empty: 0
32 empty-lines:
35 empty-values:
/openbmc/linux/drivers/power/supply/
H A Dapm_power.c121 union power_supply_propval empty; in do_calculate_time() local
176 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time()
178 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time()
179 empty.intval = 0; in do_calculate_time()
191 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time()
218 union power_supply_propval empty, full, cur; in calculate_capacity() local
263 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity()
265 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity()
266 empty.intval = 0; in calculate_capacity()
269 if (full.intval - empty.intval) in calculate_capacity()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/wic/
H A Dcorstone1000-flash-firmware.wks.in10 part --source empty --size 3k --offset 17k --part-name="reserved_1" --uuid B1F2FC8C-A7A3-4485-87CB-…
12 part --source empty --size 4k --align 4 --offset 20k --part-name="FWU-Metadata" --uuid 3FDFFEE1-322…
13 part --source empty --size 4k --align 4 --offset 24k --part-name="Bkup-FWU-Metadata" --uuid B306831…
15 part --source empty --size 4k --align 4 --offset 28k --part-name="private_metadata_replica_2" --uui…
16 part --source empty --size 4k --align 4 --offset 32k --part-name="private_metadata_replica_2" --uui…
32 part --source empty --size 144k --offset 16392k --align 4 --part-name="bl2_secondary" --uuid 3F0C49…
33 part --source empty --size 320k --align 4 --part-name="tfm_secondary" --uuid 009A6A12-64A6-4F0F-988…
34 part --source empty --size 2 --align 4 --part-name="FIP_B" --uuid 9424E370-7BC9-43BB-8C23-71EE645E1…
35 part --source empty --size 12 --align 4 --part-name="kernel_secondary" --uuid A2698A91-F9B1-4629-91…
38 part --source empty --size 3k --offset 32748k --part-name="reserved_2" --uuid CCB18569-C0BA-42E0-A4…
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dpython_hatchling.bbclass11 # delete nested, empty directories from the python site-packages path. Make
14 find ${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/* -depth -type d -empty -delete
15 find ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/* -depth -type d -empty -delete
19 find ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/* -depth -type d -empty -delete
22 # Define a default empty version of hatchling_rm_emptydirs to appease bitbake
/openbmc/linux/Documentation/networking/device_drivers/ethernet/toshiba/
H A Dspider_net.rst28 There are three primary states that a descriptor can be in: "empty",
29 "full" and "not-in-use". An "empty" or "ready" descriptor is ready
32 descriptor is neither empty or full; it is simply not ready. It may
37 buffers. These are all marked "empty", ready to receive data. This
40 buffers, processing them, and re-marking them empty.
48 and everything in front of it should be "empty". If the hardware
49 discovers that the current descr is not empty, it will signal an
59 The OS will then note that the current tail is "empty", and halt
67 then mark the descr as "empty", ready to receive data. Thus, when there
69 be "not-in-use", and everything behind it should be "empty". If no
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/bind/bind/
H A Dconf.patch40 diff -urN bind-9.3.1.orig/conf/db.empty bind-9.3.1/conf/db.empty
41 --- bind-9.3.1.orig/conf/db.empty 1970-01-01 01:00:00.000000000 +0100
42 +++ bind-9.3.1/conf/db.empty 2005-07-10 22:14:00.000000000 +0200
44 +; BIND reverse data file for empty rfc1918 zone
237 +zone "10.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
239 +zone "16.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
240 +zone "17.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
241 +zone "18.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
242 +zone "19.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
243 +zone "20.172.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
[all …]
/openbmc/phosphor-power/tools/power-utils/
H A Dmain.cpp57 if (!psuPathVersion.empty()) in main()
61 if (!psuPathModel.empty()) in main()
65 if (!versions.empty()) in main()
69 if (!updateArguments.empty()) in main()
90 return ret.empty() ? 1 : 0; in main()
/openbmc/linux/sound/sh/
H A Dsh_dac_audio.c45 int empty; member
69 chip->empty = 1; in dac_audio_reset()
108 chip->empty = 1; in snd_sh_dac_pcm_open()
149 chip->empty = 1; in snd_sh_dac_pcm_trigger()
170 if (chip->empty) { in snd_sh_dac_pcm_copy()
171 chip->empty = 0; in snd_sh_dac_pcm_copy()
188 if (chip->empty) { in snd_sh_dac_pcm_silence()
189 chip->empty = 0; in snd_sh_dac_pcm_silence()
269 if (!chip->empty) { in sh_dac_audio_timer()
284 chip->empty = 1; in sh_dac_audio_timer()
[all …]
/openbmc/phosphor-power/power-supply/
H A Dmain.cpp98 if (!records.empty()) in main()
112 if ((syncGPIOPath.empty() && !syncGPIONum.empty()) || in main()
113 (!syncGPIOPath.empty() && syncGPIONum.empty())) in main()
120 if (!syncGPIONum.empty()) in main()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dffdc_file_tests.cpp53 EXPECT_FALSE(file.getPath().empty()); in TEST()
65 EXPECT_FALSE(file.getPath().empty()); in TEST()
116 EXPECT_FALSE(file.getPath().empty()); in TEST()
157 EXPECT_FALSE(file.getPath().empty()); in TEST()
165 EXPECT_TRUE(file.getPath().empty()); in TEST()
175 EXPECT_FALSE(file.getPath().empty()); in TEST()
179 EXPECT_TRUE(file.getPath().empty()); in TEST()
183 EXPECT_TRUE(file.getPath().empty()); in TEST()
/openbmc/linux/fs/
H A Dbinfmt_elf_test.c6 struct elf_phdr empty[] = { in total_mapping_size_test() local
40 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 0), 0); in total_mapping_size_test()
42 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 1), 0); in total_mapping_size_test()
44 KUNIT_EXPECT_EQ(test, total_mapping_size(&empty[1], 1), 0); in total_mapping_size_test()
46 KUNIT_EXPECT_EQ(test, total_mapping_size(empty, 2), 0); in total_mapping_size_test()

12345678910>>...62