Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 130) sorted by relevance

123456

/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Decp.c84 static void ecp_init (int unit);
159 ecp_init(unit) in ecp_init() argument
160 int unit; in ecp_init()
162 fsm *f = &ecp_fsm[unit];
164 f->unit = unit;
170 memset(&ecp_wantoptions[unit], 0, sizeof(ecp_options));
171 memset(&ecp_gotoptions[unit], 0, sizeof(ecp_options));
172 memset(&ecp_allowoptions[unit], 0, sizeof(ecp_options));
173 memset(&ecp_hisoptions[unit], 0, sizeof(ecp_options));
A Dauth.c556 void start_link(unit)
557 int unit;
1511 auth_reset(unit)
1512 int unit;
1559 int unit;
1685 null_login(unit)
1686 int unit;
1988 int unit;
2037 int unit;
2052 free(addresses[unit]);
[all …]
A Dmultilink.c73 static int owns_unit (TDB_DATA pid, int unit);
124 int unit, pppd_pid; in mp_join_bundle() local
209 unit = -1; in mp_join_bundle()
221 parse_num(rec.dptr, "IFNAME=ppp", &unit); in mp_join_bundle()
225 || !owns_unit(pid, unit)) in mp_join_bundle()
226 unit = -1; in mp_join_bundle()
232 if (unit >= 0) { in mp_join_bundle()
234 if (bundle_attach(unit)) { in mp_join_bundle()
431 owns_unit(key, unit) in owns_unit() argument
433 int unit;
[all …]
A Dipcp.c1955 if (ho->hisaddr != 0 && !auth_ip_addr(f->unit, ho->hisaddr)) { in ipcp_up()
1957 ipcp_close(f->unit, "Unauthorized remote IP address"); in ipcp_up()
1975 ipcp_clear_addrs(f->unit, wo->ouraddr, wo->hisaddr, in ipcp_up()
1996 ipcp_close(f->unit, "Interface configuration failed"); in ipcp_up()
2001 if (ipcp_wantoptions[f->unit].default_route) in ipcp_up()
2004 default_route_set[f->unit] = 1; in ipcp_up()
2008 if (ho->hisaddr != 0 && ipcp_wantoptions[f->unit].proxy_arp) in ipcp_up()
2010 proxy_arp_set[f->unit] = 1; in ipcp_up()
2049 ipcp_close(f->unit, "Interface configuration failed"); in ipcp_up()
2086 reset_link_stats(f->unit); in ipcp_up()
[all …]
A Dipv6cp.c1193 sif6comp(f->unit, ho->neg_vj);
1217 ipv6cp_close(f->unit, "Interface configuration failed");
1223 sifnpmode(f->unit, PPP_IPV6, NPMODE_PASS);
1280 update_link_stats(f->unit);
1287 sif6comp(f->unit, 0);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/dotzlib/
A Dreadme.txt20 The file DotZLib/UnitTests.cs contains unit tests for use with NUnit 2.1 or higher.
21 To include unit tests in the build, define nunit before building.
31 DotZLib/UnitTests.cs for instructions on how to include unit tests in the
39 nunit={true|false} to include or esclude unit tests (default=true).
47 will build a release mode version of the library without unit tests.
49 will build a debug version of the library with unit tests
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/delphi/
A Dreadme.txt5 This directory contains an update to the ZLib interface unit,
8 The original ZLib unit is Copyright (c) 1997,99 Borland Corp.,
11 we recommend the users to update their ZLib unit.
31 and linked to the ZLib unit.
37 Currently, the ZLib unit provides only a limited wrapper around
42 duplicated code, or not using the ZLib unit at all.
/AliOS-Things-master/components/freetype/src/gxvalid/
A Dgxvcommn.c503 FT_UShort unit; in gxv_LookupTable_fmt2_validate() local
517 for ( unit = 0, gid = 0; unit < nUnits; unit++ ) in gxv_LookupTable_fmt2_validate()
531 unit, lastGlyph, unit - 1 , gid )); in gxv_LookupTable_fmt2_validate()
539 unit, lastGlyph, firstGlyph )); in gxv_LookupTable_fmt2_validate()
570 FT_UShort unit; in gxv_LookupTable_fmt4_validate() local
589 for ( unit = 0, gid = 0; unit < nUnits; unit++ ) in gxv_LookupTable_fmt4_validate()
602 unit, lastGlyph, unit - 1 , gid )); in gxv_LookupTable_fmt4_validate()
610 unit, lastGlyph, firstGlyph )); in gxv_LookupTable_fmt4_validate()
670 FT_UShort unit; in gxv_LookupTable_fmt6_validate() local
687 for ( unit = 0, prev_glyph = 0; unit < nUnits; unit++ ) in gxv_LookupTable_fmt6_validate()
[all …]
/AliOS-Things-master/components/py_engine/engine/tools/
A Dtransymodem.py61 unit = countUnit
66 if((currentTic - tic) > unit):
67 cnt = unit
68 unit = countUnit + unit
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/pascal/
A Dreadme.txt19 zlibpas unit, this name is already taken by Borland's ZLib unit.
20 This is somehow unfortunate, because that unit is not a genuine
24 It would have been more appropriate for that unit to have a name
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Dgps.js287 function parseDist(num, unit) { argument
289 if (unit === 'M' || unit === '') {
292 throw new Error('Unknown unit: ' + unit);
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dfax2ps.c202 uint16 unit, compression; in printTIF() local
223 if (TIFFGetField(tif, TIFFTAG_RESOLUTIONUNIT, &unit) && in printTIF()
224 unit == RESUNIT_CENTIMETER) { in printTIF()
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_acc_gyro_qst_qmi8610.c462 void FisImu_applyAccelerometerOffset(float const *offset, enum FisImu_AccUnit unit) in FisImu_applyAccelerometerOffset() argument
464 const float conversionFactor = (unit == AccUnit_ms2) ? (1 / ONE_G) : 1; in FisImu_applyAccelerometerOffset()
469 void FisImu_applyGyroscopeOffset(float const *offset, enum FisImu_GyrUnit unit) in FisImu_applyGyroscopeOffset() argument
471 const float conversionFactor = (unit == GyrUnit_rads) ? 180 / M_PI : 1; in FisImu_applyGyroscopeOffset()
/AliOS-Things-master/components/sensor/drv/
A Ddrv_temp_humi_sensirion_sht30.c207 info->unit = dCelsius; in drv_temp_sensirion_sht30_ioctl()
275 info->unit = permillage; in drv_humi_sensirion_sht30_ioctl()
A Ddrv_temp_humi_sensirion_sht31.c207 info->unit = dCelsius; in drv_temp_sensirion_sht31_ioctl()
275 info->unit = permillage; in drv_humi_sensirion_sht31_ioctl()
A Ddrv_temp_humi_sensirion_shtc1.c273 info->unit = dCelsius; in drv_temp_sensirion_shtc1_ioctl()
343 info->unit = permillage; in drv_humi_sensirion_shtc1_ioctl()
A Ddrv_temp_humi_ams_ens210.c418 info->unit = dCelsius; in drv_temp_ams_ens210_ioctl()
487 info->unit = permillage; in drv_humi_ams_ens210_ioctl()
A Ddrv_mag_temp_memsic_mmc3680kj.c439 info->unit = mGauss; in drv_mag_memsic_mmc3680kj_ioctl()
574 info->unit = dCelsius; in drv_temp_memsic_mmc3680kj_ioctl()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/api/
A Dprf_types.h83 uint16_t unit; member
/AliOS-Things-master/components/jsoncpp/src/test_lib_json/
A DCMakeLists.txt32 # Run unit tests in post-build
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngset.c431 int unit, png_const_charp swidth, png_const_charp sheight) in png_set_sCAL_s() argument
443 if (unit != 1 && unit != 2) in png_set_sCAL_s()
454 info_ptr->scal_unit = (png_byte)unit; in png_set_sCAL_s()
497 png_set_sCAL(png_const_structrp png_ptr, png_inforp info_ptr, int unit, in png_set_sCAL() argument
520 png_set_sCAL_s(png_ptr, info_ptr, unit, swidth, sheight); in png_set_sCAL()
527 png_set_sCAL_fixed(png_const_structrp png_ptr, png_inforp info_ptr, int unit, in png_set_sCAL_fixed() argument
548 png_set_sCAL_s(png_ptr, info_ptr, unit, swidth, sheight); in png_set_sCAL_fixed()
A Dpngget.c922 int *unit, png_fixed_point *width, png_fixed_point *height) in png_get_sCAL_fixed() argument
927 *unit = info_ptr->scal_unit; in png_get_sCAL_fixed()
945 int *unit, double *width, double *height) in png_get_sCAL() argument
950 *unit = info_ptr->scal_unit; in png_get_sCAL()
961 int *unit, png_charpp width, png_charpp height) in png_get_sCAL_s() argument
966 *unit = info_ptr->scal_unit; in png_get_sCAL_s()
A Dpngtest.c1277 int unit; in test_one_file() local
1280 if (png_get_sCAL(read_ptr, read_info_ptr, &unit, &scal_width, in test_one_file()
1283 png_set_sCAL(write_ptr, write_info_ptr, unit, scal_width, scal_height); in test_one_file()
1289 int unit; in test_one_file() local
1292 if (png_get_sCAL_s(read_ptr, read_info_ptr, &unit, &scal_width, in test_one_file()
1295 png_set_sCAL_s(write_ptr, write_info_ptr, unit, scal_width, in test_one_file()
/AliOS-Things-master/components/jsoncpp/src/jsontestrunner/
A DCMakeLists.txt34 # Run unit tests in post-build
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/
A DCONTRIBUTING.md13 - We maintain a high percentage of code coverage in our unit tests. If you make

Completed in 53 milliseconds

123456