Home
last modified time | relevance | path

Searched refs:bom (Results 1 – 25 of 3261) sorted by relevance

12345678910>>...131

/dports/editors/mousepad/mousepad-0.5.8/mousepad/
H A Dmousepad-encoding.c217 switch (bom[0]) in mousepad_encoding_read_bom()
220 if (length >= 4 && (bom[1] == 0x2f && bom[2] == 0x76) && in mousepad_encoding_read_bom()
221 (bom[3] == 0x38 || bom[3] == 0x39 || bom[3] == 0x2b || bom[3] == 0x2f)) in mousepad_encoding_read_bom()
229 if (length >= 3 && bom[1] == 0xbb && bom[2] == 0xbf) in mousepad_encoding_read_bom()
245 if (length >= 4 && bom[1] == 0xfe && bom[2] == 0x00 && bom[3] == 0x00) in mousepad_encoding_read_bom()
258 if (length >= 4 && bom[1] == 0x00 && bom[2] == 0xfe && bom[3] == 0xff) in mousepad_encoding_read_bom()
279 guchar bom[4]; in mousepad_encoding_write_bom() local
288 bom[0] = 0xef; in mousepad_encoding_write_bom()
289 bom[1] = 0xbb; in mousepad_encoding_write_bom()
290 bom[2] = 0xbf; in mousepad_encoding_write_bom()
[all …]
/dports/math/vtk6/VTK-6.2.0/Utilities/KWSys/vtksys/
H A DFStream.cxx33 unsigned char bom[4]; in ReadBOM() local
34 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
40 if(bom[0] == 0xEF && bom[1] == 0xBB) in ReadBOM()
42 in.read(reinterpret_cast<char*>(bom+2), 1); in ReadBOM()
43 if(in.good() && bom[2] == 0xBF) in ReadBOM()
48 else if(bom[0] == 0xFE && bom[1] == 0xFF) in ReadBOM()
52 else if(bom[0] == 0x00 && bom[1] == 0x00) in ReadBOM()
54 in.read(reinterpret_cast<char*>(bom+2), 2); in ReadBOM()
55 if(in.good() && bom[2] == 0xFE && bom[3] == 0xFF) in ReadBOM()
60 else if(bom[0] == 0xFF && bom[1] == 0xFE) in ReadBOM()
[all …]
/dports/math/vtk9/VTK-9.1.0/Utilities/KWSys/vtksys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/KWSys/adios2sys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/KWSys/src/KWSys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/devel/cmake-gui/cmake-3.22.1/Source/kwsys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/math/vtk8/VTK-8.2.0/Utilities/KWSys/vtksys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/devel/cmake-doc/cmake-3.22.1/Source/kwsys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/devel/cmake/cmake-3.22.1/Source/kwsys/
H A DFStream.cxx21 unsigned char bom[4]; in ReadBOM() local
22 in.read(reinterpret_cast<char*>(bom), 2); in ReadBOM()
28 if (bom[0] == 0xEF && bom[1] == 0xBB) { in ReadBOM()
29 in.read(reinterpret_cast<char*>(bom + 2), 1); in ReadBOM()
30 if (in.good() && bom[2] == 0xBF) { in ReadBOM()
33 } else if (bom[0] == 0xFE && bom[1] == 0xFF) { in ReadBOM()
35 } else if (bom[0] == 0x00 && bom[1] == 0x00) { in ReadBOM()
36 in.read(reinterpret_cast<char*>(bom + 2), 2); in ReadBOM()
37 if (in.good() && bom[2] == 0xFE && bom[3] == 0xFF) { in ReadBOM()
40 } else if (bom[0] == 0xFF && bom[1] == 0xFE) { in ReadBOM()
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/google/cadvisor/Godeps/_workspace/src/github.com/Shopify/sarama/
H A Doffset_manager.go84 bom := om.boms[broker]
85 if bom == nil {
90 bom.refs++
92 return bom
99 bom.refs--
101 if bom.refs == 0 {
103 if om.boms[bom.broker] == bom {
403 return bom
415 bom.timer.Stop()
436 bom.abort(err)
[all …]
/dports/databases/tile38/tile38-1.12.0/vendor/github.com/Shopify/sarama/
H A Doffset_manager.go84 bom := om.boms[broker]
85 if bom == nil {
90 bom.refs++
92 return bom
99 bom.refs--
101 if bom.refs == 0 {
103 if om.boms[bom.broker] == bom {
420 return bom
432 bom.timer.Stop()
453 bom.abort(err)
[all …]
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/mrp/report/
H A Dmrp_report_bom_structure.py75 if bom:
79 if not bom.product_id:
104 product = bom.product_id or bom.product_tmpl_id.product_variant_id
111 …price = bom.product_tmpl_id.uom_id._compute_price(bom.product_tmpl_id.with_company(company).standa…
115 'bom': bom,
120 'code': bom and bom.display_name or '',
137 for line in bom.bom_line_ids:
156 'parent_id': bom.id,
187 if bom.operation_ids:
198 for line in bom.bom_line_ids:
[all …]
/dports/textproc/redisearch/RediSearch-2.2.5/src/dep/libnu/
H A Dutf16.c12 if (bom != 0) { in nu_utf16_read_bom()
14 bom->write_bom = nu_utf16le_write_bom; in nu_utf16_read_bom()
16 bom->read = nu_utf16le_read; in nu_utf16_read_bom()
17 bom->write = nu_utf16le_write; in nu_utf16_read_bom()
19 bom->revread = nu_utf16le_revread; in nu_utf16_read_bom()
22 bom->validread = nu_utf16le_validread; in nu_utf16_read_bom()
27 if (bom != 0) { in nu_utf16_read_bom()
29 bom->write_bom = nu_utf16be_write_bom; in nu_utf16_read_bom()
31 bom->read = nu_utf16be_read; in nu_utf16_read_bom()
32 bom->write = nu_utf16be_write; in nu_utf16_read_bom()
[all …]
H A Dutf32.c15 if (bom != 0) { in nu_utf32_read_bom()
17 bom->write_bom = nu_utf32le_write_bom; in nu_utf32_read_bom()
19 bom->read = nu_utf32le_read; in nu_utf32_read_bom()
20 bom->write = nu_utf32le_write; in nu_utf32_read_bom()
22 bom->revread = nu_utf32le_revread; in nu_utf32_read_bom()
25 bom->validread = nu_utf32le_validread; in nu_utf32_read_bom()
30 if (bom != 0) { in nu_utf32_read_bom()
32 bom->write_bom = nu_utf32be_write_bom; in nu_utf32_read_bom()
34 bom->read = nu_utf32be_read; in nu_utf32_read_bom()
35 bom->write = nu_utf32be_write; in nu_utf32_read_bom()
[all …]
/dports/textproc/redisearch20/RediSearch-2.0.15/src/dep/libnu/
H A Dutf16.c12 if (bom != 0) { in nu_utf16_read_bom()
14 bom->write_bom = nu_utf16le_write_bom; in nu_utf16_read_bom()
16 bom->read = nu_utf16le_read; in nu_utf16_read_bom()
17 bom->write = nu_utf16le_write; in nu_utf16_read_bom()
19 bom->revread = nu_utf16le_revread; in nu_utf16_read_bom()
22 bom->validread = nu_utf16le_validread; in nu_utf16_read_bom()
27 if (bom != 0) { in nu_utf16_read_bom()
29 bom->write_bom = nu_utf16be_write_bom; in nu_utf16_read_bom()
31 bom->read = nu_utf16be_read; in nu_utf16_read_bom()
32 bom->write = nu_utf16be_write; in nu_utf16_read_bom()
[all …]
H A Dutf32.c15 if (bom != 0) { in nu_utf32_read_bom()
17 bom->write_bom = nu_utf32le_write_bom; in nu_utf32_read_bom()
19 bom->read = nu_utf32le_read; in nu_utf32_read_bom()
20 bom->write = nu_utf32le_write; in nu_utf32_read_bom()
22 bom->revread = nu_utf32le_revread; in nu_utf32_read_bom()
25 bom->validread = nu_utf32le_validread; in nu_utf32_read_bom()
30 if (bom != 0) { in nu_utf32_read_bom()
32 bom->write_bom = nu_utf32be_write_bom; in nu_utf32_read_bom()
34 bom->read = nu_utf32be_read; in nu_utf32_read_bom()
35 bom->write = nu_utf32be_write; in nu_utf32_read_bom()
[all …]
/dports/textproc/redisearch16/RediSearch-1.6.16/src/dep/libnu/
H A Dutf16.c12 if (bom != 0) { in nu_utf16_read_bom()
14 bom->write_bom = nu_utf16le_write_bom; in nu_utf16_read_bom()
16 bom->read = nu_utf16le_read; in nu_utf16_read_bom()
17 bom->write = nu_utf16le_write; in nu_utf16_read_bom()
19 bom->revread = nu_utf16le_revread; in nu_utf16_read_bom()
22 bom->validread = nu_utf16le_validread; in nu_utf16_read_bom()
27 if (bom != 0) { in nu_utf16_read_bom()
29 bom->write_bom = nu_utf16be_write_bom; in nu_utf16_read_bom()
31 bom->read = nu_utf16be_read; in nu_utf16_read_bom()
32 bom->write = nu_utf16be_write; in nu_utf16_read_bom()
[all …]
H A Dutf32.c15 if (bom != 0) { in nu_utf32_read_bom()
17 bom->write_bom = nu_utf32le_write_bom; in nu_utf32_read_bom()
19 bom->read = nu_utf32le_read; in nu_utf32_read_bom()
20 bom->write = nu_utf32le_write; in nu_utf32_read_bom()
22 bom->revread = nu_utf32le_revread; in nu_utf32_read_bom()
25 bom->validread = nu_utf32le_validread; in nu_utf32_read_bom()
30 if (bom != 0) { in nu_utf32_read_bom()
32 bom->write_bom = nu_utf32be_write_bom; in nu_utf32_read_bom()
34 bom->read = nu_utf32be_read; in nu_utf32_read_bom()
35 bom->write = nu_utf32be_write; in nu_utf32_read_bom()
[all …]
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/bom/class/
H A Dapi_boms.class.php42 public $bom; variable in Boms
51 $this->bom = new BOM($this->db);
67 if (!DolibarrApiAccess::$user->rights->bom->read) {
71 $result = $this->bom->fetch($id);
80 return $this->_cleanObjectDatas($this->bom);
204 $this->bom->$field = $value;
207 …estException(500, "Error creating BOM", array_merge(array($this->bom->error), $this->bom->errors));
209 return $this->bom->id;
226 $result = $this->bom->fetch($id);
239 $this->bom->$field = $value;
[all …]
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/bom/class/
H A Dapi_boms.class.php42 public $bom; variable in Boms
51 $this->bom = new BOM($this->db);
67 if (!DolibarrApiAccess::$user->rights->bom->read) {
71 $result = $this->bom->fetch($id);
80 return $this->_cleanObjectDatas($this->bom);
191 $this->bom->$field = $value;
194 …estException(500, "Error creating BOM", array_merge(array($this->bom->error), $this->bom->errors));
196 return $this->bom->id;
213 $result = $this->bom->fetch($id);
224 $this->bom->$field = $value;
[all …]
/dports/lang/rhino/rhino1_7R4/testsrc/doctests/
H A Dwhitespace.doctest7 js> var bom = String.fromCharCode(0xFEFF);
8 js> eval(bom);
9 js> var _ = eval("(function(){return"+bom+"1;})");
11 > eval("i"+bom+"f (false);");
14 js> parseInt(bom+"1")
16 js> parseFloat(bom+"1.5");
18 js> (bom+"abc"+bom).trim().length
20 js> /\s/.test(bom)
22 js> (bom+"1"+bom) * 1
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/reftests/css-charset/
H A Dreftest-stylo.list6 == test-charset-utf-16-le-no-bom.html test-charset-utf-16-le-no-bom.html
7 == test-charset-utf-16-le-bom.html test-charset-utf-16-le-bom.html
8 == test-charset-utf-16-bom-le.html test-charset-utf-16-bom-le.html
9 == test-charset-utf-16-be-no-bom.html test-charset-utf-16-be-no-bom.html
10 == test-charset-utf-16-be-bom.html test-charset-utf-16-be-bom.html
11 == test-charset-utf-16-bom-be.html test-charset-utf-16-bom-be.html
/dports/www/mod_auth_openid/mod_auth_openid-0.8/src/
H A Dtypes.h48 modauthopenid_message_t(params_t& _bom) { bom = _bom; }; in modauthopenid_message_t()
49 bool has_field(const string& n) const { return bom.has_param("openid."+n); }; in has_field()
50 const string& get_field(const string& n) const { return bom.get_param("openid."+n); }; in get_field()
51 bool has_ns(const string& uri) const { return bom.has_ns(uri); }; in has_ns()
52 string get_ns(const string& uri) const { return bom.get_ns(uri); }; in get_ns()
53 fields_iterator fields_begin() const { return bom.fields_begin(); }; in fields_begin()
54 fields_iterator fields_end() const { return bom.fields_end(); }; in fields_end()
55 void reset_fields() { bom.reset_fields(); }; in reset_fields()
56 void set_field(const string& n,const string& v) { bom.set_field(n, v); }; in set_field()
57 void reset_field(const string& n) { bom.reset_field(n); }; in reset_field()
[all …]
/dports/textproc/kibana7/kibana-7.16.2-darwin-x86_64/node_modules/strip-bom/
H A Dreadme.md1 # strip-bom [![Build Status](https://travis-ci.org/sindresorhus/strip-bom.svg?branch=master)](https…
13 …ription/pkg/npm-strip-bom?utm_source=npm-strip-bom&utm_medium=referral&utm_campaign=readme">Get pr…
26 $ npm install strip-bom
33 const stripBom = require('strip-bom');
47 - [strip-bom-cli](https://github.com/sindresorhus/strip-bom-cli) - CLI for this module
48 - [strip-bom-buf](https://github.com/sindresorhus/strip-bom-buf) - Buffer version of this module
49 - [strip-bom-stream](https://github.com/sindresorhus/strip-bom-stream) - Stream version of this mod…
/dports/textproc/opensearch-dashboards/opensearch-dashboards-1.2.0-linux-x64/node_modules/strip-bom/
H A Dreadme.md1 # strip-bom [![Build Status](https://travis-ci.org/sindresorhus/strip-bom.svg?branch=master)](https…
13 …ription/pkg/npm-strip-bom?utm_source=npm-strip-bom&utm_medium=referral&utm_campaign=readme">Get pr…
26 $ npm install strip-bom
33 const stripBom = require('strip-bom');
47 - [strip-bom-cli](https://github.com/sindresorhus/strip-bom-cli) - CLI for this module
48 - [strip-bom-buf](https://github.com/sindresorhus/strip-bom-buf) - Buffer version of this module
49 - [strip-bom-stream](https://github.com/sindresorhus/strip-bom-stream) - Stream version of this mod…

12345678910>>...131