summaryrefslogtreecommitdiff
path: root/src/simple-scan.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 04:12:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 04:12:59 +0200
commitbfca57fb52ab7101f701560a2e6feb3a388ef5bf (patch)
treeea668fc507b13648e52caaa04e013e8f2356d501 /src/simple-scan.c
parentae99dce645e9bdde83f3e841b31e6bbba8262989 (diff)
Imported Upstream version 3.21.90upstream/3.21.90
Diffstat (limited to 'src/simple-scan.c')
-rw-r--r--src/simple-scan.c118
1 files changed, 59 insertions, 59 deletions
diff --git a/src/simple-scan.c b/src/simple-scan.c
index 1e0d4a4..93b9e2c 100644
--- a/src/simple-scan.c
+++ b/src/simple-scan.c
@@ -1,4 +1,4 @@
-/* simple-scan.c generated by valac 0.30.1, the Vala compiler
+/* simple-scan.c generated by valac 0.32.1, the Vala compiler
* generated from simple-scan.vala, do not modify */
/*
@@ -973,13 +973,13 @@ static void _g_free0_ (gpointer var) {
static gint g_ptr_array_get_length (GPtrArray* self) {
gint result;
guint _tmp0_ = 0U;
-#line 4452 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4807 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 4452 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4807 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = self->len;
-#line 4452 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4807 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) _tmp0_;
-#line 4452 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4807 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 985 "simple-scan.c"
}
@@ -987,11 +987,11 @@ static gint g_ptr_array_get_length (GPtrArray* self) {
static void g_ptr_array_set_length (GPtrArray* self, gint value) {
gint _tmp0_ = 0;
-#line 4453 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4808 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_if_fail (self != NULL);
-#line 4453 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4808 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = value;
-#line 4453 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 4808 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_ptr_array_set_size (self, _tmp0_);
#line 997 "simple-scan.c"
}
@@ -3022,37 +3022,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1197 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1197 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1197 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1197 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1198 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1198 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 3037 "simple-scan.c"
glong _tmp4_ = 0L;
-#line 1199 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1199 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1199 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3045 "simple-scan.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1201 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1201 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1201 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1201 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3057 "simple-scan.c"
}
@@ -3072,112 +3072,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1208 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1210 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1210 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 3081 "simple-scan.c"
glong _tmp2_ = 0L;
-#line 1210 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1210 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3087 "simple-scan.c"
} else {
-#line 1210 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 3091 "simple-scan.c"
}
-#line 1210 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 3095 "simple-scan.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1212 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1212 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1212 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1212 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 3107 "simple-scan.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1214 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1214 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1214 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 3117 "simple-scan.c"
}
-#line 1217 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1217 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 3123 "simple-scan.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1218 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1218 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1218 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1219 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1219 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 3137 "simple-scan.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1221 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1221 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1221 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 3147 "simple-scan.c"
}
-#line 1223 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1223 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 3153 "simple-scan.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1224 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1224 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1224 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 3162 "simple-scan.c"
}
-#line 1226 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1226 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1226 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1226 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1227 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1227 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1227 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1227 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1227 "/usr/share/vala-0.30/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3182 "simple-scan.c"
}